3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
h2o_heavyoil.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_HEAVYOIL_HH
25#define DUMUX_BINARY_COEFF_H2O_HEAVYOIL_HH
26
29
30namespace Dumux {
31namespace BinaryCoeff {
32
38{
39public:
46 template <class Scalar>
47 static Scalar henryOilInWater(Scalar temperature)
48 {
49 // values copied from TCE, TODO: improve this!!
50 Scalar dumuxH = 1.5e-1 / 101.325; // unit [(mol/m^3)/Pa]
51 dumuxH *= 18.02e-6; //multiplied by molar volume of reference phase = water
52 return 1.0/dumuxH; // [Pa]
53 }
54
61 template <class Scalar>
62 static Scalar henryWaterInOil(Scalar temperature)
63 {
64 // arbitrary, TODO: improve it!!
65 return 1.0e8; // [Pa]
66 }
67
68
76 template <class Scalar>
77 static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
78 {
79 return 1e-6; // [m^2/s] TODO: This is just an order of magnitude. Please improve it!
80 }
81
89 template <class Scalar>
90 static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
91 {
92 return 1.e-9; // This is just an order of magnitude. Please improve it!
93 }
94};
95
96} // end namespace BinaryCoeff
97} // end namespace Dumux
98
99#endif
Material properties of pure water .
Properties of the component heavyoil.
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 heavy oil as in SAGD processes.
Definition: h2o_heavyoil.hh:38
static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
Diffusion coefficient [m^2/s] for heavy oil in liquid water.
Definition: h2o_heavyoil.hh:90
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient [m^2/s] for molecular water and heavy oil.
Definition: h2o_heavyoil.hh:77
static Scalar henryOilInWater(Scalar temperature)
Henry coefficient for heavy oil in liquid water.
Definition: h2o_heavyoil.hh:47
static Scalar henryWaterInOil(Scalar temperature)
Henry coefficient for water in liquid heavy oil.
Definition: h2o_heavyoil.hh:62