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

Using CEL Funtion

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2008, 16:46
Default 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.
  Reply With Quote

Old   August 13, 2008, 18:09
Default 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.
  Reply With Quote

Old   August 14, 2008, 18:30
Default Re: Using CEL Funtion
  #3
jaiye
Guest
 
Posts: n/a
Thanks alot Chris
  Reply With Quote

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

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

Best
  Reply With Quote

Old   August 18, 2008, 10:38
Default 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.
  Reply With Quote

Old   August 18, 2008, 20:37
Default Re: Using CEL Funtion
  #7
Rogerio Fernandes Brito
Guest
 
Posts: n/a
Thanks.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 23:39.