Processing math: 100%
3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
Dumux::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose > Class Template Reference

Binary coefficients for brine and CO2. More...

#include <dumux/material/binarycoefficients/brine_co2.hh>

Description

template<class Scalar, class CO2Tables, bool verbose = true>
class Dumux::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >

Binary coefficients for brine and CO2.

Static Public Member Functions

static Scalar gasDiffCoeff (Scalar temperature, Scalar pressure)
 Binary diffusion coefficient \mathrm{[m^2/s]} of water in the CO2 phase. More...
 
static Scalar liquidDiffCoeff (Scalar temperature, Scalar pressure)
 Binary diffusion coefficient \mathrm{[m^2/s]} of CO2 in the brine phase. More...
 
static void calculateMoleFractions (const Scalar temperature, const Scalar pg, const Scalar salinity, const int knownPhaseIdx, Scalar &xlCO2, Scalar &ygH2O)
 Returns the mol (!) fraction of CO2 in the liquid phase and the mol (!) fraction of H2O in the gas phase for a given temperature, pressure, CO2 density and brine salinity. More...
 
static Scalar fugacityCoefficientCO2 (Scalar T, Scalar pg)
 Returns the fugacity coefficient of the CO2 component in a water-CO2 mixture (given in Spycher, Pruess and Ennis-King (2003) [68] ) More...
 
static Scalar fugacityCoefficientH2O (Scalar T, Scalar pg)
 Returns the fugacity coefficient of the H2O component in a water-CO2 mixture (given in Spycher, Pruess and Ennis-King (2003) [68] ) More...
 

Member Function Documentation

◆ calculateMoleFractions()

template<class Scalar , class CO2Tables , bool verbose = true>
static void Dumux::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::calculateMoleFractions ( const Scalar  temperature,
const Scalar  pg,
const Scalar  salinity,
const int  knownPhaseIdx,
Scalar &  xlCO2,
Scalar &  ygH2O 
)
inlinestatic

Returns the mol (!) fraction of CO2 in the liquid phase and the mol (!) fraction of H2O in the gas phase for a given temperature, pressure, CO2 density and brine salinity.

Implemented according to Spycher and Pruess (2005) [67]
applying the activity coefficient expression of Duan and Sun (2003) [21]
and the correlations for pure water given in Spycher, Pruess and Ennis-King (2003) [68]

Parameters
temperaturethe temperature \mathrm{[K]}
pgthe gas phase pressure \mathrm{[Pa]}
salinitythe salinity \mathrm{[kg \ NaCl / kg \ solution]}
knownPhaseIdxindicates which phases are present
xlCO2mole fraction of CO2 in brine \mathrm{[mol/mol]}
ygH2Omole fraction of water in the gas phase \mathrm{[mol/mol]}

◆ fugacityCoefficientCO2()

template<class Scalar , class CO2Tables , bool verbose = true>
static Scalar Dumux::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::fugacityCoefficientCO2 ( Scalar  T,
Scalar  pg 
)
inlinestatic

Returns the fugacity coefficient of the CO2 component in a water-CO2 mixture (given in Spycher, Pruess and Ennis-King (2003) [68] )

Parameters
Tthe temperature \mathrm{[K]}
pgthe gas phase pressure \mathrm{[Pa]}

◆ fugacityCoefficientH2O()

template<class Scalar , class CO2Tables , bool verbose = true>
static Scalar Dumux::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::fugacityCoefficientH2O ( Scalar  T,
Scalar  pg 
)
inlinestatic

Returns the fugacity coefficient of the H2O component in a water-CO2 mixture (given in Spycher, Pruess and Ennis-King (2003) [68] )

Parameters
Tthe temperature \mathrm{[K]}
pgthe gas phase pressure \mathrm{[Pa]}

◆ gasDiffCoeff()

template<class Scalar , class CO2Tables , bool verbose = true>
static Scalar Dumux::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::gasDiffCoeff ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Binary diffusion coefficient \mathrm{[m^2/s]} of water in the CO2 phase.

According to B. Xu et al. (2002) [82]

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

◆ liquidDiffCoeff()

template<class Scalar , class CO2Tables , bool verbose = true>
static Scalar Dumux::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::liquidDiffCoeff ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Binary diffusion coefficient \mathrm{[m^2/s]} of CO2 in the brine phase.

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

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