BinaryThreePhase Derived Type

type, public :: BinaryThreePhase

BinaryThreePhase

Tabulated state points along a binary liquid-liquid-vapor line.

Description

Each component array stores one value per converged line point. Pressures correspond to the equilibrium compositions at the same index.

Examples

write(*,*) line%P, line%T, line%x1, line%y1, line%w1

Components

Type Visibility Attributes Name Initial
real(kind=pr), public, allocatable :: P(:)

Pressure [bar]

real(kind=pr), public, allocatable :: T(:)

Temperature [K]

real(kind=pr), public, allocatable :: Vw(:)

Volume of vapor phase w [L/mol]

real(kind=pr), public, allocatable :: Vx(:)

Volume of liquid phase x [L/mol]

real(kind=pr), public, allocatable :: Vy(:)

Volume of liquid phase y [L/mol]

real(kind=pr), public, allocatable :: w1(:)

Mole fraction of component 1 in vapor phase w

real(kind=pr), public, allocatable :: x1(:)

Mole fraction of component 1 in liquid phase x

real(kind=pr), public, allocatable :: y1(:)

Mole fraction of component 1 in liquid phase y