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 edges between patches (https://www.cfd-online.com/Forums/openfoam-meshing/102090-polydualmesh-edges-between-patches.html)

maninthemail May 22, 2012 06:11

polyDualMesh edges between patches
 
1 Attachment(s)
I am trying to convert from a tetrahedral to a polyhedral mesh using the polyDualMesh utility. I cannot get cells on edges between patches to form correctly.

This post <http://www.cfd-online.com/Forums/openfoam-meshing-technical/61911-polyhedral-mesh-generation-2.html#post180946> is what the mesh should look like. The attached image is what my mesh looks like. Note that the cells on along the edges of the cubes have not been combined.

The original tet mesh was made in icem, using the delaunay meshing tool. It was converted to openfoam using fluent3DMeshToFoam, and the cellZone, faceZone, etc... files were deleted (necessary so that polyDualMesh doesn't treat all faces as boundaries). The command "polyDualMesh 60" was then used to get the mesh shown. Other feature angles do not solve the problem (I've tried quite a range). Is there something I'm missing?

maninthemail May 22, 2012 13:15

Never mind, I figured it. Running "combinePatchFaces 60" (or whatever feature angle) afterwards seems to sort the edges out.


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