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

wall Functions based on Aerodynamic roughness

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2011, 12:08
Default wall Functions based on Aerodynamic roughness
  #1
New Member
 
Juanito
Join Date: Oct 2010
Posts: 27
Rep Power: 16
Aerospace is on a distinguished road
Hello everybody,

I would like to know if there is any available wallFunction in openFoam wich employs the aerodynamic roughness instead of sand roughness for the K-epsilon model o any other turbulence model.

Thank you very much in advance.
Aerospace is offline   Reply With Quote

Old   June 2, 2012, 08:25
Default
  #2
New Member
 
Juanito
Join Date: Oct 2010
Posts: 27
Rep Power: 16
Aerospace is on a distinguished road
Hello!

In the last OpenFOAM release (OF 2.1.1), the announce says:

A new nuAtmRoughWallFunction wall function model, specialised for
atmospheric velocity profiles has been added in 2.1.1.


I glance the code and the new function seems to be using directly the aerodinamic roughnes value of the terrain Z0. So this function, doesn't requires the sand grain value? it can just employ the aeodynamic roughness value?

Anyone knows if this is ok?

Thankyou very much in advance
Aerospace is offline   Reply With Quote

Old   June 4, 2012, 09:12
Default
  #3
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18
fs82 is on a distinguished road
Within the field of meteorology the usage of z0 is quite common. Normally one uses the Monin-Obukhov relationship, but for incompressible flows with neutral stability (no temperature induced buoyancy effects) this relationship reduces to the common known logarithmic law for rough walls, which could be found in every textbook, e.g. boundary layer theory of Schlichting. z0 is a displacement height, e.g. in small scale simulations it represents a grass layer or in large scale simulations a whole forest. I do not really know what is implemented in nuAtmRoughWallFunction but a logarithmic wall law is really easy to implement. I have attached my version, but it is used for LES (nuSGS). But you should be able to change nuSGS to nut for RANS simulations.

Best regards,
Fabian
Attached Files
File Type: zip simpleRoughWallFunction.zip (12.0 KB, 61 views)
fs82 is offline   Reply With Quote

Old   October 16, 2012, 10:20
Default
  #4
Senior Member
 
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18
fs82 is on a distinguished road
There is a serious bug in the wall function. I fixed it in the attached version.
Attached Files
File Type: zip simpleRoughWallFunction.zip (9.4 KB, 58 views)
fs82 is offline   Reply With Quote

Old   March 1, 2013, 12:23
Default
  #5
Member
 
Marcus Letzel
Join Date: Sep 2012
Location: Bremen
Posts: 35
Rep Power: 14
letzel is on a distinguished road
Dear Fabian,

my target is to perform urban LES, i.e. LES with a rough bounding surface (bottom, building walls, pitched roofs). I would like to use different meteorological roughness lengths for the different types of bounding surfaces.

I would like to ask you the following questions:
  1. Can your code be applied to different types of bounding surfaces with individual settings (e.g. different z0 for bottom, building walls, pitched roofs)?
  2. Do you also provide a wall function for U in a similar fashion, or do you use one of the existing wall functions instead?
  3. Could you kindly provide a sample case set-up so that I could better understand how to apply your wall function code in practise?
  4. Can your code deal with non-horizontal surfaces (such as building walls, pitched roofs)?
Looking forward to receive your reply.


Best regards,
Marcus
letzel 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
wall roughness effect on pressure drop mactech001 CFX 16 February 22, 2013 06:55
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
Wall Functions pierre OpenFOAM Running, Solving & CFD 0 October 1, 2005 14:13
Wall functions? Pr Main CFD Forum 7 April 8, 2004 07:15
Wall functions John Grimm Main CFD Forum 13 February 1, 2002 19:34


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