Opm::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose > Class Template Reference

Binary coefficients for brine and CO2. More...

#include <Brine_CO2.hpp>

List of all members.

Static Public Member Functions

template<class Evaluation >
static Evaluation gasDiffCoeff (const Evaluation &temperature, const Evaluation &pressure)
 Binary diffusion coefficent [m^2/s] of water in the CO2 phase.
template<class Evaluation >
static Evaluation liquidDiffCoeff (const Evaluation &, const Evaluation &)
 Binary diffusion coefficent [m^2/s] of CO2 in the brine phase.
template<class Evaluation >
static void calculateMoleFractions (const Evaluation &temperature, const Evaluation &pg, Scalar salinity, const int knownPhaseIdx, Evaluation &xlCO2, Evaluation &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.
template<class Evaluation >
static Evaluation henry (const Evaluation &temperature)
 Henry coefficent $\mathrm{[N/m^2]}$ for CO2 in brine.
template<class Evaluation >
static Evaluation fugacityCoefficientCO2 (const Evaluation &temperature, const Evaluation &pg)
 Returns the fugacity coefficient of the CO2 component in a water-CO2 mixture.
template<class Evaluation >
static Evaluation fugacityCoefficientH2O (const Evaluation &temperature, const Evaluation &pg)
 Returns the fugacity coefficient of the H2O component in a water-CO2 mixture.

Detailed Description

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

Binary coefficients for brine and CO2.


Member Function Documentation

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

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" applying the activity coefficient expression of "Duan and Sun 2003" and the correlations for pure water given in "Spycher, Pruess and Ennis-King 2003"

Parameters:
temperature the temperature [K]
pg the gas phase pressure [Pa]
salinity the salinity [kg NaCl / kg solution]
knownPhaseIdx indicates which phases are present
xlCO2 mole fraction of CO2 in brine [mol/mol]
ygH2O mole fraction of water in the gas phase [mol/mol]
template<class Scalar , class CO2Tables , bool verbose = true>
template<class Evaluation >
static Evaluation Opm::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::fugacityCoefficientCO2 ( const Evaluation &  temperature,
const Evaluation &  pg 
) [inline, static]

Returns the fugacity coefficient of the CO2 component in a water-CO2 mixture.

(given in Spycher, Pruess and Ennis-King (2003))

Parameters:
T the temperature [K]
pg the gas phase pressure [Pa]
template<class Scalar , class CO2Tables , bool verbose = true>
template<class Evaluation >
static Evaluation Opm::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::fugacityCoefficientH2O ( const Evaluation &  temperature,
const Evaluation &  pg 
) [inline, static]

Returns the fugacity coefficient of the H2O component in a water-CO2 mixture.

(given in Spycher, Pruess and Ennis-King (2003))

Parameters:
temperature the temperature [K]
pg the gas phase pressure [Pa]
template<class Scalar , class CO2Tables , bool verbose = true>
template<class Evaluation >
static Evaluation Opm::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::gasDiffCoeff ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Binary diffusion coefficent [m^2/s] of water in the CO2 phase.

According to "Diffusion of Water in Liquid and Supercritical Carbon Dioxide: An NMR Study",Bin Xu et al., 2002

Parameters:
temperature the temperature [K]
pressure the phase pressure [Pa]
template<class Scalar , class CO2Tables , bool verbose = true>
template<class Evaluation >
static Evaluation Opm::BinaryCoeff::Brine_CO2< Scalar, CO2Tables, verbose >::liquidDiffCoeff ( const Evaluation &  ,
const Evaluation &   
) [inline, static]

Binary diffusion coefficent [m^2/s] of CO2 in the brine phase.

Parameters:
temperature the temperature [K]
pressure the phase pressure [Pa]

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

Generated on 25 Mar 2018 by  doxygen 1.6.1