CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Writting In Expression (https://www.cfd-online.com/Forums/cfx/84090-writting-expression.html)

HMR January 19, 2011 22:49

Writting In Expression
 
Hi,

I am unable to write following expression
(Pressure-51957[Pa]/(0.5*996.2[kgm^-3]*16.91[ms^-1]^2

I am getting the following error

"ERROR
Syntax error detected in the expression assigned to 'PCoef'.
Successfully read 30 characters:
(Pressure-51957[Pa]/(0.5*996.2
then error detected at:
[kgm^-3]*16.91[ms^-1]^2
Details - Unrecognised or invalid units."

If I write a expression having same unit then its ok but like above type of expression I can't create in CFX V12.1.

Please help me.

Lance January 20, 2011 02:29

Try [kg m^-3] and [m s^-1] instead of [kgm^-3] and [ms^-1]

and maybe also (16.91[m s^-1])^2 instead of 16.91[ms^-1]^2

saisanthoshm88 January 20, 2011 02:49

The expression is to be entered as:

(Pressure-51997[Pa])/(0.5*996.2[kg<space>m^-3]*(16.91^2)[m<space>s^-1]).

HMR January 20, 2011 03:02

Its working, thanks you guys


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