# Using CEL Funtion

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

 August 13, 2008, 15:46 Using CEL Funtion #1 jaiye 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, 17:09 Re: Using CEL Funtion #2 Chris Basciano 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, 17:30 Re: Using CEL Funtion #3 jaiye Guest   Posts: n/a Thanks alot Chris

 August 15, 2008, 11:14 Re: Using CEL Funtion #4 Chris Basciano Guest   Posts: n/a Glad the tip worked for you! Good luck with your remaining simulations.

 August 15, 2008, 19:09 Re: Using CEL Funtion #5 Rogerio Fernandes Brito Guest   Posts: n/a But tell us how to do that? Best

 August 18, 2008, 09:38 Re: Using CEL Funtion #6 Chris Basciano 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, 19:37 Re: Using CEL Funtion #7 Rogerio Fernandes Brito Guest   Posts: n/a Thanks.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Gloria Gaynor CFX 11 November 26, 2012 07:29 vmlxb6 CFX 1 March 18, 2011 07:39 jiguozhao CFX 1 March 18, 2011 07:38 bornspur CFX 2 February 3, 2009 03:24 Elian81 CFX 2 September 25, 2007 05:31

All times are GMT -4. The time now is 07:50.