functionT_phX
Return temperature as a function of pressure p, specific enthalpy h and composition X
Information
Temperature is computed from pressure, specific enthalpy and composition. Loop over the saturation temperature is performed for the fog region and for dry mixture, the temperature is computed from analytic inversion of the enthalpy relation with respect to the temperature.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| SpecificEnthalpy | h | Specific enthalpy | |
| MassFraction | X | Mass fractions of composition |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Temperature | T | Temperature |