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 not working properly (https://www.cfd-online.com/Forums/openfoam-meshing/188603-polydualmesh-not-working-properly.html)

Tobi June 2, 2017 17:58

PolyDualMesh not working properly
 
Hey everybody,

I try to convert a tetraeder mesh (Salome - Netgen 3D/2D) into a polygon mesh using the utility polyDualMesh. The application runs nice but checkMesh gives errors. Does anybody know if it is working with all tetreader meshes? I also found this thread: https://www.cfd-online.com/Forums/op...h-utility.html and the corresponding foam wiki page but both were not helpful.


Some feedback would be nice.

hjasak June 3, 2017 05:17

Hi Tobi,

The converter will work only if your tet mesh is Delauney. Do you have a way to check that? (I know, I wrote the utility),

Hrv

Tobi June 3, 2017 06:41

Hi Hrv,

what a pleasure to get feedback from you. Thank you for your reply. The mesh was generated using Salome Meca (NETGEN 3D/2D). I will check if there is a possibility to check if the tetmesh is Delauney or even check out other algorithms that come with Salome.

Thank you in advance.

Tobi June 3, 2017 09:44

Hi Hrv,

you were right. I changed the parameters in Salome and got the result that I wanted to have now :) - for those who are interested, you have to use NETGEN 3D-2D-1D in the 3D setup mask.

Now everything is fine. Thanks again.

philippose June 3, 2017 16:59

Hello Tobi, Hrv,
A good evening to both of you :-)

Just for some additional info, yes, meshes generated by Netgen are Delaunay meshes with pure tet elements.

Since the mesh was created from within Salome, there might have been a setting which somehow violated this, but if you were to create the mesh using the original Netgen code/api/gui, you would get a Delaunay mesh.

Wish you a good evening ahead.

Regards,
Philippose

kagen816 April 26, 2019 17:11

Quote:

Originally Posted by Tobi (Post 651418)
Hey everybody,

I try to convert a tetraeder mesh (Salome - Netgen 3D/2D) into a polygon mesh using the utility polyDualMesh. The application runs nice but checkMesh gives errors. Does anybody know if it is working with all tetreader meshes? I also found this thread: https://www.cfd-online.com/Forums/op...h-utility.html and the corresponding foam wiki page but both were not helpful.


Some feedback would be nice.

Hi Tobi,

I am working on the polygon mesh by polyDualMesh recently, I want to convert the tetrahedral mesh in the hybrid mesh into polyhedral one, but after converting the mesh I run the checkMesh, and find the number of cells becomes more than 4 times . I just wander is there something wrong with the converting? Since the polygon mesh should be less than tetrahedral mesh.
Thank you!


All times are GMT -4. The time now is 19:29.