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/)
-   -   [blockMesh] OpenFOAM v5 --> foam-extend 3.2 (https://www.cfd-online.com/Forums/openfoam-meshing/227736-openfoam-v5-foam-extend-3-2-a.html)

nskelly June 8, 2020 10:52

OpenFOAM v5 --> foam-extend 3.2
 
Hi,

I have created a mesh using blockmesh on OF v5 and performed some simulations fine with it.

I am now using foam-extend 3.2 to run some different simulations with the same mesh. When I want to build the mesh I receive face ordering errors, which did not happen when using OF v5.

Has anyone else experienced this problem?

If I just copy over the polymesh directory from the OF v5 case to the foam-extend 3.2 case, I get problems with cyclic boundary conditions when trying run the simulation. Again, no problems when using OF v5.

The error I receive about cyclic boundary conditions is below:

Code:

face 82249 area does not match neighbour 164499 by 35.2941% -- possible face ordering problem.
patch:front my area:3.71429e-08 neighbour area:5.30612e-08 matching tolerance:0.001
Mesh face:19723349 vertices:4((0.0245 0.00252571 -0.018) (0.0245 0.0026 -0.018) (0.025 0.0026 -0.018) (0.025 0.00252571 -0.018))
Neighbour face:19805599 vertices:4((0.499286 0.00512571 -0.018) (0.499286 0.0052 -0.018) (0.5 0.0052 -0.018) (0.5 0.00512571 -0.018))
Other errors also exist, only the largest is reported. Please rerun with cyclic debug flag set for more information.

    From function cyclicPolyPatch::calcTransforms()
    in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 293.

Any help would be great!

GerhardHolzinger June 9, 2020 03:29

If it's a blockMesh mesh, then your problem isn't a problem at all. Simply run blockMesh of your foam-extend installation to re-create your mesh.

OpenFOAM-5 and foam-extend-3.2 most probably produce mesh-files using slightly different format. However, both should be able to create a mesh from a blockMeshDict file.

nskelly June 9, 2020 04:03

When running the blockMesh command using foam-extendn 3.2 I receive a face ordering error like the one below. This doesn't happen when using OF 5

Code:

Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology


--> FOAM FATAL ERROR:
face 0 in patch 0 does not have neighbour cell face: 4(16 17 37 38)

    From function polyMesh::facePatchFaceCells(const faceList& patchFaces,const labelListList& pointCells,const faceListList& cellsFaceShapes,const label patchID)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 124.

FOAM aborting

Aborted


filpucfd September 27, 2023 17:32

Quote:

Originally Posted by nskelly (Post 773863)
When running the blockMesh command using foam-extendn 3.2 I receive a face ordering error like the one below. This doesn't happen when using OF 5

Code:

Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology


--> FOAM FATAL ERROR:
face 0 in patch 0 does not have neighbour cell face: 4(16 17 37 38)

    From function polyMesh::facePatchFaceCells(const faceList& patchFaces,const labelListList& pointCells,const faceListList& cellsFaceShapes,const label patchID)
    in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 124.

FOAM aborting

Aborted


Hello,
I am having your same error.
Did you manage to solve it?

It works in the latest version of openfoam, but in foam-extend-5.0 it gives me that same error.


All times are GMT -4. The time now is 11:58.