|
[Sponsors] |
August 2, 2018, 05:32 |
How to get yPlus in OpenFOAM
|
#1 |
Member
Maria
Join Date: Jul 2013
Posts: 84
Rep Power: 12 |
Dear all,
I know that we can get the value of yPlus through the function of -postProcess, but how can I get it when using yPlus as a parameter in the programming. I tried with lookupObject, it does not work because OpenFoam does not output yPlus. Does anyone know what function should I use? Many thanks for any help. Regards, Maria |
|
August 2, 2018, 10:01 |
|
#2 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28 |
I assume, you want to use yPlus in a model or solver of yours.
The epsilonWallFunction computes yPlus in the following manner: Code:
const scalar yPlus = Cmu25*y[facei]*sqrt(k[celli])/nuw[facei]; |
|
August 2, 2018, 22:13 |
|
#3 | |
Member
Maria
Join Date: Jul 2013
Posts: 84
Rep Power: 12 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 13:36 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 05:36 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 06:25 |
OpenFOAM Training in Europe and USA | hjasak | OpenFOAM | 0 | August 8, 2008 05:33 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |