dTofph

Return d and T as a function of p and h

Syntax

(d, T) = dTofph(p, h, delp, delh)

Inputs (4)

p

Type: Pressure (Pa)

Description: Pressure

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy

delp

Type: Pressure (Pa)

Description: Iteration accuracy

delh

Type: SpecificEnthalpy (J/kg)

Description: Iteration accuracy

Outputs (2)

d

Type: Density (kg/m³)

Description: Density

T

Type: Temperature (K)

Description: Temperature (K)