functionsetState_phX_der
Calculates time derivative of the thermodynamic state record
calculated by p and h
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p | Pressure | |
| SpecificEnthalpy | h | Specific enthalpy | |
| MassFraction[:] | X | reference_X | Mass fractions |
| FixedPhase | phase | 0 | 2 for two-phase, 1 for one-phase, 0 if not known |
| Real | der_p | Time derivative of pressure | |
| Real | der_h | Time derivative of specific enthalpy | |
| Real[:] | der_X | Time derivative of mass fractions |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| ThermodynamicState | der_state | Time derivative of thermodynamic state |