setState_dTX

Returns state record, given pressure and temperature

Syntax

state = setState_dTX(d, T, X)

Inputs (3)

d

Type: Density (kg/m³)

Description: Density

T

Type: Temperature (K)

Description: Temperature

X

Default Value: reference_X

Type: MassFraction[:] (kg/kg)

Description: Mass fractions

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record