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

TypeNameDefaultDescription
AbsolutePressurepPressure
SpecificEnthalpyhSpecific enthalpy
MassFractionXMass fractions of composition

Outputs

TypeNameDefaultDescription
TemperatureTTemperature