|
[Sponsors] |
November 5, 2012, 06:37 |
CEL mathematical functions in CFD Post
|
#1 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
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: Code:
1.004*loge(Temperature)@X3-0.287*loge(Pressure)@X3 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 Jon |
|
November 5, 2012, 06:46 |
|
#2 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
You should get a warning that "The dimensions of the argument to function
'loge' are inconsistent". Make the arguments dimensionless: Code:
loge(Temperature/1[K]) |
|
November 5, 2012, 07:57 |
|
#3 | |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
Quote:
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: Code:
ERROR The following unrecognised name was referenced: loge. My exact code is: Code:
1004*loge(Temperature/1[K])@X3 - 0.287*loge(Pressure/1[Pa])@X3 Thanks for your previous post - much appreciated Regards Jon |
||
November 5, 2012, 08:13 |
|
#4 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
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) |
|
November 5, 2012, 08:16 |
|
#5 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
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! |
|
November 5, 2012, 08:20 |
|
#6 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
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.
|
|
November 5, 2012, 08:25 |
|
#7 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
Cool, thanks lance, will check it out
Cheers Jonathan |
|
November 5, 2012, 09:20 |
|
#8 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
Hey thanks again Lance, this is working like a charm ... really appreciate your help today!
Cheers Jonathan |
|
November 5, 2012, 09:23 |
|
#9 |
Senior Member
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22 |
That's great to hear, and I hope you didnt tear all of your hair out
|
|
November 5, 2012, 09:37 |
|
#10 |
Senior Member
Join Date: Mar 2010
Posts: 181
Rep Power: 17 |
haha, no stopped short, but nearly
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD post, expressions help | robcowlam | FLUENT | 0 | February 21, 2012 15:14 |
cfd post | hamid1 | FLUENT | 0 | February 21, 2012 11:27 |
Plotting recirculation zone in CFD Post | ashtonJ | CFX | 0 | April 30, 2011 21:31 |
CFD post vector plot problem | bharath | CFX | 3 | February 8, 2011 18:16 |
ASME CFD Symposium - Call for Papers | Chris Kleijn | Main CFD Forum | 0 | September 25, 2001 11:17 |