|
[Sponsors] |
August 21, 2013, 16:31 |
A new error in CFX CEL expression
|
#1 |
Senior Member
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 16 |
Hi,
1) Is there any upper limit to number of CEL expressions that can be used in CFX? 2) Is there any upper limit to number of monitor points that can be used in CFX? 3) I need to use velocity at a particular location in CEL expression. To access that value, I created a cartesian probe point and accessed Velocity w value as below: avg vel w1 = abs((probe(Velocity w)@MPx1y1) where MPx1y1 is a cartesian monitor point However I get the following error before the start of iteration: ERROR #001100279 has occurred in subroutine ErrAction. | | Message: | | An error: Illegal argument for callback function probe(Velocity w- | | )@MONP266 The probe point is in liquid flow region and hence Velocity w should be defined there. How can I solve this error. Thanks for your inputs Best regards |
|
August 21, 2013, 17:03 |
|
#2 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
I count an odd number of brackets in the expression...
|
|
August 21, 2013, 17:05 |
|
#3 |
Senior Member
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 16 |
Oh that is just a copy paste error. Sorry about that.
Thanks for your reply |
|
August 21, 2013, 17:06 |
|
#4 |
Senior Member
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 16 |
The CEL expression is
avg vel w1 = abs((probe(Velocity w)@MPx1y1)) |
|
August 21, 2013, 19:48 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Upper limit to CEL expressions - yes, but I am not sure what that is. It is certainly enough for most normal applications but I suspect if you have hundreds of them things might slow down and if you have thousands it might not work. Just give it a go and see. I also suspect some work was done in V15 beta to increase the number of allowable CEL expressions.
Upper limit to monitor points - yes, but again it will be a lot and enough for normal uses. The CCL is limited to a maximum length (not sure what it is) by the parser and if you have enough monitor points you will reach that limit. Try "w" as the variable in your expression, not Velocity w. No guarantees, but worth a try. |
|
August 24, 2013, 15:09 |
|
#6 |
Senior Member
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 16 |
@ghorrocks
Thanks for your inputs I realized that the problem was coming from the fact that CFX was revising the monitor point locations close to walls to locations on the walls. Shifting those monitor points slightly further away from wall solved the problem |
|
Tags |
cel expression, cfx |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to monitor a CEL expression | Luca L | CFX | 2 | September 24, 2012 22:55 |
Is there a way to set a CEL expression to the density of a material at a temperature? | audrey | CFX | 11 | July 19, 2012 08:51 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
Importing 3D data as CEL into ANSYS CFX 11.0 | Dave W. | CFX | 9 | October 19, 2007 09:18 |
Casson CEL expression | CC | CFX | 1 | October 3, 2007 10:06 |