version 3.8
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// 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_HEAVYOIL_HH
13#define DUMUX_BINARY_COEFF_H2O_HEAVYOIL_HH
14
17
18namespace Dumux {
19namespace BinaryCoeff {
20
26{
27public:
34 template <class Scalar>
35 static Scalar henryOilInWater(Scalar temperature)
36 {
37 // values copied from TCE, TODO: improve this!!
38 Scalar dumuxH = 1.5e-1 / 101.325; // unit [(mol/m^3)/Pa]
39 dumuxH *= 18.02e-6; //multiplied by molar volume of reference phase = water
40 return 1.0/dumuxH; // [Pa]
41 }
42
49 template <class Scalar>
50 static Scalar henryWaterInOil(Scalar temperature)
51 {
52 // arbitrary, TODO: improve it!!
53 return 1.0e8; // [Pa]
54 }
55
56
64 template <class Scalar>
65 static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
66 {
67 return 1e-6; // [m^2/s] TODO: This is just an order of magnitude. Please improve it!
68 }
69
77 template <class Scalar>
78 static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
79 {
80 return 1.e-9; // This is just an order of magnitude. Please improve it!
81 }
82};
83
84} // end namespace BinaryCoeff
85} // end namespace Dumux
86
87#endif
Binary coefficients for water and heavy oil as in SAGD processes.
Definition: h2o_heavyoil.hh:26
static Scalar liquidDiffCoeff(Scalar temperature, Scalar pressure)
Diffusion coefficient [m^2/s] for heavy oil in liquid water.
Definition: h2o_heavyoil.hh:78
static Scalar gasDiffCoeff(Scalar temperature, Scalar pressure)
Binary diffusion coefficient [m^2/s] for molecular water and heavy oil.
Definition: h2o_heavyoil.hh:65
static Scalar henryOilInWater(Scalar temperature)
Henry coefficient for heavy oil in liquid water.
Definition: h2o_heavyoil.hh:35
static Scalar henryWaterInOil(Scalar temperature)
Henry coefficient for water in liquid heavy oil.
Definition: h2o_heavyoil.hh:50
Material properties of pure water .
Properties of the component heavyoil.
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