CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   roughness function (https://www.cfd-online.com/Forums/star-ccm/152542-roughness-function.html)

sarahtuvia May 3, 2015 10:03

roughness function
 
Hi
I would like to get the results of the roughness parameters and function during
and at the end of the simulation. In the list of field functions I did not find anything. How can I get it ??

fluid23 May 4, 2015 10:59

what roughness parameters are you talking about, specifically?

sarahtuvia May 4, 2015 11:27

Rplus, kinematic viscosity and Ustar

fluid23 May 4, 2015 11:53

Ok... First I will point out that these are not roughness parameters. Ustar is a turbulence parameter, kinematic viscosity is an intrinsic property of the fluid, and I am unfamiliar with Rplus.

Ustar is a standard field function. Are you sure you don't see it under Tools > Field Functions? Its all the way at the bottom and called Ustar, not friction velocity.

Kinematic Viscosity can be added to the field functions quite easily:
1. Right-Click Tools > Field Functions
2. Select New > Scalar
3. Set Function Name to KinematicViscosity
4. Set Dimensions to Length^2/Time
5. Set Definition to ${DynamicViscosity}/${Density}
7. Rename Field Function to Dynamic Viscosity.
8. Now use it like you would any other field funciton.

As for R+, are you sure you don’t mean y+ (as in wall y+)? Wall y+ is also a standard field function (assuming you have a turbulence model enabled). If r+ is something else, can you please define it?

sarahtuvia May 4, 2015 13:36

Thanks
About R+. You can find it in the Help in sub section Roughness Function of sub section Wall Laws Formula of section Using Wall Treatment Models.
But if Ill be able to get the kinematic viscosity then Ill get the R+ too - its a function of Ustar the kinematic viscosity and the roughness height which is an input


All times are GMT -4. The time now is 01:28.