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

y+ selection with epsilonWallFunction and omegaWallFunction

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 1 Post By gregjunqua
  • 7 Post By wc34071209

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2014, 10:24
Default y+ selection with epsilonWallFunction and omegaWallFunction
  #1
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 14
wc34071209 is on a distinguished road
Hi all,

For omegaWallFunction, OpenFOAM employs the strategy as follows

omega = sqrt(omega_vis^2 + omega_log^2)

which seems to be able to automatically take care of first layer thickness no matter it falls in viscous sublayer (y+ < 5) or log-law region ( y+ > 30 ) or even in the buffer layer ( 5 < y+ < 30 ).

However, for epsilonWallFunction, OpenFOAM seems to apply the following formula:

epsilon = Cmu^0.75 * k^ 1.5 / (kappa *y);

which is reported to be valid only when the first layer thickness falls into log-law region.

So my question is what will happen if I use epsilonWallFunction (k-epsilon model) with a grid where y+ < 5.
wc34071209 is offline   Reply With Quote

Old   November 6, 2014, 20:39
Default
  #2
Member
 
Gregoire Junqua
Join Date: Jun 2011
Location: China
Posts: 58
Blog Entries: 1
Rep Power: 15
gregjunqua is on a distinguished road
You answered by yourself, you will use an invalid boundary condition since some wall function are only valid for the logarithmic layer position and when y+<5 you are in the linear sublayer.


For low Reynolds model I personally use for the wall condition :

k fixed value 10e-12
omega fixed value 10e9
nut nutUSpaldingWallFunction
U fixed value 0

If you need more information i suggest you to read : On the wall Boundary condition for turbulence models
from Jonas Bredberg

You would find many answer in it in all your questions about wall condition
Yanagi likes this.
__________________
-------------------------------------------------------
Gregoire Junqua
Ocean University of China
PhD Oceanography/ABL turbulence
-------------------------------------------------------
gregjunqua is offline   Reply With Quote

Old   November 6, 2014, 21:00
Default
  #3
Senior Member
 
Yuehan
Join Date: Nov 2012
Posts: 142
Rep Power: 14
wc34071209 is on a distinguished road
Quote:
Originally Posted by gregjunqua View Post
You answered by yourself, you will use an invalid boundary condition since some wall function are only valid for the logarithmic layer position and when y+<5 you are in the linear sublayer.


For low Reynolds model I personally use for the wall condition :

k fixed value 10e-12
omega fixed value 10e9
nut nutUSpaldingWallFunction
U fixed value 0

If you need more information i suggest you to read : On the wall Boundary condition for turbulence models
from Jonas Bredberg

You would find many answer in it in all your questions about wall condition

Thanks. Actually I am also wondering why kqRWallFunction treats k just as zeroGradient. Apparently at the wall k should be zero.

By specifying k to a very small number and omega a very big number, I think you have to use very fine grid inside the boundary layer, e.g. y+ ~ 1 or even smaller.

nutUSpaldingWallFunction, as far as I know, is kind of continuous wall function which can work for both y+ < 5 and > 30. However, nutLowReWallFunction sounds, by its name, to be more suitable if you resolve the boundary layer.

Could I conclude as follows:

For y+ > 30,

k: kqRWallFunction
omega: omegaWallFunction or epsilon: epsilonWallFunction
nut: nutkWallFunction



For 1 < y+ < 5,

k: kqRWallFunction
omega: omegaWallFunction (k-epsilon is not suitable)
nut: not so sure



For y+ < 1,

k: very small number
omega: very big number (k-epsilon is not suitable)
nut: nutLowReWallFunction


For non-uniform y+ (between 1 and 100), however, is it better to use the following?

k: kqRWallFunction
omega: omegaWallFunction
nut: nutUSpaldingWallFunction
wc34071209 is offline   Reply With Quote

Old   March 13, 2018, 10:20
Default
  #4
Member
 
Join Date: Apr 2017
Posts: 68
Rep Power: 9
kaaja is on a distinguished road
Quote:
For non-uniform y+ (between 1 and 100), however, is it better to use the following?

k: kqRWallFunction
omega: omegaWallFunction
nut: nutUSpaldingWallFunction
Does anybody know if the above is correct?
kaaja 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



All times are GMT -4. The time now is 05:30.