CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

Tgrid control surface for diagnostic purposes

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

LinkBack Thread Tools Display Modes
Old   November 20, 2008, 06:36
Default Dear all, I have a problem
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 8
josp is on a distinguished road
Dear all,

I have a problem with the orientation of the faces in a set of control surfaces that I created for diagnostic purposes (for integrating mass flow in parts of the domain that are of particular interest to me).

I create the surface as an internal surface in Tgrid, if I look at the normals in Tgrid they look correct (i.e. all normals points in the same direction if the surface happens to be a plane).

I then import the mesh into OpenFOAM by:

fluentMeshToFoam -writeSets -writeZones

Everything seems fine with the conversion and checkMesh is ok.

What seems strange is that about half of the normals of the faces in the control zone have "flipped" direction. I tested that by taking the scalar product between the face normal and the distance vector from a control point (using a simple enough control surface). Almost 50-50 in normal direction.

Has this something to do with which cell that owns the face? Do I need to find a flip map somewhere in the conversion process?

If I look at the normals of the control zone in paraview after typing foamToVTK they look correct again..

Any help greatly appreciated!


Johan Spång
josp 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
Tgrid wrapper surface Sam FLUENT 4 September 8, 2008 01:58
TGrid Surface retriangulation Davide FLUENT 0 July 23, 2008 03:08
Airfoil y+ for Validation Purposes asd FLUENT 3 June 26, 2007 09:27
Difference between surface mesh control and inflat R P CFX 2 August 26, 2004 22:05
*.fro for display purposes Astrid CFX 3 June 25, 2003 12:06

All times are GMT -4. The time now is 14:33.