CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] polyDualMesh, create a tetrahedral mesh from a polyhedral mesh (https://www.cfd-online.com/Forums/openfoam-meshing/97662-polydualmesh-create-tetrahedral-mesh-polyhedral-mesh.html)

Martin80 February 22, 2012 05:04

polyDualMesh, create a tetrahedral mesh from a polyhedral mesh
 
Hi,

I am using polyDualMesh and finally I get a polyhedral Mesh, but I need a tetrahedral Mesh.

Is there a posibility in OpenFoam
to create a tetrahedral Mesh by using polyDualMesh
or
is there a way to create a tetrahedral Mesh from a polyhedral Mesh?

Thanks for any hint,
M.

olivierG February 22, 2012 09:02

hello,
You can't create a tetrahedral Mesh from a polyhedral Mesh, since it does exactly the opposite. And if you run polyDualMesh twice, you get the dual of the polymesh, which is again a polyhedral mesh.

If you want a thetrahedral mesh, look at netgen (with salome) / gmsh / engrid /...

regards,
olivier

Martin80 February 22, 2012 09:28

Hi,

thanks for your quick answer, but I don't agree, that it is not possible to create a tetrahedral grid from a polyhedral grid.
It is always possible to split a polyhedron into a set of tetrahedrons.

(The reason why I'm using polyDualMesh is because the cell centres should become my new grid points for some reason.)

I have found in openfoam-1.6-ext the application "tetDecomposition", but this application adds additional points.

B.r. Martin.

Hanzo January 28, 2013 23:36

Hello Martin,

did you find a way to convert your polyhedral mesh into a tetrahedral mesh? Please let me know :)

Best,
Hanzo

wyldckat January 30, 2013 16:52

Greetings to all!

@Hanzo - I think the solution he probably used was this:
Quote:

Originally Posted by Martin80 (Post 345748)
I have found in openfoam-1.6-ext the application "tetDecomposition", but this application adds additional points.

Namely this one: https://github.com/ogoe/OpenFOAM-1.6...tDecomposition

The need for adding new points should be rather simple: without new points, the boundaries are not preserved, if the cell centers are used as vertexes for the tetrahedral mesh.

Best regards,
Bruno

Hanzo January 30, 2013 22:07

Quote:

Originally Posted by wyldckat (Post 405163)
Greetings to all!

@Hanzo - I think the solution he probably used was this:

Namely this one: https://github.com/ogoe/OpenFOAM-1.6...tDecomposition

Thanks a lot Bruno. Works nice.


All times are GMT -4. The time now is 00:23.