pofdt125

Inverse iteration in region 1,2 and 5: p = g(d,T)

Syntax

(p, error) = pofdt125(d, T, reldd, region)

Inputs (4)

d

Type: Density (kg/m³)

Description: Density

T

Type: Temperature (K)

Description: Temperature (K)

reldd

Type: Pressure (Pa)

Description: Relative iteration accuracy of density

region

Type: Integer

Description: Region in IAPWS/IF97 in which inverse should be calculated

Outputs (2)

p

Type: Pressure (Pa)

Description: Pressure

error

Type: Integer

Description: Error flag: iteration failed if different from 0