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

Wall function for velocity?

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

Like Tree2Likes
  • 2 Post By SadBoySquad

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2011, 09:50
Default Wall function for velocity?
  #1
New Member
 
Join Date: Feb 2011
Posts: 2
Rep Power: 0
johnblund is on a distinguished road
Hi,

I am modeling atmospheric flows using a standard KE model. I have had some problems reproducing earlier results from e.g Hargreaves and Wright (2006) and Blocken et.al (2007)

I am sure that the differences are caused by different wall functions being applied, as I am sure inlet profiles are correct.

I have identified the wall functions used for k and epsilon (kqRWallFunctionFvPatchFIeld.C and epsilonWallFunctionFvPatchField.C), but I cannot find the wall function for velocity.

I want to make sure that the velocity is set according to the logarithmic law in the wall adjacent cells. I am only able to see that it is set to zero at the wall in the 0/U-file.

Does anyone know how the velocity is set in the wall-adjacent cells? And an easy way of defining a wall function for velocity close to the wall if it does not exist allready.

kind regads
John
johnblund is offline   Reply With Quote

Old   January 15, 2019, 18:52
Default
  #2
Member
 
Hector
Join Date: Jul 2010
Location: Barcelona
Posts: 30
Rep Power: 15
hectorgabriel85 is on a distinguished road
I cannot find wall function for velocity U in OpenFOAM. I am aware Fluent uses wall law for the velocity and not only for k or epsilon or omega.
hectorgabriel85 is offline   Reply With Quote

Old   August 21, 2022, 11:13
Default
  #3
Member
 
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 4
daylen is on a distinguished road
is there a wall function in openFoam for velocity? if i put wall functions for k, nut and omega for k omega sst, how is velocity calculated? and how pressure is calculated? pressure needs a wall function or not? in openfoam tutorials velocity has noSlip and pressure zeroGradient, is this good enough when simulating using wallfunctions?
daylen is offline   Reply With Quote

Old   September 6, 2022, 08:22
Default
  #4
New Member
 
Join Date: May 2021
Location: Athens, Greece
Posts: 26
Rep Power: 4
SadBoySquad is on a distinguished road
OpenFOAM indeed does not have wall functions explicitly for velocity. This is a matter of how OpenFOAM treats wall functions.

The desired near-wall behavior is achieved by modifying the turbulent viscosity and, thus, the wall functions are embedded in the turbulent viscosity boundary conditions file (nut) and not in the velocity file (U). Modifying near-wall turbulent viscosity essentially alters the shear stress which in turn will modify the velocity field.

Available boundary conditions (which include wall functions) for nut are described here:
https://www.openfoam.com/documentati...ived-wall.html.

In addition, I am happy to inform you that if you are working on the classic Hargreaves and Wright paper for downstream atmospheric development in a rectangular box, the complete case setup is available in the tutorials folder (at least for OpenFOAM v2112 or newer), since this is a classic validation case:
$FOAM_TUTORIALS/verificationAndValidation/atmosphericModels/atmDownstreamDevelopment
daylen and fly_light like this.
SadBoySquad is offline   Reply With Quote

Reply

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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Need some wall function approaches! yka8150 Main CFD Forum 0 September 22, 2009 00:08
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27
Wall function tod Phoenics 1 May 19, 2003 06:05


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