|
[Sponsors] |
March 10, 2011, 09:50 |
Wall function for velocity?
|
#1 |
New Member
Join Date: Feb 2011
Posts: 2
Rep Power: 0 |
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 |
|
January 15, 2019, 18:52 |
|
#2 |
Member
Hector
Join Date: Jul 2010
Location: Barcelona
Posts: 30
Rep Power: 16 |
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.
|
|
August 21, 2022, 11:13 |
|
#3 |
Member
Gabriel
Join Date: Aug 2021
Posts: 37
Rep Power: 5 |
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?
|
|
September 6, 2022, 08:22 |
|
#4 |
New Member
Join Date: May 2021
Location: Athens, Greece
Posts: 28
Rep Power: 5 |
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 |
|
|
|
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 |