3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
vangenuchtenoftemperature.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 *****************************************************************************/
26#ifndef REGULARIZED_VAN_GENUCHTEN_OF_TEMPERATURE_HH
27#define REGULARIZED_VAN_GENUCHTEN_OF_TEMPERATURE_HH
28
31
32namespace Dumux {
33
42template <class ScalarT, class ParamsT = RegularizedVanGenuchtenParams<ScalarT> >
44{
46 // Data is in /home/pnuske/paper/pcOfT/
47
48public:
49 using Params = ParamsT;
50 using Scalar = typename Params::Scalar;
51
65 static Scalar pc(const Params &params, const Scalar & Swe, const Scalar & temperature)
66 {
67 Scalar beta0 = -413.4 ;
68 Scalar TRef = 298.15 ;
69 Scalar pcTemp = RegularizedVanGenuchten::pc(params,Swe);
70 Scalar pc = pcTemp * ((beta0+temperature) / (beta0+TRef));
71 return pc;
72 }
73}; // class RegularizedVanGenuchtenOfTemperature
74
75} // namespace Dumux
76
77
78#endif // REGULARIZED_VAN_GENUCHTEN_OF_TEMPERATURE_HH
Implementation of the regularized version of the van Genuchten's capillary pressure / relative permea...
Parameters that are necessary for the regularization of VanGenuchten "material law".
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:51
Implementation of the regularized van Genuchten's capillary pressure / relative permeability <-> satu...
Definition: regularizedvangenuchten.hh:71
static Scalar pc(const Params &params, Scalar swe)
A regularized van Genuchten capillary pressure-saturation curve.
Definition: regularizedvangenuchten.hh:91
Implementation of the regularized van Genuchten's capillary pressure / relative permeability <-> satu...
Definition: vangenuchtenoftemperature.hh:44
ParamsT Params
Definition: vangenuchtenoftemperature.hh:49
typename Params::Scalar Scalar
Definition: vangenuchtenoftemperature.hh:50
static Scalar pc(const Params &params, const Scalar &Swe, const Scalar &temperature)
A regularized van Genuchten capillary pressure-saturation curve as a function of temperature.
Definition: vangenuchtenoftemperature.hh:65