density_pTX

Return density from p, T, and X or Xi

Syntax

d = density_pTX(p, T, X)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

T

Type: Temperature (K)

Description: Temperature

X

Type: MassFraction[:] (kg/kg)

Description: Mass fractions

Outputs (1)

d

Type: Density (kg/m³)

Description: Density