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