Opm::SimpleCO2< Scalar > Class Template Reference

A simplistic class representing the $CO_2$ fluid properties. More...

#include <SimpleCO2.hpp>

Inheritance diagram for Opm::SimpleCO2< Scalar >:
Opm::Component< Scalar, SimpleCO2< Scalar > >

List of all members.

Static Public Member Functions

static const char * name ()
static Scalar molarMass ()
static Scalar criticalTemperature ()
 Returns the critical temperature $\mathrm{[K]}$ of $CO_2$.
static Scalar criticalPressure ()
 Returns the critical pressure $\mathrm{[Pa]}$ of $CO_2$.
static Scalar tripleTemperature ()
 Returns the temperature $\mathrm{[K]}$ at the triple point of $CO_2$.
static Scalar triplePressure ()
 Returns the pressure $\mathrm{[Pa]}$ at the triple point of $CO_2$.
static bool gasIsCompressible ()
static bool gasIsIdeal ()
template<class Evaluation >
static Evaluation gasEnthalpy (const Evaluation &temperature, const Evaluation &)
template<class Evaluation >
static Evaluation liquidEnthalpy (const Evaluation &temperature, const Evaluation &)
template<class Evaluation >
static Evaluation gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation gasViscosity (const Evaluation &temperature, const Evaluation &)

Detailed Description

template<class Scalar>
class Opm::SimpleCO2< Scalar >

A simplistic class representing the $CO_2$ fluid properties.

Template Parameters:
Scalar The type used for scalar values

Member Function Documentation

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The density in $\mathrm{[kg/m^3]}$ of the component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasEnthalpy ( const Evaluation &  temperature,
const Evaluation &   
) [inline, static]

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

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasInternalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

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

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.

template<class Scalar >
static bool Opm::SimpleCO2< Scalar >::gasIsCompressible (  )  [inline, static]

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

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.

template<class Scalar >
static bool Opm::SimpleCO2< Scalar >::gasIsIdeal (  )  [inline, static]

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

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::gasViscosity ( const Evaluation &  temperature,
const Evaluation &   
) [inline, static]

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

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

See:

See: R. Reid, et al.: The Properties of Gases and Liquids, 4th edition, McGraw-Hill, 1987, pp 396-397, 667

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.

template<class Scalar >
template<class Evaluation >
static Evaluation Opm::SimpleCO2< Scalar >::liquidEnthalpy ( const Evaluation &  temperature,
const Evaluation &   
) [inline, static]

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

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.

template<class Scalar >
static Scalar Opm::SimpleCO2< Scalar >::molarMass (  )  [inline, static]

The molar mass in $\mathrm{[kg]}$ of the component.

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.

template<class Scalar >
static const char* Opm::SimpleCO2< Scalar >::name (  )  [inline, static]

A human readable name for the component.

Reimplemented from Opm::Component< Scalar, SimpleCO2< Scalar > >.


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

Generated on 25 Mar 2018 by  doxygen 1.6.1