dofpt3

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

Syntax

(d, error) = dofpt3(p, T, delp)

Inputs (3)

p

Type: Pressure (Pa)

Description: Pressure

T

Type: Temperature (K)

Description: Temperature (K)

delp

Type: Pressure (Pa)

Description: Iteration converged if (p-pre(p) < delp)

Outputs (2)

d

Type: Density (kg/m³)

Description: Density

error

Default Value: 0

Type: Integer

Description: Error flag: iteration failed if different from 0