CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

How to apply variabe roughness, e.g. to complex terrain?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 29, 2010, 17:23
Question How to apply variabe roughness, e.g. to complex terrain?
  #1
New Member
 
Fridolin W.
Join Date: Nov 2010
Posts: 1
Rep Power: 0
Fridolin is on a distinguished road
Hello,

I'm new to OpenFOAM and am trying to run wind simulations over complex terrain. I'm just working my way through simpleWindFoam and the turbineSiting tutorial. I understand that in 0/nut a constant roughness is applied to the complex terrain surface:

Code:
   "terrain_.*"
    {
        type            nutRoughWallFunction;
        Ks              0.2; //Ks = 20 Z0
        Cs              0.5;
        value           uniform 0.0;
    }
Now I would like to apply non-uniform roughness to the terrain. I understand I could set up several patches and apply BC type nutRoughWallFunction to all of them but with varying Ks and Cs. But is it also possible to define variable roughness pointwise, i.e. defining the BC type nutRoughWallFunction as above but set a non-uniform list for Ks and Cs?

NB: I had a look into nut in a later time directory, e.g. 50/nut and there it says:

Code:
   terrain_patch0
    {
        type            nutRoughWallFunction;
        Cmu             0.09;
        kappa           0.41;
        E               9.8;
        Cs              uniform 0.5;
        Ks              uniform 0.2;
        value           nonuniform List<scalar>
        [...]
    }
Cs (and Ks) being set to uniform 0.5 (and 0.2 respectively) suggests that it could also be set to a non-uniform list, i.e. roughness could be defined point-wise. However, I am not sure that doing this in 0/nut would make the nutRoughWallFunction "understand" what I want.

Any help greatly appreciated!!!

Thanks, Fridolin
Fridolin is offline   Reply With Quote

Old   February 22, 2011, 08:02
Default
  #2
New Member
 
Join Date: Feb 2011
Posts: 2
Rep Power: 0
johnblund is on a distinguished road
Hi,

I am working on this issue now. My first thought was to apply different roughness to different patches, but this solution is not very flexible.

If anyone else have some info or hints on this issue, they will be appreciated

kind regards
John
johnblund is offline   Reply With Quote

Old   September 24, 2012, 07:25
Default Did you ever reach a solution
  #3
New Member
 
Hanan Einav-Levy
Join Date: May 2011
Posts: 10
Rep Power: 5
hananfoam is on a distinguished road
Hello johnblund,
Have you ever reached a solution?
If so, can u share it?

Thanks,
Hanan.

p.s. - working on the same problem
hananfoam 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
nutRoughWallFunction and Surface Roughness Documented AlanR OpenFOAM 46 January 18, 2012 11:45
complex roughness pattern Tarnz FLUENT 3 February 25, 2005 05:55
Complex terrain geometry as using AutoCAD? Dai Phoenics 10 June 15, 2003 10:20


All times are GMT -4. The time now is 23:13.