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

How dose FLUENT define face normal?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2017, 05:31
Default How dose FLUENT define face normal?
  #1
Member
 
Chi Zhang
Join Date: Aug 2017
Posts: 32
Rep Power: 8
C_Zhang is on a distinguished road
Hi everyone! I am confused by two illustration in UDF Manual.Please see picture in attachment. UDF Manual says that ANSYS Fluent assigns adjacent cells to an interior face (c0 and c1) according to the following convention: the cell out of which a face area normal is pointing is designated as cell C0, while the cell in to which a face area normal is pointing is cell c1. But in the description of F_FLUX macro, it says The sign of F_FLUX that is computed by the ANSYS Fluent solver is positive if the flow direction is the same as the face area normal direction, and is negative if the flow direction and the face area normal directions are opposite. In other words, the flux is positive if the flow is out of the domain, and is negative if the flow is in to the domain. We now assume a flow from left to right and it flows through cell C0 and C1. If the illustrations are both true, flux through 0-1 face will be positive both in cell C0 and C1 because flow direction is the same with face normal. However, in cell C1, flow is in to the cell , so it has to be negtive.
What's the answer?
Attached Images
File Type: png ????_20170831172024.png (4.4 KB, 45 views)
C_Zhang is offline   Reply With Quote

Old   September 1, 2017, 04:14
Default
  #2
Senior Member
 
Join Date: Nov 2013
Posts: 1,965
Rep Power: 26
pakk will become famous soon enough
The part "In other words, the flux is positive if the flow is out of the domain, and is negative if the flow is in to the domain." is talking about flow in/out the domain, so there boundary faces are relevant, not interior faces. The picture that you attached is for interior faces.
pakk is offline   Reply With Quote

Old   September 1, 2017, 04:48
Smile
  #3
Member
 
Chi Zhang
Join Date: Aug 2017
Posts: 32
Rep Power: 8
C_Zhang is on a distinguished road
Quote:
Originally Posted by pakk View Post
The part "In other words, the flux is positive if the flow is out of the domain, and is negative if the flow is in to the domain." is talking about flow in/out the domain, so there boundary faces are relevant, not interior faces. The picture that you attached is for interior faces.
Thank you pakk!
C_Zhang is offline   Reply With Quote

Reply


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19


All times are GMT -4. The time now is 10:03.