Opm::DNAPL< Scalar > Class Template Reference

A simple implementation of a dense non-aqueous phase liquid (DNAPL). More...

#include <Dnapl.hpp>

Inheritance diagram for Opm::DNAPL< Scalar >:
Inheritance graph

Public Types

typedef Scalar Scalar
 

Static Public Member Functions

static const char * name ()
 A human readable name for the TCE. More...
 
static bool gasIsIdeal ()
 Returns true iff the gas phase is assumed to be ideal. More...
 
static bool gasIsCompressible ()
 Returns true iff the gas phase is assumed to be compressible. More...
 
static bool liquidIsCompressible ()
 Returns true iff the liquid phase is assumed to be compressible. More...
 
static Scalar molarMass ()
 The molar mass in $\mathrm{[kg/mol]}$ of TCE. More...
 
template<class Evaluation >
static Evaluation vaporPressure (const Evaluation &)
 The vapor pressure in $\mathrm{[Pa]}$ of pure TCE at a given temperature. More...
 
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &temperature, const Evaluation &pressure)
 The density of steam at a given pressure and temperature $\mathrm{[kg/m^3]}$. More...
 
template<class Evaluation >
static Evaluation liquidDensity (const Evaluation &, const Evaluation &)
 The density of pure TCE at a given pressure and temperature $\mathrm{[kg/m^3]}$. More...
 
template<class Evaluation >
static Evaluation liquidViscosity (const Evaluation &, const Evaluation &)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of pure TCE. More...
 
template<class Evaluation >
static Evaluation liquidEnthalpy (const Evaluation &temperature, const Evaluation &)
 The enthalpy of pure TCE at a given pressure and temperature $\mathrm{[J/kg]}$. More...
 
template<class Evaluation >
static Evaluation liquidHeatCapacity (const Evaluation &, const Evaluation &)
 Specific isobaric heat capacity $[J/(kg K)]$ of pure liquid TCE. More...
 
template<class Evaluation >
static Evaluation liquidThermalConductivity (const Evaluation &, const Evaluation &)
 Specific heat conductivity of liquid TCE $\mathrm{[W/(m K)]}$. More...
 
static void init (Scalar, Scalar, unsigned, Scalar, Scalar, unsigned)
 A default routine for initialization, not needed for components and must not be called. More...
 
static Scalar criticalTemperature ()
 Returns the critical temperature in $\mathrm{[K]}$ of the component. More...
 
static Scalar criticalPressure ()
 Returns the critical pressure in $\mathrm{[Pa]}$ of the component. More...
 
static Scalar acentricFactor ()
 Returns the acentric factor of the component. More...
 
static Scalar criticalVolume ()
 Returns the critical volume in $\mathrm{[m2/kmol]}$ of the component. More...
 
static Scalar tripleTemperature ()
 Returns the temperature in $\mathrm{[K]}$ at the component's triple point. More...
 
static Scalar triplePressure ()
 Returns the pressure in $\mathrm{[Pa]}$ at the component's triple point. More...
 
static Evaluation gasEnthalpy (const Evaluation &, const Evaluation &)
 Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in gas. More...
 
static Evaluation gasInternalEnergy (const Evaluation &, const Evaluation &)
 Specific internal energy $\mathrm{[J/kg]}$ of the pure component in gas. More...
 
static Evaluation liquidInternalEnergy (const Evaluation &, const Evaluation &)
 Specific internal energy $\mathrm{[J/kg]}$ of pure the pure component in liquid. More...
 
static Evaluation gasViscosity (const Evaluation &, const Evaluation &)
 The dynamic viscosity $\mathrm{[Pa*s]}$ of the pure component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$. More...
 
static Evaluation gasThermalConductivity (const Evaluation &, const Evaluation &)
 Thermal conductivity of the component [W/(m^2 K/m)] as a gas. More...
 
static Evaluation gasHeatCapacity (const Evaluation &, const Evaluation &)
 Specific isobaric heat capacity of the component [J/kg] as a gas. More...
 

Static Public Attributes

static const bool isTabulated
 

Detailed Description

template<class Scalar>
class Opm::DNAPL< Scalar >

A simple implementation of a dense non-aqueous phase liquid (DNAPL).

The parameters are chosen to roughly correspond to those of trichloroethylene (TCE) at standard conditions.

Template Parameters
ScalarThe type used for scalar values

Member Typedef Documentation

◆ Scalar

typedef Scalar Opm::Component< Scalar , DNAPL< Scalar > >::Scalar
inherited

Member Function Documentation

◆ acentricFactor()

static Scalar Opm::Component< Scalar , DNAPL< Scalar > >::acentricFactor ( )
inlinestaticinherited

Returns the acentric factor of the component.

◆ criticalPressure()

static Scalar Opm::Component< Scalar , DNAPL< Scalar > >::criticalPressure ( )
inlinestaticinherited

Returns the critical pressure in $\mathrm{[Pa]}$ of the component.

◆ criticalTemperature()

static Scalar Opm::Component< Scalar , DNAPL< Scalar > >::criticalTemperature ( )
inlinestaticinherited

Returns the critical temperature in $\mathrm{[K]}$ of the component.

◆ criticalVolume()

static Scalar Opm::Component< Scalar , DNAPL< Scalar > >::criticalVolume ( )
inlinestaticinherited

Returns the critical volume in $\mathrm{[m2/kmol]}$ of the component.

◆ gasDensity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::DNAPL< Scalar >::gasDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

The density of steam at a given pressure and temperature $\mathrm{[kg/m^3]}$.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

References Opm::IdealGas< Scalar >::density(), and Opm::DNAPL< Scalar >::molarMass().

◆ gasEnthalpy()

