Function HYDPROP
Returns a value of a fluid element for the selected property.
Calling convention:
value = hydprop(i,k)
| Variable name | Data type | Description |
|---|---|---|
| Return value | ||
value
|
Real | The value of a fluid element for the selected property. |
| Arguments | ||
i
|
Integer | The input value of the fluid property. For a list of fluid properties, see the following table. |
k
|
Integer | The input value of internal element number. |
Table of fluid properties
| i | Property | i | Property |
|---|---|---|---|
| 1 | Total pressure | 2 | Static pressure |
| 3 | Dynamic pressure | 4 | Mass flow |
| 5 | Volume flow | 6 | Velocity |
| 7 | Hydraulic diameter | 8 | Fluid density |
| 9 | Viscosity | 10 | Duct cross-sectional area |
| 11 | Specific heat | 12 | Thermal conductivity |
| 13 | Duct-based Reynolds number | 14 | Reynolds number based on nearest upstream boundary layer start. |
| 15 | Height of the element | 16 | Prandtl number of the element. |
| 17 | Imposed mass flow | 18 | Fluid density at temperature TSTD and static pressure PSTD, calculated with the Ideal Gas Law. |
| 19 | Distance from the nearest upstream boundary layer start, measured along flow path. | 20 | Latent heat |
| 21 | Phase change temperature | 22 | Capacitance above the phase change temperature. |
| 23 | Capacitance below the phase change temperature. |
