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

How to get normal vector to the face?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2006, 14:04
Default How to get normal vector to the face?
  #1
Viatcheslav Kulikov
Guest
 
Posts: n/a
In the framework of my project I want to do the separation of zones by specific criteria. This results in generation of new interfaces (face zones).

The question is: is there a Schema-function or UDF-function using which I could determine whether the normal vector to the given face zone or face is directed inwards or outwards of the given adjacent cell zone?

The sign of such a normal vector affects the surface flux reporting and gives positive or negative signs, depending on the direction of the normal vector. However, I want to report all incoming fluxes as positive and all outcoming fluxes as negative. This is only possible if I know the direction of the normal vector.

I can see the 'averaged normal' in the properties of the interface of 'fan' type, but it is not reported by any function. I can also compute 'X Surface Area' and 'Y Surface Area' which can be also positive or negative, but they only make sense for rectangular zones and provide no useful information for curved interfaces.

So I need the function to get either coordinates of normal vector for each individual face (then I can determine threads and zones, and define the direction) or the direction of normal to the interface in respect to the adjacent zone.

Does anybody know how to do this in Schema or in the UDF?
  Reply With Quote

Old   August 31, 2017, 03:03
Default
  #2
Member
 
Chi Zhang
Join Date: Aug 2017
Posts: 32
Rep Power: 8
C_Zhang is on a distinguished road
hi Viatcheslav, Though it's a long time but I'm faceing the same problem.Have you figured it out?
C_Zhang 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
[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
NACA0012 geometry/design software needed Franny Main CFD Forum 13 July 7, 2007 15:57
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 19:24.