gasConstant

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

Syntax

R = gasConstant(state)

Inputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state

Outputs (1)

R

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

Description: Mixture gas constant