CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Writting In Expression

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2011, 23:49
Angry Writting In Expression
  #1
HMR
Member
 
HMR
Join Date: Jan 2011
Posts: 31
Rep Power: 15
HMR is on a distinguished road
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.
HMR is offline   Reply With Quote

Old   January 20, 2011, 03:29
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
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
Lance is offline   Reply With Quote

Old   January 20, 2011, 03:49
Default
  #3
Senior Member
 
---------
Join Date: Oct 2010
Posts: 303
Rep Power: 17
saisanthoshm88 is on a distinguished road
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]).
__________________
Best regards,
Santhosh.
saisanthoshm88 is offline   Reply With Quote

Old   January 20, 2011, 04:02
Default
  #4
HMR
Member
 
HMR
Join Date: Jan 2011
Posts: 31
Rep Power: 15
HMR is on a distinguished road
Its working, thanks you guys
HMR is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem About Running Fluent In Linux mitra FLUENT 18 June 20, 2019 03:11
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Lift, Drag Vs time chart,calculations Jamesd69climber CFX 8 February 17, 2005 18:23
Creating, loop or iteration using expression edito Jan CFX 3 July 28, 2003 12:01


All times are GMT -4. The time now is 05:30.