version 3.10-dev
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 >

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

Member Function Documentation

◆ criticalPressure()

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

◆ criticalTemperature()

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

◆ gasDensity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
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
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
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
Parameters
temperaturethe temperature \(\mathrm{[K]}\)
pressurethe pressure \(\mathrm{[Pa]}\)

◆ gasIsCompressible()

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

◆ gasIsIdeal()

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

◆ gasMolarDensity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::gasMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
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
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 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
  • 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

◆ init()

static void Dumux::Components::Base< Scalar , CO2< Scalar, CO2Tables > >::init ( Scalar  tempMin,
Scalar  tempMax,
unsigned  nTemp,
Scalar  pressMin,
Scalar  pressMax,
unsigned  nPress 
)
inlinestaticinherited
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
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
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
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
Parameters
temperaturethe temperature \(\mathrm{[K]}\)
pressurethe pressure \(\mathrm{[Pa]}\)

◆ liquidIsCompressible()

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

◆ liquidMolarDensity()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::liquidMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic
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
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
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
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

◆ maxTabulatedPressure()

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

◆ maxTabulatedTemperature()

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

◆ minTabulatedPressure()

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

◆ minTabulatedTemperature()

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

◆ molarMass()

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

◆ name()

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

◆ triplePressure()

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

◆ tripleTemperature()

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

◆ vaporPressure()

template<class Scalar , class CO2Tables >
static Scalar Dumux::Components::CO2< Scalar, CO2Tables >::vaporPressure ( Scalar  T)
inlinestatic
Parameters
Tthe temperature \(\mathrm{[K]}\) See:

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

Member Data Documentation

◆ isTabulated

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

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