My Project
Opm::CO2< Scalar, CO2Tables > Class Template Reference

A class for the CO2 fluid properties. More...

#include <CO2.hpp>

Inheritance diagram for Opm::CO2< Scalar, CO2Tables >:
Opm::Component< Scalar, CO2< Scalar, CO2Tables > >

Static Public Member Functions

static const char * name ()
 A human readable name for the CO2.
 
static Scalar molarMass ()
 The mass in [kg] of one mole of CO2.
 
static Scalar criticalTemperature ()
 Returns the critical temperature [K] of CO2.
 
static Scalar criticalPressure ()
 Returns the critical pressure [Pa] of CO2.
 
static Scalar tripleTemperature ()
 Returns the temperature [K]at CO2's triple point.
 
static Scalar triplePressure ()
 Returns the pressure [Pa] at CO2's triple point.
 
static Scalar minTabulatedPressure ()
 Returns the pressure [Pa] at CO2's triple point.
 
static Scalar maxTabulatedPressure ()
 Returns the pressure [Pa] at CO2's triple point.
 
static Scalar minTabulatedTemperature ()
 Returns the pressure [Pa] at CO2's triple point.
 
static Scalar maxTabulatedTemperature ()
 Returns the pressure [Pa] at CO2's triple point.
 
template<class Evaluation >
static Evaluation vaporPressure (const Evaluation &T)
 The vapor pressure in [N/m^2] of pure CO2 at a given temperature. More...
 
static bool gasIsCompressible ()
 Returns true iff the gas phase is assumed to be compressible.
 
static bool gasIsIdeal ()
 Returns true iff the gas phase is assumed to be ideal.
 
template<class Evaluation >
static Evaluation gasEnthalpy (const Evaluation &temperature, const Evaluation &pressure, bool extrapolate=false)
 Specific enthalpy of gaseous CO2 [J/kg].
 
template<class Evaluation >
static Evaluation gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure, bool extrapolate=false)
 Specific internal energy of CO2 [J/kg].
 
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &temperature, const Evaluation &pressure, bool extrapolate=false)
 The density of CO2 at a given pressure and temperature [kg/m^3].
 
template<class Evaluation >
static Evaluation gasViscosity (Evaluation temperature, const Evaluation &pressure, bool extrapolate=false)
 The dynamic viscosity [Pa s] of CO2. More...
 
template<class Evaluation >
static Evaluation gasHeatCapacity (const Evaluation &temperature, const Evaluation &pressure)
 Specific isobaric heat capacity of the component [J/kg] as a liquid. More...
 
- Static Public Member Functions inherited from Opm::Component< Scalar, CO2< Scalar, CO2Tables > >
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 bool gasIsCompressible ()
 Returns true iff the gas phase is assumed to be compressible.
 
static bool gasIsIdeal ()
 Returns true iff the gas phase is assumed to be ideal.
 
static bool liquidIsCompressible ()
 Returns true iff the liquid phase is assumed to be compressible.
 
static const char * name ()
 A human readable name for the component.
 
static Scalar molarMass ()
 The molar mass in $\mathrm{[kg]}$ of the component.
 
static Scalar criticalTemperature ()
 Returns the critical temperature in $\mathrm{[K]}$ of the component.
 
static Scalar criticalPressure ()
 Returns the critical pressure in $\mathrm{[Pa]}$ of the component.
 
static Scalar acentricFactor ()
 Returns the acentric factor of the component.
 
static Scalar criticalVolume ()
 Returns the critical volume in $\mathrm{[m2/kmol]}$ of the component.
 
static Scalar tripleTemperature ()
 Returns the temperature in $\mathrm{[K]}$ at the component's triple point.
 
static Scalar triplePressure ()
 Returns the pressure in $\mathrm{[Pa]}$ at the component's triple point.
 
static Evaluation vaporPressure (const Evaluation &)
 The vapor pressure in $\mathrm{[Pa]}$ of the component at a given temperature in $\mathrm{[K]}$. More...
 
static Evaluation gasDensity (const Evaluation &, const Evaluation &)
 The density in $\mathrm{[kg/m^3]}$ of the component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$. More...
 
static Evaluation liquidDensity (const Evaluation &, const Evaluation &)
 The density $\mathrm{[kg/m^3]}$ of the liquid component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$. More...
 
static Evaluation gasEnthalpy (const Evaluation &, const Evaluation &)
 Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in gas. More...
 
static Evaluation liquidEnthalpy (const Evaluation &, const Evaluation &)
 Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in liquid. 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 liquidViscosity (const Evaluation &, const Evaluation &)
 The dynamic liquid viscosity $\mathrm{[Pa*s]}$ of the pure component. More...
 
static Evaluation gasThermalConductivity (const Evaluation &, const Evaluation &)
 Thermal conductivity of the component [W/(m^2 K/m)] as a gas.
 
static Evaluation liquidThermalConductivity (const Evaluation &, const Evaluation &)
 Thermal conductivity of the component [W/(m^2 K/m)] as a liquid.
 
static Evaluation gasHeatCapacity (const Evaluation &, const Evaluation &)
 Specific isobaric heat capacity of the component [J/kg] as a gas.
 
static Evaluation liquidHeatCapacity (const Evaluation &, const Evaluation &)
 Specific isobaric heat capacity of the component [J/kg] as a liquid.
 

Additional Inherited Members

- Public Types inherited from Opm::Component< Scalar, CO2< Scalar, CO2Tables > >
typedef Scalar Scalar
 
- Static Public Attributes inherited from Opm::Component< Scalar, CO2< Scalar, CO2Tables > >
static const bool isTabulated
 

Detailed Description

template<class Scalar, class CO2Tables>
class Opm::CO2< Scalar, CO2Tables >

A class for the CO2 fluid properties.

Under reservoir conditions, CO2 is typically in supercritical state. These properties can be provided in tabulated form, which is necessary for this component. The template is used by the fluidsystem BrineCO2FluidSystem. If thermodynamic precision is not a top priority, the much simpler component Opm::SimpleCO2 can be used instead

Member Function Documentation

◆ gasHeatCapacity()

template<class Scalar , class CO2Tables >
template<class Evaluation >
static Evaluation Opm::CO2< Scalar, CO2Tables >::gasHeatCapacity ( const Evaluation &  temperature,
const Evaluation &  pressure 
)
inlinestatic

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

This function uses the fact that heat capacity is the partial derivative of enthalpy function with respect to temperature.

Parameters
temperatureTemperature of component $\mathrm{[K]}$
pressurePressure of component $\mathrm{[Pa]}$

◆ gasViscosity()

template<class Scalar , class CO2Tables >
template<class Evaluation >
static Evaluation Opm::CO2< Scalar, CO2Tables >::gasViscosity ( Evaluation  temperature,
const Evaluation &  pressure,
bool  extrapolate = false 
)
inlinestatic

The dynamic viscosity [Pa s] of CO2.

Equations given in: - Vesovic et al., 1990

  • Fenhour etl al., 1998

◆ vaporPressure()

template<class Scalar , class CO2Tables >
template<class Evaluation >
static Evaluation Opm::CO2< Scalar, CO2Tables >::vaporPressure ( const Evaluation &  T)
inlinestatic

The vapor pressure in [N/m^2] of pure CO2 at a given temperature.

See:

R. Span and W. Wagner: A New Equation of State for Carbon Dioxide Covering the Fluid Region from the Triple‐Point Temperature to 1100 K at Pressures up to 800 MPa. Journal of Physical and Chemical Reference Data, 25 (6), pp. 1509-1596, 1996


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