3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
h2o_o2.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 * See the file COPYING for full copying permissions. *
5 * *
6 * This program is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation, either version 3 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. *
18 *****************************************************************************/
24#ifndef DUMUX_BINARY_COEFF_H2O_O2_HH
25#define DUMUX_BINARY_COEFF_H2O_O2_HH
26
29
32
33namespace Dumux {
34namespace BinaryCoeff {
35
40class H2O_O2
41{
42public:
47 template <class Scalar>
48 static Scalar henry(Scalar temperature)
49 {
50 const Scalar E = 2305.0674;
51 const Scalar F = -11.3240;
52 const Scalar G = 25.3224;
53 const Scalar H = -15.6449;
54
55 return henryIAPWS(E, F, G, H, temperature);
56 }
57
65 template <class Scalar>
66 static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
67 {
69 using O2 = Components::O2<Scalar>;
70
71 // atomic diffusion volumes
72 const Scalar SigmaNu[2] = { 13.1 /* H2O */, 16.3 /* O2 */ };
73 // molar masses [g/mol]
74 const Scalar M[2] = { H2O::molarMass()*1e3, O2::molarMass()*1e3 };
75
76 return fullerMethod(M, SigmaNu, temperature, pressure);
77 }
78
96 template <class Scalar>
97 static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
98 {
99 const Scalar Texp = 273.15 + 25; // [K]
100 const Scalar Dexp = 2.2e-9; // [m^2/s]
101 return Dexp * temperature/Texp;
102 }
103};
104
105} // end namespace BinaryCoeff
106} // end namespace Dumux
107
108#endif
Various relations for molecular diffusion coefficients.
The IAPWS formulation of Henry coefficients in water.
Material properties of pure water .
Properties of pure molecular oxygen .
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:48
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:52
Definition: adapt.hh:29
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:51
std::string pressure(int phaseIdx) noexcept
I/O name of pressure for multiphase systems.
Definition: name.hh:34
Binary coefficients for water and oxygen.
Definition: h2o_o2.hh:41
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient for molecular water and oxygen.
Definition: h2o_o2.hh:66
static Scalar henry(Scalar temperature)
Henry coefficient for molecular oxygen in liquid water.
Definition: h2o_o2.hh:48
static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
Diffusion coefficient for molecular oxygen in liquid water.
Definition: h2o_o2.hh:97
Material properties of pure water .
Definition: h2o.hh:61
Properties of pure molecular oxygen .
Definition: o2.hh:47