FixtureFluid Derived Type

type, public :: FixtureFluid

FixtureFluid

A predefined model and composition set for a documented fluid system.

Description

The derived type packages an allocatable EOS model with component count, source citation, and one or two compositions. z0 is the reference feed; zi is present for systems with a second/injection composition.

Examples

fluid = oil_gao()
print *, fluid%reference, fluid%z0

Inherits

type~~fixturefluid~~InheritsGraph type~fixturefluid FixtureFluid type~armodel ArModel type~fixturefluid->type~armodel ar_model type~basemodel BaseModel type~armodel->type~basemodel type~substances Substances type~basemodel->type~substances components

Components

Type Visibility Attributes Name Initial
class(ArModel), public, allocatable :: ar_model

Equation-of-state model associated with this fixture fluid.

integer, public :: nc

Number of components

character(len=:), public, allocatable :: reference

Reference of where the fluid was taken from

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

Original composition

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

Injection composition (if exists)