|
[Sponsors] |
April 17, 2020, 00:41 |
How to write an expression in CFD-POST
|
#1 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
How to write an expression in CFD-POST?
the down is the errors. |
|
April 17, 2020, 03:56 |
Expression
|
#2 |
Senior Member
|
Your expression is correct. The problem most likely is with the name; CFDPost is case-sensitive. Wall and wall are different.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 17, 2020, 13:13 |
Thanks, but I do not understand your meaning. You mean I should use "Wall" but not "
|
#3 | |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
Quote:
Thanks, but I do not understand your meaning. You mean I should use "Wall" but not " wall", but this is now written by me, but just use the right click to get it. Additionally , what is PM? |
||
April 17, 2020, 13:18 |
Wall
|
#4 |
Senior Member
|
The error is Temperature. CFDPost uses only T and not Temperature.
PM implies private message within cfd-online.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 17, 2020, 13:29 |
No, it is not the problem, the Temperature is just the list of variable in the CFDPOS
|
#5 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
No, it is not the problem, the Temperature is just the list of variable in the CFDPOST, both T and Temperature is Ok. Because I tried it successfully. The most problem I think it the 300[K], why the K is italic?
|
|
April 17, 2020, 13:36 |
Unit
|
#6 |
Senior Member
|
Units are always italic.
Click on More... when it shows the error. See it shows something useful though I doubt that.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 17, 2020, 13:37 |
Space
|
#7 |
Senior Member
|
It appears you do not have a space between 300 and [K]. Space is must.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 17, 2020, 13:43 |
But what is the reason? Can you try it by yourself?
|
#8 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
||
April 17, 2020, 14:01 |
Expression
|
#9 |
Senior Member
|
It works perfectly at my end, with T as well as with Temperature. With or without space. So, the only remaining portion is boundary name. Check it against the names it shows in the Tree in Outline Tab.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 19, 2020, 20:37 |
Yes , you are right. It cannot be defined as wall name, when it changes ,it works. Th
|
#10 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
Yes , you are right. It cannot be defined as wall name, when it changes ,it works. Thanks .I have a another question, why I can not find the static pressure in the CFD post, I only can use the pressure variable. Why?
|
|
April 19, 2020, 20:46 |
What's more, the static temperature also can not find.
|
#11 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
What's more, the static temperature also can not find.
|
|
April 20, 2020, 06:12 |
Variable Names
|
#12 |
Senior Member
|
The names of the variables are defined to ensure that there is no ambiguity. For static values, just the regular names are enough. So, static temperature is just Temperature and static pressure is just Pressure. For total or absolute, Total or Absolute are used as first word.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 20, 2020, 12:57 |
I find that the total temperature is equal to static temperature for the imcompressib
|
#13 | |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
Quote:
|
||
April 20, 2020, 14:12 |
Total values
|
#14 |
Senior Member
|
Both, total temperature and total pressure, are functions of velocity and have got nothing to do with compressibility. Both are equal to their static counterparts only when the velocity is 0. Otherwise, total values are always sum of static and dynamic values.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 21, 2020, 10:41 |
But I cannot find the total pressure or total temperature in the CFD POST
|
#15 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
But I cannot find the total pressure or total temperature in the CFD POST
|
|
April 21, 2020, 10:44 |
Variables
|
#16 |
Senior Member
|
Total Pressure and Total Temperature are always there. Variables are listed alphabetically in CFDPost.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 21, 2020, 22:47 |
As you can see, we can not see the total pressure or total temperature in the list, I
|
#17 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
As you can see, we can not see the total pressure or total temperature in the list, I also search in the other option, it also does not have. Moreover, we cannot find the phase fraction ,too. Do you know why?
|
|
April 22, 2020, 05:26 |
Total Values
|
#18 |
Senior Member
|
Since total values are velocity dependent, those are specific to each phase, i.e., total pressure for Phase 1 is different from that for Phase 2. All these would be available under Phases. Same is true for phase (volume) fraction.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
April 22, 2020, 12:05 |
You see, in the phase interface, we can not see those variables. Why?
|
#19 |
Senior Member
Join Date: Dec 2017
Posts: 388
Rep Power: 9 |
You see, in the phase interface, we can not see those variables. Why?
|
|
April 22, 2020, 12:11 |
Total Values
|
#20 |
Senior Member
|
It appears that you are using either VOF or Mixture model. That implies there is single set of Navier-Stokes equation. In this case, there would be single velocity field, hence, single total pressure and total temperature. So, ignore my previous post. About the unavailability of total values, it is strange. However, it is possible that you wrote selected variables. If you loaded Fluent data file, then total values should be there. However, you can just create total values yourself using expressions.
__________________
Regards, Vinerm PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD Post Expression creation | jasonbot | CFX | 2 | July 15, 2015 07:21 |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |
CEL mathematical functions in CFD Post | Jonathan | CFX | 9 | November 5, 2012 09:37 |
Poly lines in CFD Post | ashtonJ | CFX | 0 | December 2, 2010 03:46 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |