3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dumux::Components::CO2< Scalar, CO2Tables > Class Template Reference

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

#include <dumux/material/components/co2.hh>

Inheritance diagram for Dumux::Components::CO2< Scalar, CO2Tables >:

Description

template<class Scalar, class CO2Tables>
class Dumux::Components::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 implementation. The template is passed through the fluidsystem brineco2fluidsystem.hh. Depending on the used tabulation, the fluidsystem can also be used for gaseous CO2

Public Types

using Scalar = Scalar
 export the scalar type used by the component More...
 

Static Public Member Functions

static std::string name ()
 A human readable name for the CO2. More...
 
static constexpr Scalar molarMass ()
 The mass in \(\mathrm{[kg/mol]}\) of one mole of CO2. More...
 
static Scalar criticalTemperature ()
 Returns the critical temperature \(\mathrm{[K]}\) of CO2. More...
 
static Scalar criticalPressure ()
 Returns the critical pressure \(\mathrm{[Pa]}\) of CO2. More...
 
static Scalar tripleTemperature ()
 Returns the temperature \(\mathrm{[K]}\) at CO2's triple point. More...
 
static Scalar triplePressure ()
 Returns the pressure \(\mathrm{[Pa]}\) at CO2's triple point. More...
 
static Scalar minTabulatedPressure ()
 Returns the minimal tabulated pressure \(\mathrm{[Pa]}\) of the used table. More...
 
static Scalar maxTabulatedPressure ()
 Returns the maximal tabulated pressure \(\mathrm{[Pa]}\) of the used table. More...
 
static Scalar minTabulatedTemperature ()
 Returns the minimal tabulated temperature \(\mathrm{[K]}\) of the used table. More...
 
static Scalar maxTabulatedTemperature ()
 Returns the maximal tabulated temperature \(\mathrm{[K]}\) of the used table. More...
 
static constexpr bool gasIsIdeal ()
 Returns true if the gas phase is assumed to be ideal. More...
 
static Scalar vaporPressure (Scalar T)
 The vapor pressure in \(\mathrm{[Pa]}\) of pure CO2 at a given temperature. More...
 
static Scalar gasEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy of gaseous CO2 \(\mathrm{[J/kg]}\). More...
 
static Scalar liquidEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy of liquid CO2 \(\mathrm{[J/kg]}\). More...
 
static Scalar gasInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy of CO2 \(\mathrm{[J/kg]}\). More...
 
static Scalar liquidInternalEnergy (Scalar temperature, Scalar pressure)
 Specific internal energy of liquid CO2 \(\mathrm{[J/kg]}\). More...
 
static Scalar gasDensity (Scalar temperature, Scalar pressure)
 The density of CO2 at a given pressure and temperature \(\mathrm{[kg/m^3]}\). More...
 
static Scalar gasMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of CO2 gas in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. More...
 
static Scalar liquidDensity (Scalar temperature, Scalar pressure)
 The density of pure CO2 at a given pressure and temperature \(\mathrm{[kg/m^3]}\). More...
 
static Scalar liquidMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of CO2 in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. More...
 
static Scalar gasPressure (Scalar temperature, Scalar density)
 The pressure of steam in \(\mathrm{[Pa]}\) at a given density and temperature. More...
 
static Scalar liquidPressure (Scalar temperature, Scalar density)
 The pressure of liquid water in \(\mathrm{[Pa]}\) at a given density and temperature. More...
 
static Scalar liquidHeatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a liquid. USE WITH CAUTION! Exploits enthalpy function with artificial increment of the temperature! Equation with which the specific heat capacity is calculated : \( c_p = \frac{dh}{dT}\). More...
 
static Scalar gasViscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of CO2. Equations given in: - Vesovic et al., 1990. More...
 
static Scalar liquidViscosity (Scalar temperature, Scalar pressure)
 The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure CO2. More...
 
static Scalar gasThermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of CO2. More...
 
static void init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress)
 A default routine for initialization, not needed for components and must not be called. More...
 
static constexpr bool liquidIsCompressible ()
 Returns true if the liquid phase is assumed to be compressible. More...
 
static constexpr bool liquidViscosityIsConstant ()
 Returns true if the liquid phase viscostiy is constant. More...
 
static Scalar liquidThermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity of the component \(\mathrm{[W/(m*K)]}\) as a liquid. More...
 
static constexpr bool gasIsCompressible ()
 Returns true if the gas phase is assumed to be compressible. More...
 
static constexpr bool gasViscosityIsConstant ()
 Returns true if the gas phase viscostiy is constant. More...
 
static Scalar gasHeatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a gas. More...
 

Static Public Attributes

static constexpr bool isTabulated
 if the component relies on tabulated values More...
 

Member Typedef Documentation

◆ Scalar

using Dumux::Components::Base< Scalar , CO2< Scalar, CO2Tables > >::Scalar = Scalar
inherited

export the scalar type used by the component

Member Function Documentation

◆ criticalPressure()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::criticalPressure ( )
inlinestatic

Returns the critical pressure \(\mathrm{[Pa]}\) of CO2.

◆ criticalTemperature()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::criticalTemperature ( )
inlinestatic

Returns the critical temperature \(\mathrm{[K]}\) of CO2.

◆ gasDensity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturethe temperature \(\mathrm{[K]}\)
pressurethe pressure \(\mathrm{[Pa]}\)

◆ gasEnthalpy()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific enthalpy of gaseous CO2 \(\mathrm{[J/kg]}\).

Parameters
temperaturethe temperature \(\mathrm{[K]}\)
pressurethe pressure \(\mathrm{[Pa]}\)

◆ gasHeatCapacity()

static Scalar Dumux::Components::Gas< Scalar, CO2< Scalar, CO2Tables > >::gasHeatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a gas.

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

◆ gasInternalEnergy()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific internal energy of CO2 \(\mathrm{[J/kg]}\).

Parameters
temperaturethe temperature \(\mathrm{[K]}\)
pressurethe pressure \(\mathrm{[Pa]}\)

◆ gasIsCompressible()

static constexpr bool Dumux::Components::Gas< Scalar, CO2< Scalar, CO2Tables > >::gasIsCompressible ( )
inlinestaticconstexprinherited

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

◆ gasIsIdeal()

template<class Scalar , class CO2Tables >
static constexpr bool Dumux::Components::CO2< Scalar, CO2Tables >::gasIsIdeal ( )
inlinestaticconstexpr

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

◆ gasMolarDensity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The molar density of CO2 gas in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.

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

◆ gasPressure()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasPressure ( Scalar  temperature,
Scalar  density 
)
inlinestatic

The pressure of steam in \(\mathrm{[Pa]}\) at a given density and temperature.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
densitydensity of component in \(\mathrm{[kg/m^3]}\)

◆ gasThermalConductivity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasThermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of CO2.

Thermal conductivity of CO2 at T=20°C, see: http://www.engineeringtoolbox.com/carbon-dioxide-d_1000.html

Parameters
temperatureabsolute temperature in \(\mathrm{[K]}\)
pressureof the phase in \(\mathrm{[Pa]}\)

◆ gasViscosity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The dynamic viscosity \(\mathrm{[Pa*s]}\) of CO2. Equations given in: - Vesovic et al., 1990.

  • Fenhour et al., 1998
    Parameters
    temperaturetemperature of component in \(\mathrm{[K]}\)
    pressurepressure of component in \(\mathrm{[Pa]}\)

◆ gasViscosityIsConstant()

static constexpr bool Dumux::Components::Gas< Scalar, CO2< Scalar, CO2Tables > >::gasViscosityIsConstant ( )
inlinestaticconstexprinherited

Returns true if the gas phase viscostiy is constant.

◆ init()

static void Dumux::Components::Base< Scalar , CO2< Scalar, CO2Tables > >::init ( Scalar  tempMin,
Scalar  tempMax,
unsigned  nTemp,
Scalar  pressMin,
Scalar  pressMax,
unsigned  nPress 
)
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 , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::liquidDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

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

Parameters
temperaturethe temperature \(\mathrm{[K]}\)
pressurethe pressure \(\mathrm{[Pa]}\)

