CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

problem when I import mesh with cyclic graduated BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2011, 11:38
Default problem when I import mesh with cyclic graduated BC
  #1
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 299
Rep Power: 18
Cyp is on a distinguished road
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
Cyp is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 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
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


All times are GMT -4. The time now is 13:45.