CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Unit of Expression (

Fing May 27, 2004 01:40

Unit of Expression

I would like to input a viscosity expression but I can not how to solve the problem of the unit of the expression. My expression will be:

M_u = exp(1.2 - 2.9*log_e(4.5*sstrnr))

where M_u is dynamic viscosity, sstrnr is the strain rate. How can I solve the unit problem?



matej May 27, 2004 03:41

Re: Unit of Expression
What I allways do is simple trick. in logs and exps multiplying the variables with 1 of reciprocal unit, and multiplying the result with a 1.0 with the desired unit.

if you have a some variable A [m^2] in a exp(A), and you want the result B in [K] using formula B= 100.0*exp(A), (really silly example), what you do is: B=100.0 [K] * exp(A *1.0 [m^-2])

and that's it!


Fing May 27, 2004 10:17

Thank you, matej
Thanks, matej.



All times are GMT -4. The time now is 20:31.