|
[Sponsors] |
August 31, 2017, 06:31 |
How dose FLUENT define face normal?
|
#1 |
Member
Chi Zhang
Join Date: Aug 2017
Posts: 32
Rep Power: 9 |
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? |
|
September 1, 2017, 05:14 |
|
#2 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
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.
|
|
September 1, 2017, 05:48 |
|
#3 | |
Member
Chi Zhang
Join Date: Aug 2017
Posts: 32
Rep Power: 9 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 09:23 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 11:19 |