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

wall roughness in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 6 Post By donQi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2015, 06:56
Exclamation wall roughness in OpenFOAM
  #1
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 209
Rep Power: 13
harsha_kulkarni is on a distinguished road
I want to give roughness for wall in OpenFOAM
how should I give this????

what is the difference between

nutURoughWallFunction
and
nutkRoughWallFunction


and when I'm using following t

type nutURoughWallFunction::Ks;
value uniform 0.001;
type nutURoughWallFunction::Cs;
value uniform 0.5;

it produces following error

Unknown patchField type nutURoughWallFunction::Cs for patch type wall

Last edited by harsha_kulkarni; July 29, 2015 at 08:43.
harsha_kulkarni is offline   Reply With Quote

Old   November 15, 2016, 20:43
Default
  #2
Member
 
Al
Join Date: Jul 2013
Location: Japan
Posts: 47
Blog Entries: 3
Rep Power: 13
donQi is on a distinguished road
- nutkRoughWallFunction
http://www.openfoam.com/documentatio...0.html#details
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions for rough walls, based on turbulence kinetic energy. The condition manipulates the E parameter to account for roughness effects.
Parameter ranges:
roughness height = sand-grain roughness (0 for smooth walls)
roughness constant = 0.5-1.0
Example of the boundary condition specification:

Code:
myPatch
    {
        type            nutkRoughWallFunction;
        Ks              uniform 0;
        Cs              uniform 0.5;
    }
where
Ks sand-grain roughness height
Cs roughness constant
--------------------------------------
- nutURoughWallFunction
[http://www.openfoam.com/documentatio....html#details]
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions for rough walls, based on velocity.
Example of the boundary condition specification:
Code:
myPatch
    {
        type            nutURoughWallFunction;
        roughnessHeight 1e-5;
        roughnessConstant 0.5;
        roughnessFactor 1;
    }
where:
roughnessHeight roughness height
roughnessConstant roughness constant
roughnessFactor scaling factor
donQi is offline   Reply With Quote

Old   October 31, 2017, 22:40
Smile function
  #3
New Member
 
xin
Join Date: Jun 2016
Posts: 9
Rep Power: 9
xinsui178 is on a distinguished road
Do you know the exact equation for turbulent kinematic viscosity based on the two wall functions?


Quote:
Originally Posted by donQi View Post
- nutkRoughWallFunction
http://www.openfoam.com/documentatio...0.html#details
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions for rough walls, based on turbulence kinetic energy. The condition manipulates the E parameter to account for roughness effects.
Parameter ranges:
roughness height = sand-grain roughness (0 for smooth walls)
roughness constant = 0.5-1.0
Example of the boundary condition specification:

Code:
myPatch
    {
        type            nutkRoughWallFunction;
        Ks              uniform 0;
        Cs              uniform 0.5;
    }
where
Ks sand-grain roughness height
Cs roughness constant
--------------------------------------
- nutURoughWallFunction
[http://www.openfoam.com/documentatio....html#details]
This boundary condition provides a turbulent kinematic viscosity condition when using wall functions for rough walls, based on velocity.
Example of the boundary condition specification:
Code:
myPatch
    {
        type            nutURoughWallFunction;
        roughnessHeight 1e-5;
        roughnessConstant 0.5;
        roughnessFactor 1;
    }
where:
roughnessHeight roughness height
roughnessConstant roughness constant
roughnessFactor scaling factor
xinsui178 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
Divergence in AMG solver! marina FLUENT 20 August 1, 2020 11:30
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Wall roughness oj.bulmer FLUENT 0 March 31, 2014 11:11
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


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