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/)
-   -   [Gmsh] Exporting dual mesh from GMSH (https://www.cfd-online.com/Forums/openfoam-meshing/164960-exporting-dual-mesh-gmsh.html)

dimitri.tratkanov January 6, 2016 09:33

Exporting dual mesh from GMSH
 
Hi,

With the help of gmsh I can calculate and visualize the dual mesh thanks to Mesh.Dual option (barycentric algorithm).

I need to know if it is possible to export the dual mesh from GMSH in .mesh file format ?

Dimitri

gridley2 April 2, 2019 16:05

Hi,


I'm interested as well since it looks like the dual mesh can sometimes be a good polyhedral mesh. Unfortunately it looks like the dual mesh often has a few concave cells, which would be problematic for CFD. So maybe exporting a tet mesh first, then recombining in OpenFOAM to a polyhedral mesh would be the best option here, using polyDualMesh. I imagine this tool would not merge cells which are due to become concave.


All times are GMT -4. The time now is 10:28.