|
[Sponsors] |
How To Get A value in C In An Output Parameter Based On An Expression In CFD-Post |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 25, 2016, 05:08 |
How To Get A value in C In An Output Parameter Based On An Expression In CFD-Post
|
#1 |
Senior Member
|
Dear all,
Hi. Hope all are well. I wanted to ask how can I get a workbench output parameter to display a value of an expression of name OutTempRange having a value of maxVal(Temperature)@out - minVal(Temperature)@out It gives a value in K instead of C in workbench parameters tab. The thing is it calculates the difference value first and then subtracts 273.15 to convert it into C. But this gives wrong value obviously in C. I tried subtracting 273.15 from both terms in CFD-Post but it gives error of inconsistent units for subtraction. Would be grateful for help. Thank you. |
|
April 25, 2016, 06:40 |
|
#2 |
Senior Member
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11 |
((maxVal(Temperature)@out - minVal(Temperature)@out)/(1[K]))-273.15
Substract -> divide by 1[K] (so it is dimentionless) -> substract (dimentionless 273.15) If you divide by 1[unit] units can go away, as you canot substract x[unit]-y[without unit] even if you would multiply instead substract your expression you would get K^2 if you want you can than also multiply by (1[C]) in the end to get the [C]in the end, but it is problably not necesery. expresion abbove now doesent have units it is just a number. |
|
April 25, 2016, 13:17 |
|
#3 |
Senior Member
|
Thanks a lot urosgrivc! How couldn't I think of that? Thanks brother.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Post processing in CFD Post or Fluent. | Blobs | OpenFOAM Post-Processing | 2 | June 26, 2016 07:23 |
Problem regarding producing streamlines from surfaces in Ansys CFD post | gauthamnarayan | Visualization & Post-Processing | 0 | April 23, 2015 16:07 |
CFD Online Celebrates 20 Years Online | jola | Site News & Announcements | 22 | January 31, 2015 00:30 |
CFD Post - How to check for case in an expression | pilakin | ANSYS | 0 | September 26, 2014 04:44 |
CFD Post Expression over time chart (without monitor point) | Badi | CFX | 1 | July 17, 2013 17:22 |