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 Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By donQi

Reply
 
LinkBack Thread Tools Display Modes
Old   July 29, 2015, 06:56
Exclamation wall roughness in OpenFOAM
  #1
Senior Member
 
harshawardhank
Join Date: Mar 2014
Posts: 118
Rep Power: 5
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, 21:43
Default
  #2
Member
 
Al
Join Date: Jul 2013
Location: Japan
Posts: 45
Blog Entries: 3
Rep Power: 7
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
xinsui178 likes this.
donQi is offline   Reply With Quote

Old   October 31, 2017, 23:40
Smile function
  #3
New Member
 
xin
Join Date: Jun 2016
Posts: 8
Rep Power: 3
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Divergence in AMG solver! marina FLUENT 18 August 17, 2017 01:25
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
Wall roughness oj.bulmer FLUENT 0 March 31, 2014 11:11
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30


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