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