setState_psX

Return thermodynamic state as function of pressure p, specific enthalpy h and composition X

Syntax

state = setState_psX(p, s, X)

Inputs (3)

p

Type: AbsolutePressure

Description: Pressure

s

Type: SpecificEntropy

Description: Specific entropy

X

Type: MassFraction[:]

Description: Mass fractions

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record