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

Expressions with more that one variables

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2007, 02:43
Default Expressions with more that one variables
  #1
Houman
Guest
 
Posts: n/a
Hi to everyone,

How can I evaluate "Expressions" with more that one variables, which I have already set in Pre- and the Res. file is also created!?

any comments would be highly appreciated...

Regards, Houman

I get this error message:

ERROR #001100279 has occurred in subroutine ErrAction. Message:CEL_VALUE requested the evaluation of a single valued CEL expression. However, the expression specified for "Monitor Point 1" is not single valued. One or more sub-expressions yield field values band must be corrected to yield single values.
  Reply With Quote

Old   April 5, 2007, 09:07
Default Re: Expressions with more that one variables
  #2
Stumpy
Guest
 
Posts: n/a
If you use an expression for a Monitor Point, it has to evaluated to a single number, not a field variable. You can use the callback functions (areaAve, volumeInt etc) to get single numbers for field variables on a specified locator.

  Reply With Quote

Old   April 5, 2007, 09:34
Default Re: Expressions with more that one variables
  #3
Houman
Guest
 
Posts: n/a
Hi Stumpy,

thanks for your reply, the fact is the my expression (ds=26*dR*(dR^2*g * Water at RTP.density /SuTen)^-0.5*(g *dR ^3/KV^2 )^-0.12*(uG /sqrt(g *dR))^-0.12) calculates the bubble diameter (of the gas in a bubble column with 2 phases) so I just wanted to see the result of ds (bubble diameter) in the output file of the CFX. could you please instruct me in this regard.

thanks in advance, Houman
  Reply With Quote

Old   April 5, 2007, 11:34
Default Re: Expressions with more that one variables
  #4
Stumpy
Guest
 
Posts: n/a
To avoid the error you got, remove the monitor point.

If you created this expression in CFX-Pre, then it will appear in CFX-Post also. You can create a new variables in CFX-Post (on the Variables tab) that is equal to this expression.
  Reply With Quote

Old   April 6, 2007, 08:06
Default Re: Expressions with more that one variables
  #5
houman
Guest
 
Posts: n/a
Thanks for the tip... it really helped a lot...

best regards, houman

  Reply With Quote

Reply


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
ADDITIONAL VARIABLES LIMITERS N.P CFX 5 December 1, 2011 07:47
Grouping expressions in CEL foo7 CFX 4 September 21, 2011 09:15
$FOAM_USER_APPBIN & LIBBIN variables not set rassilon OpenFOAM Installation 2 February 16, 2010 20:54
PHI file structure Eugene Phoenics 9 November 2, 2001 22:00
Saving variables on a user patch with physical coordinates Zoltan Turzo CFX 2 April 20, 2000 15:05


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