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

A new error in CFX CEL expression

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 21, 2013, 15:31
Default A new error in CFX CEL expression
  #1
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 6
Chander is on a distinguished road
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
Chander is offline   Reply With Quote

Old   August 21, 2013, 16:03
Default
  #2
Senior Member
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 1,098
Rep Power: 19
flotus1 will become famous soon enoughflotus1 will become famous soon enough
I count an odd number of brackets in the expression...
flotus1 is offline   Reply With Quote

Old   August 21, 2013, 16:05
Default
  #3
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 6
Chander is on a distinguished road
Oh that is just a copy paste error. Sorry about that.

Thanks for your reply
Chander is offline   Reply With Quote

Old   August 21, 2013, 16:06
Default
  #4
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 6
Chander is on a distinguished road
The CEL expression is

avg vel w1 = abs((probe(Velocity w)@MPx1y1))
Chander is offline   Reply With Quote

Old   August 21, 2013, 18:48
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,828
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
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.
ghorrocks is offline   Reply With Quote

Old   August 24, 2013, 14:09
Default
  #6
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 6
Chander is on a distinguished road
@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
Chander is offline   Reply With Quote

Reply

Tags
cel expression, cfx

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to monitor a CEL expression Luca L CFX 2 September 24, 2012 21: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 07: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 08:18
Casson CEL expression CC CFX 1 October 3, 2007 09:06


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