CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Mesh Utilities (
-   -   polyDualMesh edges between patches (

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 <> 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 06:38.