Problem with sweep mesh on a spring

Hello everyone, i have a problem using sweep mesh for a spring geometry. I used all the possibility of the function but every time, mesh became strange on the spring. Do you have any idea why ? I join you a picture of the initial geometry and the result of the mesh !

Summary

This text will be hidden

1 Like

I had similar issues when meshing springs (especially conical ones) for this tutorial: https://youtu.be/uTRd83hlkB4?is=MvYd_-11xhuwkHMi

Do you have the Split periodic faces setting enabled ? What is the source of this geometry ? I was using springs generated in FreeCAD. The results may depend on the fave division and the presence of seam edges. You may have to play with the different settings, including algorithms and element sizes too.

And you could try the transfinite algorithm too, but you would need to partition the spring’s volume in such a way that all subvolumes have 5 or 6 faces with 3 or 4 edges each: #prepomax #mesh #gmsh #finiteelementanalysis #analysis #simulations | Matej Borovinšek | 22 comments

1 Like

1 Like

If the resulting mesh is distorted on the side surfaces of the sweep mesh, it means the parameterisation of those surfaces is not orthogonal. To help Gmsh improve the side surface mesh, you can split it into multiple segments. Create multiple surface splits at orthogonal cross-sections. For the sweep-mesh algorithm to work, you should split all side surfaces at a single cross-section. The easiest would be to split the spring using two orthogonal planes with a common intersection line along the spring axis.

1 Like

another possible reason is specific of quadratic hexahedral element generation and sweep algorithm required to activated mesh optimization. Previously shown, this can eliminate uneven distribution along path extrusion.

Transfinite algorithm may also have similar issues:

Adding even one perpendicular cutting plane helps:

1 Like

Yes, the same algorithm is used for transfinite volume meshing and transfinite surface meshing used in the sweep mesh algorithm.

Thanks ! How do you made them one body ? Have you a method to apply the sweep to all your body ? Every color is a body in your model right ?

They are already a single body - a compound. They have different colors because they were imported as separate parts, but compounding in PrePoMax merges the geometries and ensures a continuous mesh.

1 Like

Thanks all for your help ! I remake my 3D model with NX Siemens to answer your question @FEAnalyst ! And i use as you say transfinite mesh !

4 Likes

Thanks for the contribution and the share @Nemo it’s wonderfull.

1 Like