CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   CEL mathematical functions in CFD Post (

Jonathan November 5, 2012 05:37

CEL mathematical functions in CFD Post
Hi guys,

I am normally a Fluent user, but an trying to do some quick post processing in CFD/CFX Post, and was wondering if any of the dyed in the wool CFX users could give me a quick helping hand?

I want to post process some data which i have not exported from my Fluent case file, but cannot seem to get CFD Post to recognise my CEL expression.

I was wondering if this was because CEL mathematical expressions are not recognised in CFD post, or perhaps my syntax is wrong? Can anyone help?

the expression is basically:


where X3 is a user created sampling plane.

As you can see, basically, I am trying to check the entropy generation calculation from my solver, but for some reason the expression is not accepted in CFD Post...

Any help from you CFX guys would be much appreciated,
best regards

Lance November 5, 2012 05:46

You should get a warning that "The dimensions of the argument to function
'loge' are inconsistent".
Make the arguments dimensionless:


Jonathan November 5, 2012 06:57


Originally Posted by Lance (Post 390297)
You should get a warning that "The dimensions of the argument to function
'loge' are inconsistent".
Make the arguments dimensionless:


Hi Lance,

Thank you very much - yes, I see that now. However, I am not even getting that far ...

At the moment, i am getting the following exact error message:


The following unrecognised name was referenced: loge.

Which is why i thought perhaps the CFX maths functions are not supported. Any ideas re: this specific error?

My exact code is:


1004*loge(Temperature/1[K])@X3 - 0.287*loge(Pressure/1[Pa])@X3
I have also tried the alias: ln

Thanks for your previous post - much appreciated

Lance November 5, 2012 07:13

Sorry, I didnt look carefully at your expression. 'loge' does not accept a location (@X3). But something like:

1004*loge(Temperature/1[K]) - 0.287*loge(Pressure/1[Pa])

would create an variable. Then, go to Variables, create new variable, select your expression, then plot on your surface (or whatever you want to do with the expression/variable)

Jonathan November 5, 2012 07:16

Ah thanks Lance - you're a champ - really appreciate that, have been tearing my hair out trying to figure out what i was doing wrong.

Much appreciated.

BTW, best reference for CEL / CCL : CFX User Guide??

CFD-Post UG seems a little thin for detail!

Lance November 5, 2012 07:20

Yes, the Post guide is a bit thin about CEL, but have a look the in the CFX reference guide (cfx_ref.pdf). It has a whole chapter about CEL functions.

Jonathan November 5, 2012 07:25

Cool, thanks lance, will check it out


Jonathan November 5, 2012 08:20

Hey thanks again Lance, this is working like a charm ... really appreciate your help today!


Lance November 5, 2012 08:23

That's great to hear, and I hope you didnt tear all of your hair out :)

Jonathan November 5, 2012 08:37

haha, no stopped short, but nearly ;)

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