CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to get yPlus in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2018, 05:32
Default How to get yPlus in OpenFOAM
  #1
Member
 
Maria
Join Date: Jul 2013
Posts: 84
Rep Power: 12
marialhm is on a distinguished road
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
marialhm is offline   Reply With Quote

Old   August 2, 2018, 10:01
Default
  #2
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
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];
The near wall distance y is available through the turbulenceModel, k and nu are available as well.
GerhardHolzinger is offline   Reply With Quote

Old   August 2, 2018, 22:13
Default
  #3
Member
 
Maria
Join Date: Jul 2013
Posts: 84
Rep Power: 12
marialhm is on a distinguished road
Quote:
Originally Posted by GerhardHolzinger View Post
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];
The near wall distance y is available through the turbulenceModel, k and nu are available as well.
Many thanks. I will try.
marialhm 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
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


All times are GMT -4. The time now is 13:15.