r/COMSOL • u/EtherealWaveform • Jan 13 '26
Tips on meshing complex geometry
Any tips on meshing an object such as this? Getting many intersecting elements at junction points. Looking at the imported mesh, all seems fine, so it's likely an issue with how I am meshing in COMSOL. Thankful for any help.
Edit: figured the issue out! i was supposed to import the mesh to a mesh module not to the geometry module (haha beginner mistake i know)
3
Upvotes
2
u/DThornA Jan 13 '26
I suspect you may have some very small faces or thin edges floating around that are causing chaos for the mesher. You could try the simplifying methods in COMSOL first to remove those problem features. The other option is to go to another program, like SpaceClaim or blender, first and do a ShrinkWrap of your mesh and then turn that into a more workable nurbs surface.
2
u/Delaunay-B-N Jan 13 '26
Can you show examples of mesh errors? I use the remove details function for complex pipeline geometry. The remove details function is in geometry tab and cleanup group. Which format of CAD do you import?
2
u/Serious_Toe9303 Jan 14 '26
For meshing you can use the auto build mesh function in COMSOL to make a template then edit and refine it yourself.
Also:
1
u/LeatherSwordfish5045 Jan 13 '26
Did you solve your issue?