CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Face orientation in blockMesh

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

LinkBack Thread Tools Display Modes
Old   March 18, 2010, 12:10
Default Face orientation in blockMesh
Wolfgang W.
Join Date: Nov 2009
Location: Switzerland
Posts: 57
Rep Power: 8
WiWo is on a distinguished road
Hi Foamers,

I've got a question concerning the pre-processing tool blockMesh.

In many references (including the OF user's handbook) I found clear instructions about how to define faces (e.g. defining patches). The key is to keep the orientation of the face in mind - thus the convention states, that "The order in which the vertices are given must be such that, looking from inside the block and starting with any vertex, the face must be traversed in a clockwise direction to define the other vertices." This convention sounds perfectly reasonable in order to have an unambiguous direction of the face normals.

Now, I happen to mess up the orientation (define it counter-clockwise) of one patch in the blockMeshDict in a mesh of mine. Neither blockMesh nor checkMesh did complain. When I recognized my error I corrected the patch (now everything is defined according to the conventions) and created the mesh anew.

The strange thing now being, that there is NO difference at ALL between the output of blockMesh (points, faces, neighbour, owner, boundary) between the case where I used the incorrect blockMeshDict and the case where I used the correct one. I compared the files line by line using 'diff'!

Now if there is a difference in the face orientation (and consequently the orientation of the face normal), then the files should show some different entries, or shouldn't they? Is blockMesh writing anything to any files except the ones I mentioned? How is OpenFOAM determining the face normals?

Is there somebody who can shed some light on that? As you might guess, I'm a little confuses about that.

WiWo 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
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15

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