version 3.10-dev
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// 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_O2_HH
13#define DUMUX_BINARY_COEFF_H2O_O2_HH
14
17
20
21namespace Dumux {
22namespace BinaryCoeff {
23
28class H2O_O2
29{
30public:
35 template <class Scalar>
36 static Scalar henry(Scalar temperature)
37 {
38 const Scalar E = 2305.0674;
39 const Scalar F = -11.3240;
40 const Scalar G = 25.3224;
41 const Scalar H = -15.6449;
42
43 return henryIAPWS(E, F, G, H, temperature);
44 }
45
53 template <class Scalar>
54 static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
55 {
57 using O2 = Components::O2<Scalar>;
58
59 // atomic diffusion volumes
60 const Scalar SigmaNu[2] = { 13.1 /* H2O */, 16.3 /* O2 */ };
61 // molar masses [g/mol]
62 const Scalar M[2] = { H2O::molarMass()*1e3, O2::molarMass()*1e3 };
63
64 return fullerMethod(M, SigmaNu, temperature, pressure);
65 }
66
84 template <class Scalar>
85 static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
86 {
87 const Scalar Texp = 273.15 + 25; // [K]
88 const Scalar Dexp = 2.2e-9; // [m^2/s]
89 return Dexp * temperature/Texp;
90 }
91};
92
93} // end namespace BinaryCoeff
94} // end namespace Dumux
95
96#endif
Binary coefficients for water and oxygen.
Definition: h2o_o2.hh:29
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient for molecular water and oxygen.
Definition: h2o_o2.hh:54
static Scalar henry(Scalar temperature)
Henry coefficient for molecular oxygen in liquid water.
Definition: h2o_o2.hh:36
static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
Diffusion coefficient for molecular oxygen in liquid water.
Definition: h2o_o2.hh:85
Material properties of pure water .
Definition: h2o.hh:49
Properties of pure molecular oxygen .
Definition: o2.hh:36
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
Properties of pure molecular oxygen .