CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

yPlusRAS evaluation in OpenFOAM 2.2x

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 10, 2013, 07:39
Default yPlusRAS evaluation in OpenFOAM 2.2x
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 6
MaLa is on a distinguished road

I have been trying to find out how OpenFOAM 2.2x calculates yPlus() in yPlusRAS.C. Can anyone specify which (included) file has the definition for yPlus in terms of wall shear velocity, wall distance, C_mu ...?

I saw in some other threads that the value of yPlus comes from RASModel.C in OpenFOAM 2.1x, where in it considers C_mu, y_, nu, k for the evaluation; but I don't think that's the case with OpenFOAM 2.2x.

When I was going through yPlusRAS.C in OF22x, I found that one of the included files is nutWallFunctionFvPatchScalarField.H, which defines a method yPlus() on line 156, as:

virtual tmp<scalarField> yPlus() const = 0;

Isn't that equivalent to setting yPlus equal to 0? This can't be the correct evaluation, I guess.
MaLa is offline   Reply With Quote

Old   December 10, 2013, 10:34
Join Date: Oct 2013
Location: Göteborg
Posts: 37
Rep Power: 6
MaLa is on a distinguished road
Ok, I figured out the answer. The yPlus() implementation is in the relevant wall Functions. The nutWallFunctionFvPatchScalarField.H merely creates a skeleton for yPlus evaluation and is hence equated to 0.
MaLa is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tecplot 360 2011 R2 preview with OpenFOAM data loader available for evaluation scott_rumage OpenFOAM Post-Processing 50 January 23, 2017 03:49
setSet in openfoam ver 2.2x reza1980 OpenFOAM Pre-Processing 15 June 14, 2013 06:03
ESI-OpenCFD Releases OpenFOAM v2.2.0 opencfd OpenFOAM Announcements from ESI-OpenCFD 13 March 30, 2013 17:52
Summer School on Numerical Modelling and OpenFOAM hjasak OpenFOAM 5 October 12, 2008 13:14
OpenFOAM Training and Workshop Zagreb 2628Jan2006 hjasak OpenFOAM 1 February 2, 2006 22:07

All times are GMT -4. The time now is 00:53.