density_ph

Computes density as a function of pressure and specific enthalpy

Syntax

d = density_ph(p, h)

Inputs (2)

p

Type: AbsolutePressure (Pa)

Description: Pressure

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy

Outputs (1)

d

Type: Density (kg/m³)

Description: Density