|
template<class Evaluation > |
static Evaluation | calculateMoleFractions (const Evaluation &temperature, const Evaluation &pg, const Evaluation &salinity, bool extrapolate=false) |
| Returns the mol (!) fraction of H2 in the liquid phase for a given temperature, pressure, and brine salinity.
|
|
template<class Evaluation > |
static Evaluation | computePoyntingFactor_ (const Evaluation &temperature, const Evaluation &pg) |
| Returns the Poynting Factor (PF) which is needed in calculation of H2 solubility in Li et al (2018).
|
|
template<class Evaluation > |
static Evaluation | activityCoefficient_ (const Evaluation &temperature, const Evaluation &salinity) |
| Returns the activity coefficient of H2 in brine which is needed in calculation of H2 solubility in Li et al (2018).
|
|
template<class Evaluation > |
static Evaluation | henrysConstant_ (const Evaluation &temperature) |
| Returns Henry's constant of H2 in brine which is needed in calculation of H2 solubility in Li et al (2018).
|
|
template<class Evaluation > |
static Evaluation | moleFractionGasH2_ (const Evaluation &temperature, const Evaluation &pg) |
| Returns mole fraction of H2 in gasous phase which is needed in calculation of H2 solubility in Li et al (2018).
|
|
template<class Evaluation > |
static Evaluation | fugacityCoefficientH2 (const Evaluation &temperature, const Evaluation &pg, bool extrapolate=false) |
| Calculate fugacity coefficient for H2 which is needed in calculation of H2 solubility in Li et al (2018).
|
|
template<class Evaluation > |
static Evaluation | gasDiffCoeff (const Evaluation &temperature, const Evaluation &pressure) |
| Binary diffusion coefficent [m^2/s] for molecular water and H2 as an approximation for brine-H2 diffusion.
|
|
template<class Scalar, class
H2O, class
H2, bool verbose = true>
class Opm::BinaryCoeff::Brine_H2< Scalar, H2O, H2, verbose >
Binary coefficients for brine and H2.
template<class Scalar , class
H2O , class
H2 , bool verbose = true>
template<class Evaluation >
static Evaluation Opm::BinaryCoeff::Brine_H2< Scalar, H2O, H2, verbose >::activityCoefficient_ |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
salinity |
|
) |
| |
|
inlinestatic |
Returns the activity coefficient of H2 in brine which is needed in calculation of H2 solubility in Li et al (2018).
Note that we only include NaCl effects. Could be extended with other salts, e.g. from Duan & Sun, Chem. Geol., 2003.
- Parameters
-
temperature | temperature [K] |
salinity | salinity [mol NaCl / kg solution] |
template<class Scalar , class
H2O , class
H2 , bool verbose = true>
template<class Evaluation >
static Evaluation Opm::BinaryCoeff::Brine_H2< Scalar, H2O, H2, verbose >::calculateMoleFractions |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pg, |
|
|
const Evaluation & |
salinity, |
|
|
bool |
extrapolate = false |
|
) |
| |
|
inlinestatic |
Returns the mol (!) fraction of H2 in the liquid phase for a given temperature, pressure, and brine salinity.
Implemented according to Li et al., Int. J. Hydrogen Energ., 2018.
- Parameters
-
temperature | temperature [K] |
pg | gas phase pressure [Pa] |
salinity | salinity [kg NaCl / kg solution] |
knownPhaseIdx | indicates which phases are present |
xlH2 | mole fraction of H2 in brine [mol/mol] |
template<class Scalar , class
H2O , class
H2 , bool verbose = true>
template<class Evaluation >
static Evaluation Opm::BinaryCoeff::Brine_H2< Scalar, H2O, H2, verbose >::fugacityCoefficientH2 |
( |
const Evaluation & |
temperature, |
|
|
const Evaluation & |
pg, |
|
|
bool |
extrapolate = false |
|
) |
| |
|
inlinestatic |
Calculate fugacity coefficient for H2 which is needed in calculation of H2 solubility in Li et al (2018).
The equation used is based on Helmoltz free energy EOS. The formulas here are taken from Span et al., J. Phys. Chem. Ref. Data 29, 2000 and Leachman et al., J. Phys. Chem. Ref. Data 38, 2009, and Li et al. (2018).
- Parameters
-
temperature | temperature [K] |
pg | gas phase pressure [Pa] |