|
[Sponsors] |
November 23, 2014, 12:42 |
nutUWallFunction
|
#1 |
New Member
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
Hello,
im setting up the boundary conditions for nut in a simpleFoam, k-epsilon simulation. my teacher gave me the hint to use nutUWallFunction for walls. looking in the code i can see nut is calculated by a wall function. nutw[facei] = nuw[facei]*(yPlus[facei]*kappa_/log(E_*yPlus[facei]) - 1.0) does that mean openfoam calculate nut not only at y=0 with this formula but for a special amount of cells? Thanks |
|
November 24, 2014, 07:32 |
|
#2 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
Not looking at the original source code I guess facei is a variable indexing the face areas of the wall. So no, only directly for the wall the values are calculated by the wall function and the cell (volume) values are derived from the face values.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BC when using nutUWallFunction | cabul | OpenFOAM | 0 | September 6, 2011 10:20 |