◆ liquidEnthalpy()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::liquidEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific enthalpy of liquid CO2 \(\mathrm{[J/kg]}\).

Parameters
temperaturethe temperature \(\mathrm{[K]}\)
pressurethe pressure \(\mathrm{[Pa]}\)

◆ liquidHeatCapacity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::liquidHeatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a liquid. USE WITH CAUTION! Exploits enthalpy function with artificial increment of the temperature! Equation with which the specific heat capacity is calculated : \( c_p = \frac{dh}{dT}\).

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

◆ liquidInternalEnergy()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::liquidInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific internal energy of liquid CO2 \(\mathrm{[J/kg]}\).

Parameters
temperaturethe temperature \(\mathrm{[K]}\)
pressurethe pressure \(\mathrm{[Pa]}\)

◆ liquidIsCompressible()

static constexpr bool Dumux::Components::Liquid< Scalar, CO2< Scalar, CO2Tables > >::liquidIsCompressible ( )
inlinestaticconstexprinherited

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

◆ liquidMolarDensity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::liquidMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The molar density of CO2 in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.

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

◆ liquidPressure()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::liquidPressure ( Scalar  temperature,
Scalar  density 
)
inlinestatic

The pressure of liquid water in \(\mathrm{[Pa]}\) at a given density and temperature.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
densitydensity of component in \(\mathrm{[kg/m^3]}\)

◆ liquidThermalConductivity()

static Scalar Dumux::Components::Liquid< Scalar, CO2< Scalar, CO2Tables > >::liquidThermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestaticinherited

Thermal conductivity of the component \(\mathrm{[W/(m*K)]}\) as a liquid.

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

◆ liquidViscosity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::liquidViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure CO2.

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

◆ liquidViscosityIsConstant()

static constexpr bool Dumux::Components::Liquid< Scalar, CO2< Scalar, CO2Tables > >::liquidViscosityIsConstant ( )
inlinestaticconstexprinherited

Returns true if the liquid phase viscostiy is constant.

◆ maxTabulatedPressure()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::maxTabulatedPressure ( )
inlinestatic

Returns the maximal tabulated pressure \(\mathrm{[Pa]}\) of the used table.

◆ maxTabulatedTemperature()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::maxTabulatedTemperature ( )
inlinestatic

Returns the maximal tabulated temperature \(\mathrm{[K]}\) of the used table.

◆ minTabulatedPressure()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::minTabulatedPressure ( )
inlinestatic

Returns the minimal tabulated pressure \(\mathrm{[Pa]}\) of the used table.

◆ minTabulatedTemperature()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::minTabulatedTemperature ( )
inlinestatic

Returns the minimal tabulated temperature \(\mathrm{[K]}\) of the used table.

◆ molarMass()

template<class Scalar , class CO2Tables >
static constexpr Scalar Dumux::Components::CO2< Scalar, CO2Tables >::molarMass ( )
inlinestaticconstexpr

The mass in \(\mathrm{[kg/mol]}\) of one mole of CO2.

◆ name()

template<class Scalar , class CO2Tables >
static std::string Dumux::Components::CO2< Scalar, CO2Tables >::name ( )
inlinestatic

A human readable name for the CO2.

◆ triplePressure()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::triplePressure ( )
inlinestatic

Returns the pressure \(\mathrm{[Pa]}\) at CO2's triple point.

◆ tripleTemperature()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::tripleTemperature ( )
inlinestatic

Returns the temperature \(\mathrm{[K]}\) at CO2's triple point.

◆ vaporPressure()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::vaporPressure ( Scalar  T)
inlinestatic

The vapor pressure in \(\mathrm{[Pa]}\) of pure CO2 at a given temperature.

Parameters
Tthe temperature \(\mathrm{[K]}\) See:

R. Span and W. Wagner (1996, pp. 1509-1596) [66]

Member Data Documentation

◆ isTabulated

constexpr bool Dumux::Components::Base< Scalar , CO2< Scalar, CO2Tables > >::isTabulated
staticconstexprinherited

if the component relies on tabulated values


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