dynamicIsentropicEnthalpy

Isentropic specific enthalpy from p,s and good guesses of d and T

Syntax

h = dynamicIsentropicEnthalpy(p, s, dguess, Tguess, phase)

Inputs (5)

p

Type: Pressure (Pa)

Description: Pressure

s

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

Description: Specific entropy

dguess

Type: Density (kg/m³)

Description: Good guess density, e.g., from adjacent volume

Tguess

Type: Temperature (K)

Description: Good guess temperature, e.g., from adjacent volume

phase

Default Value: 0

Type: Integer

Description: 2 for two-phase, 1 for one-phase, 0 if not known

Outputs (1)

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy