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

How to implement wall function in my code?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 17, 2015, 06:27
Default How to implement wall function in my code?
  #1
dli
New Member
 
dengli
Join Date: Mar 2015
Posts: 22
Rep Power: 11
dli is on a distinguished road
Hello,everyone.I'm new to wall functions,since I don't have a thorough understanding of turbulent theory or boundary layer,I want to someone to help me about how to use the wall functions. The problem is I don't know how to use the wall shear stress and the wall heat loss.
Let me introduce my own understanding of the process of wall function.
First,using velocity at the first point P near the wall to compute the friction velocity u_star(either the log law in the log region or the linear law in the viscous sublayer, depend on the y_plus).
Second,after finding the friction velocity,we can calculate the wall shear stress as well as wall heat loss.This is my question,after getting these two parameters,how should I do with them?For the k-epsilon equations,we can get k using its original equation, and epsilon can be calculated by a simple algebraic formulation.
and for other flow variables, such as rho,u,v,w,p, Are they computed from the N-s equations?
Can someone give me some ideas,or give me a flow chart of implement the wall function,thank you very much.
dli is offline   Reply With Quote

Old   May 17, 2015, 09:06
Default
  #2
Member
 
garry
Join Date: Oct 2013
Posts: 41
Rep Power: 13
yzeyue is on a distinguished road
It should be implemented in the turbulence model subroutine. Read some paper and it is not difficult.
Good luck!

yzeyue
yzeyue is offline   Reply With Quote

Old   May 17, 2015, 10:51
Default
  #3
dli
New Member
 
dengli
Join Date: Mar 2015
Posts: 22
Rep Power: 11
dli is on a distinguished road
Quote:
Originally Posted by yzeyue View Post
It should be implemented in the turbulence model subroutine. Read some paper and it is not difficult.
Good luck!

yzeyue
Dear yzeyue,can you give me some papers? I couldn't find a useful article(i suppose) for topic,thank you~
dli is offline   Reply With Quote

Old   May 20, 2015, 07:32
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,191
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
For what concerns velocity and temperature, the wall shear stress and heat flux computed by the wall function just need to supersede the viscous term toward the wall.

For turbulence variables, instead, wall functions are usually used to fix them in the first cell near the wall
sbaffini is offline   Reply With Quote

Old   May 20, 2015, 23:42
Default
  #5
dli
New Member
 
dengli
Join Date: Mar 2015
Posts: 22
Rep Power: 11
dli is on a distinguished road
Quote:
Originally Posted by sbaffini View Post
For what concerns velocity and temperature, the wall shear stress and heat flux computed by the wall function just need to supersede the viscous term toward the wall.

For turbulence variables, instead, wall functions are usually used to fix them in the first cell near the wall
Thanks for your reply.
As for adiabatic wall,the wall heat flux was zero,for the isothermal wall ,we usually specify the Tw, and the heat flux can be derived from wall function,right?
Another question for the solution of turbulence variable k ,I read some papers and fluent's manual,one is solving k directly - from a simple algebraic formulation,another is specifying the production term of K from wall function,and solve this parameter as in outer layer. Are they different approaches to get the turbulence parameters?I'm confused by the papers.
dli is offline   Reply With Quote

Old   May 21, 2015, 04:57
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,191
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
You are right for the temprature: if you know the heat flux you don't need the wf at all; if you know Tw then you solve the temerature wall function after the velocity one (so that you know u_tau, which is probably needed in your temerature wall function).

I'm not very expert on the turbulence variables (i usually work in LES ), but i guess that following the Fluent references would not be bad. Another option is to check OpenFOAM or Code_Saturne implementation.
sbaffini is offline   Reply With Quote

Reply

Tags
turbulence, wall function

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 16:33
Radiation interface hinca CFX 15 January 26, 2014 18:11
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
WALL FUNCTION: Implement process boling2002 Main CFD Forum 2 June 8, 2004 10:32
Wall function in adverse pressure gradients stephane baralon Main CFD Forum 11 September 2, 1999 05:05


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