CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

problem when I import mesh with cyclic graduated BC

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 3, 2011, 11:38
Default problem when I import mesh with cyclic graduated BC
Senior Member
Join Date: Feb 2010
Location: Stanford University
Posts: 232
Rep Power: 9
Cyp is on a distinguished road

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:
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:

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 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
problem related to mesh naveen CFX 3 March 25, 2006 09:47
Gambit problems Althea FLUENT 21 February 6, 2001 08:05
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09

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