static Evaluation Opm::Component< Scalar , DNAPL< Scalar > >::gasEnthalpy ( const Evaluation &  ,
const Evaluation &   
)
inlinestaticinherited

Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in gas.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ gasHeatCapacity()

static Evaluation Opm::Component< Scalar , DNAPL< Scalar > >::gasHeatCapacity ( const Evaluation &  ,
const Evaluation &   
)
inlinestaticinherited

Specific isobaric heat capacity of the component [J/kg] as a gas.

◆ gasInternalEnergy()

static Evaluation Opm::Component< Scalar , DNAPL< Scalar > >::gasInternalEnergy ( const Evaluation &  ,
const Evaluation &   
)
inlinestaticinherited

Specific internal energy $\mathrm{[J/kg]}$ of the pure component in gas.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ gasIsCompressible()

template<class Scalar >
static bool Opm::DNAPL< Scalar >::gasIsCompressible ( )
inlinestatic

Returns true iff the gas phase is assumed to be compressible.

◆ gasIsIdeal()

template<class Scalar >
static bool Opm::DNAPL< Scalar >::gasIsIdeal ( )
inlinestatic

Returns true iff the gas phase is assumed to be ideal.

◆ gasThermalConductivity()

static Evaluation Opm::Component< Scalar , DNAPL< Scalar > >::gasThermalConductivity ( const Evaluation &  ,
const Evaluation &   
)
inlinestaticinherited

Thermal conductivity of the component [W/(m^2 K/m)] as a gas.

◆ gasViscosity()

static Evaluation Opm::Component< Scalar , DNAPL< Scalar > >::gasViscosity ( const Evaluation &  ,
const Evaluation &   
)
inlinestaticinherited

The dynamic viscosity $\mathrm{[Pa*s]}$ of the pure component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ init()

static void Opm::Component< Scalar , DNAPL< Scalar > >::init ( Scalar  ,
Scalar  ,
unsigned  ,
Scalar  ,
Scalar  ,
unsigned   
)
inlinestaticinherited

A default routine for initialization, not needed for components and must not be called.

Parameters
tempMinThe minimum of the temperature range in $\mathrm{[K]}$
tempMaxThe maximum of the temperature range in $\mathrm{[K]}$
nTempThe number of entries/steps within the temperature range
pressMinThe minimum of the pressure range in $\mathrm{[Pa]}$
pressMaxThe maximum of the pressure range in $\mathrm{[Pa]}$
nPressThe number of entries/steps within the pressure range

This function throws a warning when called: "No init routine defined - make sure that this is not necessary!"

◆ liquidDensity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::DNAPL< Scalar >::liquidDensity ( const Evaluation &  ,
const Evaluation &   
)
inlinestatic

The density of pure TCE at a given pressure and temperature $\mathrm{[kg/m^3]}$.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ liquidEnthalpy()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::DNAPL< Scalar >::liquidEnthalpy ( const Evaluation &  temperature,
const Evaluation &   
)
inlinestatic

The enthalpy of pure TCE at a given pressure and temperature $\mathrm{[J/kg]}$.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

References Opm::DNAPL< Scalar >::molarMass().

◆ liquidHeatCapacity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::DNAPL< Scalar >::liquidHeatCapacity ( const Evaluation &  ,
const Evaluation &   
)
inlinestatic

Specific isobaric heat capacity $[J/(kg K)]$ of pure liquid TCE.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

References Opm::DNAPL< Scalar >::molarMass().

◆ liquidInternalEnergy()

static Evaluation Opm::Component< Scalar , DNAPL< Scalar > >::liquidInternalEnergy ( const Evaluation &  ,
const Evaluation &   
)
inlinestaticinherited

Specific internal energy $\mathrm{[J/kg]}$ of pure the pure component in liquid.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ liquidIsCompressible()

template<class Scalar >
static bool Opm::DNAPL< Scalar >::liquidIsCompressible ( )
inlinestatic

Returns true iff the liquid phase is assumed to be compressible.

◆ liquidThermalConductivity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::DNAPL< Scalar >::liquidThermalConductivity ( const Evaluation &  ,
const Evaluation &   
)
inlinestatic

Specific heat conductivity of liquid TCE $\mathrm{[W/(m K)]}$.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ liquidViscosity()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::DNAPL< Scalar >::liquidViscosity ( const Evaluation &  ,
const Evaluation &   
)
inlinestatic

The dynamic viscosity $\mathrm{[Pa*s]}$ of pure TCE.

Parameters
temperaturetemperature of component in $\mathrm{[K]}$
pressurepressure of component in $\mathrm{[Pa]}$

◆ molarMass()

template<class Scalar >
static Scalar Opm::DNAPL< Scalar >::molarMass ( )
inlinestatic

◆ name()

template<class Scalar >
static const char * Opm::DNAPL< Scalar >::name ( )
inlinestatic

A human readable name for the TCE.

◆ triplePressure()

static Scalar Opm::Component< Scalar , DNAPL< Scalar > >::triplePressure ( )
inlinestaticinherited

Returns the pressure in $\mathrm{[Pa]}$ at the component's triple point.

◆ tripleTemperature()

static Scalar Opm::Component< Scalar , DNAPL< Scalar > >::tripleTemperature ( )
inlinestaticinherited

Returns the temperature in $\mathrm{[K]}$ at the component's triple point.

◆ vaporPressure()

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::DNAPL< Scalar >::vaporPressure ( const Evaluation &  )
inlinestatic

The vapor pressure in $\mathrm{[Pa]}$ of pure TCE at a given temperature.

Parameters
Ttemperature of component in $\mathrm{[K]}$

Member Data Documentation

◆ isTabulated

const bool Opm::Component< Scalar , DNAPL< Scalar > >::isTabulated
staticinherited

The documentation for this class was generated from the following file: