Subroutine TUNITS
Returns parameters defining the units set of the model.
The units are defined in the Card 9 - PARAM Parameter Card - Optional under option PARAM UNITS
. This card is inserted when the thermal solver input file is created from a units aware preprocessor. The routine ensures that the input file uses the same units assumed by a user written subroutine. A more sophisticated use would be to convert values in a user written subroutine to those used by the model.
Calling convention:
call tunits (t1,t2,t3,t4,t5,t6)
Arguments | Data type | Input/Output | Description |
---|---|---|---|
t1 |
Real | Return | Reserved parameter, not currently used. |
t2 |
Real | Return | The number of model's length units in meter. For example, if the model's length units are in inches, a value of 39.37 is returned. |
t3 |
Real | Return | The number of the model's force units in Newton. For example, if the model's force units are Kgf, then the returned value is 1/9.81=.1019 |
t4 |
Real | Return | The model's temperature in Celsius. For example, if the model's temperature scale is Fahrenheit or Rankin the returned value is 1.8. |
t5 |
Real | Return | The model's temperature offset from absolute zero. For example, if the model's temperature units are in Fahrenheit the returned value is -459.67. |
t6 |
Real | Return | The number of seconds in one interval of model time. For example, a model in hours would return a value of 3600. |
For more information, see the Thermal Solver Reference Manual PDF.