Page 1 of 1

Roughness

Posted: Wed Jun 16, 2010 4:01 pm
by Stéphane Blanchet
Dear support and users,
I have a question regarding the roughness:
when we set the roughness different to zero, what exactly changes in the code?
I looked in the theory guide, and apparently, the roughness is used for the calculation of the friction velocity. Is that all? or did I miss something?
I guess the roughness is also used for the linear head loss calculation.
My best regards,
 
Stéphane

Re: Roughness

Posted: Thu Jun 17, 2010 12:49 am
by David Monfort
Hi Stéphane,
Actually, the roughness (dynamic or thermal) is only used for wall-functions. The code never sets by itself a head loss in the calculation. For example, here are two wall functions, the first for a smooth wall and the second for a rough wall:
u/u * = 1/kappa . ln(yu * /nu) + B

u/u* = 1/kappa . ln(y/y 0 ) + E
Rough walls can also be used to model forests or buildings in atmospheric flows.
David

Re: Roughness

Posted: Thu Jun 17, 2010 6:04 pm
by Stéphane Blanchet
Hi,
Thank you for your answer David.
Stéphane