|
[Sponsors] |
August 13, 2008, 16:46 |
Using CEL Funtion
|
#1 |
Guest
Posts: n/a
|
I created an expression with CEL which has velocity as its denominator. However, when CFX solver runs, it crashes because there are regions within my domain which have zero velocity i.e velocity = 0.(since a zero denominated equation cannot be solved). Please how can I limit or minimise the value of the velocity in the CEL expression to around 0.001 to enable CFX solver run successfully. Thanks.
|
|
August 13, 2008, 18:09 |
Re: Using CEL Funtion
|
#2 |
Guest
Posts: n/a
|
check the help files for the CEL functions min( ) and max( ) and create a CEL parameter that depends on the the comparison between your threshold (0.001) and the velocity.
|
|
August 14, 2008, 18:30 |
Re: Using CEL Funtion
|
#3 |
Guest
Posts: n/a
|
Thanks alot Chris
|
|
August 15, 2008, 12:14 |
Re: Using CEL Funtion
|
#4 |
Guest
Posts: n/a
|
Glad the tip worked for you! Good luck with your remaining simulations.
|
|
August 15, 2008, 20:09 |
Re: Using CEL Funtion
|
#5 |
Guest
Posts: n/a
|
But tell us how to do that?
Best |
|
August 18, 2008, 10:38 |
Re: Using CEL Funtion
|
#6 |
Guest
Posts: n/a
|
Apologize if my first response was a bit vague (other forums do not like full descriptions). Here are some additional details.
1) Help files - check the CFX Pre help files for CEL functions and variables. There will be min() and max() functions and the variables for velocity. 2) Create a new CEL parameter - create a new CEL expression either through the toolbar button or the menus at the top. 3) In the parameter use the following syntax (without quotation marks): " max( [0.001] [velocity variable] ) ". 4) Use this parameter in another CEL expression to ensure that either the minimum value your newly created CEL parameter can have is 0.001 Hope the additional details help. |
|
August 18, 2008, 20:37 |
Re: Using CEL Funtion
|
#7 |
Guest
Posts: n/a
|
Thanks.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Angle variable under CEL. | Gloria Gaynor | CFX | 11 | November 26, 2012 07:29 |
CEL expression | vmlxb6 | CFX | 1 | March 18, 2011 07:39 |
pressure and p in CEL | jiguozhao | CFX | 1 | March 18, 2011 07:38 |
junction box routine and CEL function | bornspur | CFX | 2 | February 3, 2009 03:24 |
Rotate node via cel | Elian81 | CFX | 2 | September 25, 2007 06:31 |