CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   problem when I import mesh with cyclic graduated BC (http://www.cfd-online.com/Forums/openfoam/85656-problem-when-i-import-mesh-cyclic-graduated-bc.html)

Cyp March 3, 2011 11:38

problem when I import mesh with cyclic graduated BC
 
Hi!

I tried to import a simple geometry (a simple block 10*10*10) created with Salomé.

In this geometry, the boundary faces
- normal to z-axis are named frontAndBack ;
- normal to x-axis are named fixedWalls;
- normal to y-axis are named inout;

In a first test, I carried out a hexa meshing with a simple grading : 1 cell in z-direction, 20 cells in the y-direction and 40 cells in the x-direction.

I import the mesh with the following command:
Code:

ideasUnvToFoam Mesh_1.unv
Then I defined the patches in the "boundary" file as:
- frontAndBack empty;
- fixedWalls wall;
- inout cyclic;

Everything is ok and I can watch my wideframe in ParaView.

Now, I modify the mesh by using a edge graduation for the x-axis (ratio = 4). If I defined the boundary as previously I and tried to watch my wideframe (or start a calculation) I get the following error message:

Code:

--> FOAM FATAL ERROR:
face 0 area does not match neighbour 40 by 119.999% -- possible face ordering problem.
patch:inout my area:0.46026 neighbour area:0.115066 matching tolerance:0.001
Mesh face:3180 vertices:4((10 10 1) (10 10 0) (9.53974 10 0) (9.53974 10 1))
Neighbour face:3220 vertices:4((0 0 1) (0 0 0) (0.115066 0 0) (0.115066 0 1))
Rerun with cyclic debug flag set for more information.

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

FOAM exiting


To be sure my mesh and geometry are correct, I modified the boundary file defining inout as patch. In that case I am able to visualize my mesh with graduated edge.

Have you ever encouter this problem ? Do think it is a bug within OpenFOAM ?

Best regards,
Cyp


All times are GMT -4. The time now is 17:55.