CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

wall function

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2012, 23:37
Default wall function
  #1
Member
 
Join Date: Aug 2011
Posts: 53
Rep Power: 14
Studentdrak is on a distinguished road
"The basic idea behind the scalable wall-function approach is to limit the y* value used in the logarithmic formulation by a lower value of 11.06 is the intersection between the logarithmic and the linear near wall profile"

These are the statements from help files of cfx.

The lower limit of y* is restricted to 11.06,does this mean that the linear near wall profile is neglected?

"Do not use Standard Wall Functions unless required for backwards compatibility."

These are the statements from help files of cfx.

what is backward compatibility?

I am trying to simulate a heat transfer problem, how does scalable wall function affect the results?




my
Studentdrak is offline   Reply With Quote

Old   March 25, 2012, 06:48
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Quote:
does this mean that the linear near wall profile is neglected?
No, just that the logarithmic approach is not used below y+=11.06, it transitions to the integrate to the wall approach.

Quote:
what is backward compatibility?
http://en.wikipedia.org/wiki/Backward_compatibility

Quote:
how does scalable wall function affect the results?
Scalable wall functions are your best chance of getting a wall function which works well regardless of having a fine or coarse mesh. Standard wall functions requires the user to mesh appropriately for the wall function approach you intend to use.
ghorrocks is offline   Reply With Quote

Old   March 25, 2012, 08:58
Default
  #3
Member
 
Join Date: Aug 2011
Posts: 53
Rep Power: 14
Studentdrak is on a distinguished road
Thanks Glenn.

Would u pl. explain me how does doubling and quadrupling the number of nodes(for grid independent study) and scalable wall function work together?
Studentdrak is offline   Reply With Quote

Old   March 25, 2012, 17:59
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Most CFD packages use standard wall functions, and these are only valid for y+>11 or so. So if you start off with a mesh with y+=30, then half the mesh element length you get y+=15 (so far so good) but the next refinement gives you y+=7.5. The standard wall function approach is not valid for this value of y+, so you will get a finer mesh solution but it will not be physically correct as you are applying inappropriate wall functions.

The scalable wall functions help here because as you refine to below y+=11 it transitions to integrating to the wall. This keeps the wall functions physically valid and means you can do mesh refinement more easily.
ghorrocks is offline   Reply With Quote

Old   March 25, 2012, 23:09
Default
  #5
Member
 
Join Date: Aug 2011
Posts: 53
Rep Power: 14
Studentdrak is on a distinguished road
Thanks again Glenn.

As i understand, the Scalable wall functions are better to use for grid independent study also. is this correct?
Studentdrak is offline   Reply With Quote

Old   March 25, 2012, 23:12
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Isn't that what I just said?
ghorrocks is offline   Reply With Quote

Old   March 26, 2012, 03:21
Default
  #7
Member
 
Join Date: Aug 2011
Posts: 53
Rep Power: 14
Studentdrak is on a distinguished road
Thank u Glenn
Studentdrak is offline   Reply With Quote

Old   March 26, 2012, 04:53
Default
  #8
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Quote:
No, just that the logarithmic approach is not used below y+=11.06, it transitions to the integrate to the wall approach.
No. Below Y+ = 11.06 mesh points are ignored. If you check the mathematical formulation of scalable wall function you will not find any term for linear profile. Therefore scalable wall function are not built for resolving the viscous sub layer. For that you have to choose the automatic wall treatment which is only available in k-omega based models.

Transition to linear profile is property of hybrid wall functions (aka automatic wall treatment in CFX)

Scalable wall function are designed to avoid the problems

1. With mesh refinement when Y+ goes to 1. In this case standard wall function approach ceases to be valid.
2. At separation when velocity is zero and Y+ is again very low, in this case standard wall function ceases to be valid.

In other words scalable wall function is robust wall function as compared to standard wall function.

Standard wall functions are also valid up to Y+ = 11.06 and it was the default option in Fluent when Y+ is higher than 11.06. See the SA model section of Fluent User guide (I know this is CFX forum )
Far is offline   Reply With Quote

Old   March 26, 2012, 05:01
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Thanks for the correction Far. I have just read the documentation to confirm this time

Scalable wall functions effectively limit the y+ to 11. When y+<11 it sets y+=11 and therefore assumes the first node is outside the log layer.

Automatic wall functions are what I was confused with, they transition from wall functions to integrating to the wall over the y+=11 threshold.
Far likes this.
ghorrocks is offline   Reply With Quote

Old   March 26, 2012, 05:04
Default
  #10
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
I have learned many things from you.
Far is offline   Reply With Quote

Old   March 26, 2012, 07:06
Default
  #11
Member
 
Join Date: Aug 2011
Posts: 53
Rep Power: 14
Studentdrak is on a distinguished road
Thank u Glenn and Far,

Does this mean that for forced convection heat transfer problem K epsilon - scalable wall function are not correct to use?
Studentdrak is offline   Reply With Quote

Old   March 26, 2012, 18:00
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It is rare that a turbulence model is "right" or "wrong". They are all different with different strengths and weaknesses.

