dtofps3

Inverse iteration in region 3: (d,T) = f(p,s)

Syntax

(d, T, error) = dtofps3(p, s, delp, dels)

Inputs (4)

p

Type: Pressure (Pa)

Description: Pressure

s

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

Description: Specific entropy

delp

Type: Pressure (Pa)

Description: Iteration accuracy

dels

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

Description: Iteration accuracy

Outputs (3)

d

Type: Density (kg/m³)

Description: Density

T

Type: Temperature (K)

Description: Temperature (K)

error

Type: Integer

Description: Error flag: iteration failed if different from 0