Meshing Errors

I am having issues in meshing this, I tried almost everything possible, cleaned up the geometry as much as I could, but still have problems in meshing the body. Could someone please tell me what more should I change so that the body doesn’t throw meshing errors?

I am trying to simulate how the pressure affects the interior of the manifold, it will be an equally distributed pressure on the inner faces of the manifold with the bottom and the side faces constrained.

Link (cleaned version of CAD) -

Link (uncleaned version of CAD)-

I looked for the surfaces that could not be meshed and look what I found, an internal surface in a single body (see the pink line in the image). It should not be like that. You have a problem with your CAD, perhaps gaps between the parts? Upload it and I can take a look. You may want to also simplify the part otherwise it will require a very detailed mesh. For example, the 4 very small ports seem totally unnecessary for this study.

1 Like

I am not able to upload the CAD file here, where do I upload it?

I tried removing the pink lines you pointed out, but I was not able to figure out how to remove it. It is something very small. I will get rid of those 4 ports and upload the CAD.

Oh I see it is images only that can be uploaded. How about setup a free dropbox account (if you don’t already have one) and share a download link with us. I believe you can do the same with google drive as well.

Edit: Whilst it’s good that you are removing the 4 small ports, it will only make your model less resource heavy. It’s not going to fix your problem.

1 Like

Cleaned version - manifold_cleaned.SLDPRT - Google Drive

Uncleaned version - manifold_uncleaned.SLDPRT - Google Drive

Both files are solidworks 2019 files

Hi @tbagi!

Have you tried it with the New Mesh Preview already?



Hi! No I haven’t. What is that exactly?

I can’t open it. Can you send a STEP file please

Links for the STEP file -

uncleaned - manifold_uncleaned.STEP - Google Drive

cleaned - manifold_cleaned.STEP - Google Drive

Although the problem planes show us, I can not see any visible issue. How did you make the main cylinder. Was it in a single step using the revolve function?

I made the main cylinder by drawing a circle in the center and then extruding it both ways.

You’ve got some really weird things going on in that manifold.

Each bent port tube seems to be 3 surfaces instead of 2.

Your 4 port flange also has some weird internal surfaces.

I see over 100 unjoined edges.

You need to get this down to one watertight solid, either a solid 3D part that you can extract a fluid volume from or a single surface watertight solid that you can do an internal mesh on.


And then you pieced the rest together? Try making the entire main part including the closed end and flange in a singe revolve. Make the CAD part in the simplest way.

1 Like

When I first looked at your project you have chosen the solid mechanics module, now that Dale speaks about it you should definitely make sure not to use multi-layered geometry and close every inlet and outlet face to make sure it is watertight (as mentioned by Dale already) and then just choose the according flow type simulation.



1 Like

I do not intent to do a CFD analysis of the flow. I am simulating an evenly distributed pressure on the interior of the manifold. Do I still need a watertight geometry for this type of simulation?

Ah, I did not see that it was a static simulation, I just assumed it was for flow analysis, dah.

I any case all my CAD comments should still be valid except for making a ‘single surface watertight solid that you can do an internal mesh on’, which is valid only for flow analysis and of course you would not need to do the extraction of a fluid volume unless you want flow analysis…

1 Like

So I recreated my CAD using revolve, I just made the cylinder first and it worked!
Link -

But when I attached the 4 tubes to it, it is again throwing meshing errors and not even pointing out where it is going wrong.
link (project) -

link (CAD) - Manifold3_0.STEP - Google Drive

I can not look at your .sldprt CAD file in my version of Rhino5.

What I can say is that your CAD program lets you do some really weird things and still end up with 1 solid watertight part.

I see you got rid of the extra surface in the 4 tubes, but you have strange pointed cutouts in the tube surfaces where it joins the 4 port flange.

And you still have all those weird internal surfaces in your 4 port flange, as you can see in this SimScale wireframe view…

1 Like