Using CEL Funtion
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.
|
Re: Using CEL Funtion
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.
|
Re: Using CEL Funtion
Thanks alot Chris
|
Re: Using CEL Funtion
Glad the tip worked for you! Good luck with your remaining simulations.
|
Re: Using CEL Funtion
But tell us how to do that?
Best |
Re: Using CEL Funtion
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. |
Re: Using CEL Funtion
Thanks.
|
All times are GMT -4. The time now is 11:12. |