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

[Commercial meshers] Tgrid control surface for diagnostic purposes

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2008, 06:36
Default Tgrid control surface for diagnostic purposes
  #1
Member
 
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 17
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!

Regards

Johan Spång
josp is offline   Reply With Quote

Reply

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
[snappyHexMesh] Surface triangulation using snappyHexMesh shaileshbg OpenFOAM Meshing & Mesh Conversion 4 October 17, 2019 05:42
[snappyHexMesh] Layers don't fully surround surface EVBUCF OpenFOAM Meshing & Mesh Conversion 14 August 20, 2012 05:31
Normal - Helical Surface m. malik Main CFD Forum 3 February 3, 2006 13:56
solid edge problem....can you help? cindy Main CFD Forum 3 April 5, 2004 14:43
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


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