|
[Sponsors] |
How to get yPlus with LaunderSharmaKE turbulence model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 27, 2010, 08:08 |
How to get yPlus with LaunderSharmaKE turbulence model
|
#1 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
Hello,
I have a working case with the LaunderSharmaKE turbulence model. Now I'd like to get the yPlus to see if it's <1 like required for a low-re simulation. But apparently the yPlusRAS command doesn't work ... I've seen posts related to this and users have created their own function to calculate it. But I don't understand why the yPlusRAS command doesn't work with the LaunderSharmaKE model and I don't know how to make my own function to calculate it ... I'm new to openFoam. Your help would be much appreciated. Thanks in advance. |
|
January 27, 2010, 08:40 |
|
#2 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
There's a function RASModel::yPlus which returns the yPlus values for a given patch and value of Cmu:
Code:
//- Return yPlus for the given patch virtual tmp<scalarField> yPlus ( const label patchI, const scalar Cmu ) const;
__________________
Laurence R. McGlashan :: Website |
|
January 27, 2010, 08:44 |
|
#3 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
Thanks for the answer
But this is not very practical since you can only have yPlus @patch and not everywhere. I need it on the first cell after the wall to see if it's <1 there and there is not a patch there |
|
January 27, 2010, 09:03 |
|
#4 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
Oh, it's a low RE model. I don't know much about those so I'll shut up. You can alter yPlusRAS slightly so that it uses the wall shear stress directly to calculate y+ I suppose, instead of assuming the logarithmic profile.
__________________
Laurence R. McGlashan :: Website |
|
January 27, 2010, 09:10 |
|
#5 |
Senior Member
Join Date: Nov 2009
Posts: 111
Rep Power: 17 |
Yup,
Apparently that's what people have done from what I've read... If I don't get other answers I'll try to look at this Thanks for your help & tips |
|
January 31, 2010, 04:56 |
|
#6 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Maybe the yplus can be get from the file /OpenFOAM-1.6/applications/utilites/preProcessing/applyBoundaryLayer/applyBoundaryLayer.C .
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding a Turbulence Model | doug | OpenFOAM Running, Solving & CFD | 11 | May 21, 2018 14:54 |
Eul-Eul flow, k-e-kp-ep-Theta Turbulence model | us | FLUENT | 5 | April 5, 2011 03:29 |
KOmega Turbulence model from wwwopenFOAMWikinet | philippose | OpenFOAM Running, Solving & CFD | 30 | August 4, 2010 11:26 |
Turbulence Model | GG | Siemens | 3 | March 3, 2008 20:06 |
v2-f turbulence model in CFX? | flga | CFX | 14 | November 23, 2006 07:12 |