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] octree polyhedral cells - give checkMesh errors (https://www.cfd-online.com/Forums/openfoam-meshing/242559-octree-polyhedral-cells-give-checkmesh-errors.html)

ufocfd April 27, 2022 13:18

octree polyhedral cells - give checkMesh errors
 
I keep getting - "Faces not in upper triangular order" when running checkMesh on my mesh in 'foam' format. The octree mesh is being written into foam format from fortran. I have addressed the face ordering to so that the neighbour cells are in order. But it still doesnt like something about the 4 faces on one side of the transition cells. Running renumberMesh seems to fix the problem, so it must be something else that needs fixing.

https://twitter.com/garcfd/status/15...WnSnTEM00Io9xg

ufocfd April 28, 2022 07:02

octree polyhedral - upperTriangularFace
 
OK - so the problem with the upperTriangularFace error is actually not anything to do with the faces not being in upper triangular order !!!

I used renumberMesh.exe, to fix the problem, and then looked at the difference between my original faulty mesh and the new renumbered mesh.

The problem seems to be that the smaller red face belongs to the smaller cell. If you switch the ownership of the red face to the larger polyhedral cell (and switch the face neighbour too), then the checkMesh works fine. The node ordering of the red face also has to be reversed, to keep the clockwise convention for the new face owner.

https://twitter.com/garcfd/status/15...oWtWq1ZKf29xRQ

ufocfd April 28, 2022 07:03

answering my own posts again (as usual on here) LOL


All times are GMT -4. The time now is 06:56.