CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

How are Wall Functions Practically Implemented!

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

Like Tree1Likes
  • 1 Post By mprinkey

LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2016, 12:11
Default How are Wall Functions Practically Implemented!
New Member
Join Date: Jun 2016
Posts: 2
Rep Power: 0
pche8701 is on a distinguished road

I understand conceptually what wall functions are, why we need them, and to a good extent, their derivations and intuitions. However I feel that all my sources essentially only stop from there, and don't show the extra step on how they functions are practically implemented in code.

For example:

- As the wall functions are basically just "boundary conditions" are we only concerned at the values at the top of the wall functions, and how they meet with nodes?

- If this is the case, is the actual functional shape of these wall models of any concern? As in, can they look however they want (even if it doesn't fit experiment) so long as the value between top of the function, and the first node match in terms of BCs? OR is the entire functional shape important when you code up the wall function?

- Do the wall function implementations need to be specifically tailored in any way depending to the fluid solver scheme (turbulent solver)you are running?

I honestly can't get clear-cut questions on these issues from anywhere else I've looked. Textbooks and such only ever go over theory, derivations, and general discussions (which is great), but not down to an actual implementation stage (and I also find a lot of CFD courses never actually touch this issue as well )....

SO, any help on these questions would be fantastic . And I would appreciate links to any sources which could help me / any discussion on the issue.

pche8701 is offline   Reply With Quote

Old   June 1, 2016, 22:43
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough

I never looked precisely at the wall equations code in Fluent, but I think that explains it pretty well.

If you speak OpenFOAM, you can look exactly how the wall functions are implemented here:


The details are different for different base turbulence models, of course, but you can probably look over kEpsilon under incompressible for simplicity.
pche8701 likes this.
mprinkey is offline   Reply With Quote

Old   June 2, 2016, 10:58
New Member
Join Date: Jun 2016
Posts: 2
Rep Power: 0
pche8701 is on a distinguished road
Thanks for that! I also did some additional digging, and found some extra sources of information which I'll share here in case anyone runs into trouble in the future.

Versteeg pp. 275
.... and of course the suggestions by Michael Prinkey.

I think once you pointed me in the right direction initially I had a better understanding on which keywords to use in the search.

Last edited by pche8701; June 5, 2016 at 06:04.
pche8701 is offline   Reply With Quote


computation, implementation, wall, wall functions, wall model

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
Wall functions - questions about implementation AlmostSurelyRob OpenFOAM Programming & Development 44 May 6, 2020 10:11
Wall functions in SU2 xgarnaud SU2 3 March 6, 2017 14:50
Boundary Field and Wall Functions, time 0 & time >0 NJG OpenFOAM Running, Solving & CFD 1 April 5, 2013 10:48
wall functions implementation besh OpenFOAM Programming & Development 0 January 1, 2013 09:14
Wall Functions pierre OpenFOAM Running, Solving & CFD 0 October 1, 2005 13:13

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