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 !
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.
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.
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.
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.