PTEnvel3 Derived Type

type, public :: PTEnvel3

PTEnvel3

Three-phase isopleth at constant global composition. Each array stores one value per envelope point.

Description

The phase composition arrays are indexed (point, component) and share their point ordering with the pressure, temperature, phase fraction, and iteration arrays.

Examples

print *, envelope%P, envelope%T, envelope%beta

Components

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

Pressures [bar]

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

Value of specification

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

Temperatures [K]

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

Mole fraction between phase x and phase y

integer, public, allocatable :: its(:)

Number of needed iterations

integer, public, allocatable :: ns(:)

Number of specified variable

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

Mole fraction of phase w

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

Mole fraction of phase x

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

Mole fraction of phase y