pyvista / tetgen

A Python interface to the C++ TetGen library to generate tetrahedral meshes of any 3D polyhedral domains
http://tetgen.pyvista.org
Other
228 stars 33 forks source link

Hope suggestion about how to build mesh from tetgen result #46

Open zhang-qiang-github opened 1 year ago

zhang-qiang-github commented 1 year ago

I want to implement compute dynamic simulation (CFD) simulation.

A tube is used to simulate vessel, and it looks like:

image

I hope the wall should be red color part, and inlet/outlet should be yellow color part:

image

Then, tetrahedron is generated from this mesh.

image

My question is: how to build inlet/outlet/wall from the geneated tetrahedron? Any suggestion is appreciated~~~