gasConstant

Return ideal gas constant as a function from thermodynamic state, only valid for phi<1

Syntax

R_s = gasConstant(state)

Inputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state

Outputs (1)

R_s

Type: SpecificHeatCapacity (J/(kg·K))

Description: Mixture gas constant