CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Turbulence kinetic energy at the wall

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By KR27
  • 2 Post By LuckyTran
  • 1 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2018, 15:00
Default Turbulence kinetic energy at the wall
  #1
New Member
 
Join Date: Jan 2018
Posts: 3
Rep Power: 8
KR27 is on a distinguished road
I have a question regarding turbulence kinetic energy at the wall. I simulated compressible air flow in a pipe in Ansys CFX 18.0 (steady state). In k-epsilon turbulence model, near wall flow is modelled with wall function, no matter how fine the mesh is. As far as I know, the value of turbulence kinetic energy k at the wall should be always equall to 0. Instead of this, I obtained the highest value, which is then slowly decreasing with the distance from the wall. Moreover, despite no slip boundary condition, velocity at the wall is suprisingly high (approximately 120 m/s). If I use k-w SST model with coarser mesh (y+=27), wall function is switched on and the same problem occurs. K-w SST with fine mesh in boundary layer (y+=0.5) provides good results, i.e. k=0 on the wall. Figure in attachment presents distribution of k vs distance from the wall (purple line: k-w SST fine mesh, green line: k-epsilon fine mesh, blue line: k-w SST coarse mesh, red line: k-epsilon coarse mesh). Even if I set in turbulence option k=0, the value on the wall remains the highest and then rapidly decreases to 0. I looked to the different publications and turbulence kinetic energy at the wall is always equal to 0 for k-epsilon. Does anybody know what is going on? Why use of wall function provides so unphysical behaviour?
Attached Images
File Type: jpg k.jpg (74.5 KB, 125 views)
Gerhard likes this.
KR27 is offline   Reply With Quote

Old   January 8, 2018, 21:19
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Looks normal.

The turbulent kinetic energy is only 0 exactly on a no-slip wall.

For boundary layers, k reaches a maximum very close to the wall (somewhere from y+ ~30 or ~100).

k reaches a maximum as you approach the wall and then is zero at the wall. Very close to the wall k varies linearly with distance. This is what makes wall functions so annoying to implement for k.

You'll only be able to see k approach 0 if you have a super-fine mesh and can completely resolve it and it will never be zero because you are doing FVM and you don't have cells "on the wall."
juliom and Gerhard like this.
LuckyTran is offline   Reply With Quote

Old   January 9, 2018, 06:05
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by LuckyTran View Post
Looks normal.

The turbulent kinetic energy is only 0 exactly on a no-slip wall.

For boundary layers, k reaches a maximum very close to the wall (somewhere from y+ ~30 or ~100).

k reaches a maximum as you approach the wall and then is zero at the wall. Very close to the wall k varies linearly with distance. This is what makes wall functions so annoying to implement for k.

You'll only be able to see k approach 0 if you have a super-fine mesh and can completely resolve it and it will never be zero because you are doing FVM and you don't have cells "on the wall."
This is essentially correct (except that k grows faster than linearly from the wall).

Just note that CFX is a node based finite volume solver, which means that your variables are defined at the mesh nodes, which include boundary ones. Now, I'm not an expert of this approach but consider the following:

a) For classical cell centered FV solvers, you don't have variables defined at the walls, only bc. Which means that the solver can do whatever it takes at the bc level to solve the equations properly, while still showing you "expected" node values at the postprocessing stage (still, this is not always correct). Those accustomed with Fluent should know such difference between flagging or not the node values checkbox in the postprocessing panel.

b) Node based solvers can't do this anymore, because the values at the wall are now part of the solution and cannot be faked (unless a stupid marketing approach is used in the company producing the solver).

Thus, considering a wall function approach in CFX, they are obliged to put some value in the wall node that would correctly represent the wall function case. Such value is not 0, otherwise you would not be using wall functions at all.

Actually, as stated by LuckyTran, in CFX you can't interpret node values at walls as actual node values. They are more representative of the near wall volume. Thus, even at the postprocessing stage, it makes sense to see something different from 0 if your cell at the wall is coarse.

EDIT: You may want to give a look at this page https://www.sharcnet.ca/Software/Ans...fxTurbTreaWall
juliom likes this.
sbaffini is offline   Reply With Quote

Old   January 9, 2018, 08:01
Default
  #4
New Member
 
Join Date: Jan 2018
Posts: 3
Rep Power: 8
KR27 is on a distinguished road
Thank you LuckyTran and sbaffini for replies. If I understood corectlly, when wall function is used, first node of the mesh is moved to the end of viscous sublayer, thereby value displayed in postprocessor comes from that point and not from the wall itself, although boundary condition k=0 at the wall is preserved and used in calculation. Am I rigth?
KR27 is offline   Reply With Quote

Old   January 9, 2018, 08:13
Default
  #5
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,195
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quite the opposite actually
The mesh is not moved, but the bc used at the wall for k is relative to a point away from the wall. It should actually be a Neumann condition dk/dn = 0, so that it's not 0 unless it is also in the fluid.
sbaffini is offline   Reply With Quote

Old   January 9, 2018, 09:56
Default
  #6
New Member
 
Join Date: Jan 2018
Posts: 3
Rep Power: 8
KR27 is on a distinguished road
Ok, I got it, thank you for detailed explanation.
KR27 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
Time-mean turbulence kinetic energy budget ParaView cagri.metin.ege OpenFOAM Programming & Development 2 August 15, 2017 07:09
Turbulence kinetic energy comparison bjorson Main CFD Forum 3 January 9, 2013 04:33
fluctuations in turbulence frequency and kinetic energy rskrishna87 CFX 2 June 11, 2011 16:45
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
Average turbulence kinetic energy / intensity tucker FLUENT 2 January 11, 2006 21:40


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