version 3.8
h2o_ch4.hh
Go to the documentation of this file.
1// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2// vi: set et ts=4 sw=4 sts=4:
3//
4// SPDX-FileCopyrightInfo: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5// SPDX-License-Identifier: GPL-3.0-or-later
6//
12#ifndef DUMUX_BINARY_COEFF_H2O_CH4_HH
13#define DUMUX_BINARY_COEFF_H2O_CH4_HH
14
17
20
21namespace Dumux {
22namespace BinaryCoeff {
23
29{
30public:
41 template <class Scalar>
42 static Scalar henry(Scalar temperature)
43 {
44 const Scalar E = 2215.6977;
45 const Scalar F = -0.1089;
46 const Scalar G = -6.6240;
47 const Scalar H = 4.6789;
48
49 return henryIAPWS(E, F, G, H, temperature);
50 }
51
58 template <class Scalar>
59 static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
60 {
61 // DUNE_THROW(Dune::NotImplemented, "diffusion coefficient for gasous water and methane");
62
65
66 // atomic diffusion volumes
67 // Vch4 = sum(ni*Vi) = 15.9 + 4*2.31 = 25.14 (Tang et al., 2015)--> method, (Poling et al., 2001, p.11.11)--> values
68 const Scalar SigmaNu[2] = { 13.1 /* H2O */, 25.14 /* CH4 */ };
69 // molar masses [g/mol]
70 const Scalar M[2] = { H2O::molarMass()*Scalar(1e3), CH4::molarMass()*Scalar(1e3) };
71
72 return fullerMethod(M, SigmaNu, temperature, pressure);
73 }
74
88 template <class Scalar>
89 static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
90 {
91 return 2.93856e-11 * temperature - 6.89402e-09;
92 }
93};
94
95} // end namespace BinaryCoeff
96} // end namespace Dumux
97
98#endif
Properties of methane .
Binary coefficients for water and methane.
Definition: h2o_ch4.hh:29
static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
Diffusion coefficient for molecular methane in liquid water.
Definition: h2o_ch4.hh:89
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient for molecular water in methane.
Definition: h2o_ch4.hh:59
static Scalar henry(Scalar temperature)
Henry coefficient for molecular methane in liquid water.
Definition: h2o_ch4.hh:42
Properties of pure molecular methane .
Definition: ch4.hh:34
Material properties of pure water .
Definition: h2o.hh:49
Various relations for molecular diffusion coefficients.
Scalar fullerMethod(const Scalar *M, const Scalar *SigmaNu, const Scalar temperature, const Scalar pressure)
Estimate binary diffusion coefficients in gases according to the method by Fuller.
Definition: fullermethod.hh:36
Scalar henryIAPWS(Scalar E, Scalar F, Scalar G, Scalar H, Scalar temperature)
The Henry constants in liquid water using the IAPWS 2004 formulation.
Definition: henryiapws.hh:40
Material properties of pure water .
The IAPWS formulation of Henry coefficients in water.
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:39
std::string pressure(int phaseIdx) noexcept
I/O name of pressure for multiphase systems.
Definition: name.hh:22
Definition: adapt.hh:17