But in general the SST turbulence model is the default choice. It allows easy extension for some advanced models like automatic wall functions, curvature correction, transition model and others. k-e I would only recommend if you are comparing to published data, it is largely superseded by SST in my opinion. RSM should be considered then anisotropic turbulence is significant, and LES style models (inc SAS, DES) for when you have large scale vortex shedding which you need to resolve.
lth likes this.
ghorrocks is offline   Reply With Quote

Old   June 28, 2012, 09:45
Default Standard wall function and SAS model
  #13
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Thanks for the correction Far. I have just read the documentation to confirm this time

Scalable wall functions effectively limit the y+ to 11. When y+<11 it sets y+=11 and therefore assumes the first node is outside the log layer.

Automatic wall functions are what I was confused with, they transition from wall functions to integrating to the wall over the y+=11 threshold.
Hi ghorrocks

You told When y+<11 it sets y+=11 and therefore assumes the first node is outside the log layer, you mean for y+< 11 it assumes u+=y+ (linear approach)?

in CFX when you select SAS-SST model it automaticly selects standard wall function , while from your discussion i learned that scalable wall function is a better choice. However i can't do anything for that because it will be selected automaticly. so in this case (standard wall function) i have to take care of the mesh and should refine it well close to the wall, am i right?

the y+ in my geometry (a combustor) is changing in the range of y+<40. so can you please tell me according to this wall function (standard) and this turbulence modell (sas-sst) which i used my mesh is good enough close to the wall?

Regards
Mina
Mina_Shahi is offline   Reply With Quote

Old   June 28, 2012, 11:24
Default
  #14
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Quote:
Originally Posted by Mina_Shahi View Post
Hi ghorrocks

You told When y+<11 it sets y+=11 and therefore assumes the first node is outside the log layer, you mean for y+< 11 it assumes u+=y+ (linear approach)?

in CFX when you select SAS-SST model it automaticly selects standard wall function , while from your discussion i learned that scalable wall function is a better choice. However i can't do anything for that because it will be selected automaticly. so in this case (standard wall function) i have to take care of the mesh and should refine it well close to the wall, am i right?

the y+ in my geometry (a combustor) is changing in the range of y+<40. so can you please tell me according to this wall function (standard) and this turbulence modell (sas-sst) which i used my mesh is good enough close to the wall?

Regards
Mina
It is the log law of the wall. There is option of choosing the standard wall function, but default is the scalable wall function for epsilon based models. For omega based models the default choice is automatic wall function.
Far is offline   Reply With Quote

Old   June 28, 2012, 15:21
Default
  #15
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by Far View Post
It is the log law of the wall. There is option of choosing the standard wall function, but default is the scalable wall function for epsilon based models. For omega based models the default choice is automatic wall function.

Thanks Far!

1- in CFX the default for the sas model is standar model. But what is your idea about the range of y+ in my mesh? is it fine enough?
and how does the software take care of y+<11?

2- how can we know for a certain turbulence model how big y+ can be or how much it can vary?


Regards
Mina
Mina_Shahi is offline   Reply With Quote

Old   June 28, 2012, 18:29
Default
  #16
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I am not sure what wall boundary conditions SAS uses, you will have to look that up.

Not only do different turbulence models have different requirements but different flow regimes have different requirements. So the only way to be sure is to do a mesh refinement sensitivity study on your configuration.
Mina_Shahi likes this.
ghorrocks is offline   Reply With Quote

Old   June 29, 2012, 06:03
Default
  #17
Member
 
Mina
Join Date: Apr 2011
Posts: 88
Rep Power: 15
Mina_Shahi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I am not sure what wall boundary conditions SAS uses, you will have to look that up.

Not only do different turbulence models have different requirements but different flow regimes have different requirements. So the only way to be sure is to do a mesh refinement sensitivity study on your configuration.

Thanks

But can you explain what happens for y+<11 (in standard wall function)? I guess that turbulence equatuion will be integrated untill the wall in th eregion with y+<11, Is that true? or simply for the small y+ it assumes u+=y+ (linear approch and not logaritmic approach)? i am a bit confused with this layers
Mina_Shahi is offline   Reply With Quote

Old   June 29, 2012, 07:52
Default
  #18
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you are using standard wall functions then the wall function equation will be used regardless of y+. Refer to the CFX documentation or a turbulence textbook like Wilcox for details on this. But the key point is that the wall function equation is only applicable from around y+>11. So if you apply standard wall functions with y+<11 then you are simply applying them in a regime where they are not accurate.
ghorrocks is offline   Reply With Quote

Old   June 29, 2012, 08:49
Default
  #19
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Actually there is change in definition of u+. so instead of u+, u* is used for the scalable wall function. see documentation.
Far is offline   Reply With Quote

Old   June 29, 2012, 08:54
Default
  #20
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I think the question was what happens for standard wall functions.
ghorrocks 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
Wall function for velocity? johnblund OpenFOAM 3 September 6, 2022 07:22
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
Need some wall function approaches! yka8150 Main CFD Forum 0 September 21, 2009 23:08
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 19:56.