3.3.0
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
29#warning "This header is deprecated. Removal after 3.3. Use new material laws."
30
33
34namespace Dumux {
35
44template <class ScalarT, class ParamsT = RegularizedVanGenuchtenParams<ScalarT> >
45class [[deprecated("Use new material laws! Removal after 3.3")]] RegularizedVanGenuchtenOfTemperature : public RegularizedVanGenuchten<ScalarT, ParamsT>
46{
48 // Data is in /home/pnuske/paper/pcOfT/
49
50public:
51 using Params = ParamsT;
52 using Scalar = typename Params::Scalar;
53
67 static Scalar pc(const Params &params, const Scalar & Swe, const Scalar & temperature)
68 {
69 Scalar beta0 = -413.4 ;
70 Scalar TRef = 298.15 ;
71 Scalar pcTemp = RegularizedVanGenuchten::pc(params,Swe);
72 Scalar pc = pcTemp * ((beta0+temperature) / (beta0+TRef));
73 return pc;
74 }
75}; // class RegularizedVanGenuchtenOfTemperature
76
77} // namespace Dumux
78
79
80#endif
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".
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:73
static Scalar pc(const Params &params, Scalar swe)
A regularized van Genuchten capillary pressure-saturation curve.
Definition: regularizedvangenuchten.hh:93
Implementation of the regularized van Genuchten's capillary pressure / relative permeability <-> satu...
Definition: vangenuchtenoftemperature.hh:46
ParamsT Params
Definition: vangenuchtenoftemperature.hh:51
typename Params::Scalar Scalar
Definition: vangenuchtenoftemperature.hh:52
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:67