CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

Face orientation in blockMesh

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2010, 11:10
Default Face orientation in blockMesh
Wolfgang W.
Join Date: Nov 2009
Location: Switzerland
Posts: 57
Rep Power: 16
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 Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15

All times are GMT -4. The time now is 12:36.