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

CEL Expressions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2007, 12:03
Default CEL Expressions
  #1
Nick
Guest
 
Posts: n/a
Hi, I'm trying to implement a CEL expression in CFX post, and for some reason the function won't plot properly. I checked to see the minimum pressure to see if there was some strange negative value somewhere, and the minimum came back as 787868 [Pa]

But when I try to apply the following expression

loge(p/(101325 [kg m^-1 s^-2]))

I get this error:

The problem was:

LOGe-OF-NON-POSITIVE

The error occurs on sub-expression: loge(p/(101325 [kg m^-1 s^-2]))

Any idea why this is happening??
  Reply With Quote

Old   September 25, 2007, 12:35
Default Re: CEL Expressions
  #2
CycLone
Guest
 
Posts: n/a
Try using "Absolute Pressure" instead of 'p', which is the relative pressure.
  Reply With Quote

Old   September 25, 2007, 12:57
Default Re: CEL Expressions
  #3
Nick
Guest
 
Posts: n/a
Unfortunately, I get the same result when I try using Absolute Pressure.

I don't really 'need' to see the plot, I just need to know that the function actually works so I can use it in a definition in CFX Pre. What I'm getting at, is that if I use the option in post to evaluate at a specific pressure, the function works just fine - No errors. It just fails when I try to plot it.

I guess what I'm asking is whether or not the function will work if I use it to define something in Pre.
  Reply With Quote

Old   September 25, 2007, 14:54
Default Re: CEL Expressions
  #4
CycLone
Guest
 
Posts: n/a
It should work. I would follow up the Post problem separately with support.
  Reply With Quote

Reply


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
derivative in CEL expressions alinik CFX 103 April 19, 2024 03:54
Grouping expressions in CEL foo7 CFX 4 September 21, 2011 09:15
Time Step and CEL expressions for Mesh Deformation rbarrett CFX 3 July 6, 2011 10:13
Cel expressions RAMAN6089 CFX 13 November 30, 2009 23:17
Cel expressions for trasient problem Jervds CFX 0 March 4, 2008 10:03


All times are GMT -4. The time now is 13:09.