|
[Sponsors] |
July 30, 2014, 09:18 |
[CFX-Post] Unit Conversion in Expression
|
#1 | |||
Member
Marcel Jay
Join Date: Jun 2014
Location: Berlin
Posts: 52
Rep Power: 12 |
Hello CFD Online Community,
I have an issue with changing the unit of an expression in CFD Post. Quote:
Quote:
Quote:
Would be glad if somebody ever solved that issue. Marcel |
||||
July 30, 2014, 09:49 |
|
#2 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23 |
Why not just change your unit system to custom in the options? Then change length and area to the units you want.
|
|
July 30, 2014, 10:05 |
|
#3 |
Member
Marcel Jay
Join Date: Jun 2014
Location: Berlin
Posts: 52
Rep Power: 12 |
Thanks for the advice, but it won't work for Custom.
If I set Newton Millimeter as the system, it would display them in mm, but not for custom. What do i do wrong? |
|
July 31, 2014, 12:28 |
|
#4 |
Member
Join Date: Nov 2011
Location: Germany
Posts: 40
Rep Power: 15 |
Try to change the "Solution Units" under "Solver" in CFX-Pre and run CFX-solve again
|
|
August 4, 2014, 12:17 |
|
#5 |
Senior Member
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21 |
Keep it unitless. What are you using this for? Just output to something else? If so just call the expression something like this so you know what it is:
area Auslass mm = area()@Auslass * (1000^2) *1[m^-2] |
|
July 16, 2024, 10:52 |
|
#6 |
New Member
Marshall McCray
Join Date: Mar 2023
Location: Houston, TX
Posts: 10
Rep Power: 3 |
Adding to @singer1812 's response. If you just want custom units on the frame, a workaround would be to divide the variable by its own units to make it dimensionless, then manually add a text string of units next to the Auto Annotation. For example, to convert seconds to minutes, create new expression timeminutes = t/(60 [s]) then put text string "minutes" next to the auto annotation. See screenshot.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
writing execFlowFunctionObjects | immortality | OpenFOAM Post-Processing | 30 | September 15, 2013 07:16 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
Lift, Drag Vs time chart,calculations | Jamesd69climber | CFX | 8 | February 17, 2005 18:23 |
Unit of Expression | Fing | CFX | 2 | May 27, 2004 11:17 |