I need script for unit conversion to pressure valve
RAJA
Altair Community Member
I have pressure value in pascal it is from CFD flow analysis so I want change that unit to megapascal
0
Best Answer
-
Script in tcl?
set pressure_in_Pa 5.0e+6
set pressure_in_MPa [expr $pressure_in_Pa*1.0e-6]
puts $pressure_in_MPa
Output:
5.0
0
Answers
-
Script in tcl?
set pressure_in_Pa 5.0e+6
set pressure_in_MPa [expr $pressure_in_Pa*1.0e-6]
puts $pressure_in_MPa
Output:
5.0
0 -
-
it works! 😀
0