version 3.11-dev
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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-FileCopyrightText: 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::BinaryCoeff {
22
28{
29public:
40 template <class Scalar>
41 static Scalar henry(Scalar temperature)
42 {
43 const Scalar E = 2215.6977;
44 const Scalar F = -0.1089;
45 const Scalar G = -6.6240;
46 const Scalar H = 4.6789;
47
48 return henryIAPWS(E, F, G, H, temperature);
49 }
50
57 template <class Scalar>
58 static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
59 {
60 // DUNE_THROW(Dune::NotImplemented, "diffusion coefficient for gasous water and methane");
61
64
65 // atomic diffusion volumes
66 // Vch4 = sum(ni*Vi) = 15.9 + 4*2.31 = 25.14 (Tang et al., 2015)--> method, (Poling et al., 2001, p.11.11)--> values
67 const Scalar SigmaNu[2] = { 13.1 /* H2O */, 25.14 /* CH4 */ };
68 // molar masses [g/mol]
69 const Scalar M[2] = { H2O::molarMass()*Scalar(1e3), CH4::molarMass()*Scalar(1e3) };
70
71 return fullerMethod(M, SigmaNu, temperature, pressure);
72 }
73
87 template <class Scalar>
88 static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
89 {
90 return 2.93856e-11 * temperature - 6.89402e-09;
91 }
92};
93
94} // end namespace Dumux::BinaryCoeff
95
96#endif
Properties of methane .
Binary coefficients for water and methane.
Definition: h2o_ch4.hh:28
static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
Diffusion coefficient for molecular methane in liquid water.
Definition: h2o_ch4.hh:88
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient for molecular water in methane.
Definition: h2o_ch4.hh:58
static Scalar henry(Scalar temperature)
Henry coefficient for molecular methane in liquid water.
Definition: h2o_ch4.hh:41
Properties of pure molecular methane .
Definition: ch4.hh:34
Material properties of pure water .
Definition: h2o.hh:48
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.
Definition: air_mesitylene.hh:18
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