25#ifndef DUMUX_BROOKS_COREY_HH
26#define DUMUX_BROOKS_COREY_HH
47template <
class ScalarT,
class ParamsT = BrooksCoreyParams<ScalarT> >
52 using Scalar =
typename Params::Scalar;
78 swe = min(max(swe, 0.0), 1.0);
80 return params.pe()*pow(swe, -1.0/params.lambda());
105 return pow(
pc/params.pe(), -params.lambda());
116 {
return params.pe(); }
142 swe = min(max(swe, 0.0), 1.0);
144 return - params.pe()/params.lambda() * pow(swe, -1/params.lambda() - 1);
167 return -params.lambda()/params.pe() * pow(
pc/params.pe(), - params.lambda() - 1);
190 swe = min(max(swe, 0.0), 1.0);
192 return pow(swe, 2.0/params.lambda() + 3);
216 swe = min(max(swe, 0.0), 1.0);
218 return (2.0/params.lambda() + 3)*pow(swe, 2.0/params.lambda() + 2);
241 swe = min(max(swe, 0.0), 1.0);
243 const Scalar exponent = 2.0/params.lambda() + 1;
244 const Scalar tmp = 1.0 - swe;
245 return tmp*tmp*(1.0 - pow(swe, exponent));
270 swe = min(max(swe, 0.0), 1.0);
272 return 2.0*(swe - 1)*(1 + pow(swe, 2.0/params.lambda())*(1.0/params.lambda() + 1.0/2
273 - swe*(1.0/params.lambda() + 1.0/2)
Specification of the material parameters for the Brooks Corey constitutive relations.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Implementation of the Brooks-Corey capillary pressure <-> saturation relation. This class bundles the...
Definition: brookscorey.hh:49
static Scalar dkrw_dswe(const Params ¶ms, Scalar swe)
The derivative of the relative permeability for the wetting phase with regard to the wetting saturati...
Definition: brookscorey.hh:210
static Scalar dswe_dpc(const Params ¶ms, Scalar pc)
The partial derivative of the effective saturation w.r.t. the capillary pressure according to Brooks ...
Definition: brookscorey.hh:160
ParamsT Params
Definition: brookscorey.hh:51
static Scalar dpc_dswe(const Params ¶ms, Scalar swe)
The partial derivative of the capillary pressure w.r.t. the effective saturation according to Brooks ...
Definition: brookscorey.hh:136
static Scalar krw(const Params ¶ms, Scalar swe)
The relative permeability for the wetting phase of the medium implied by the Brooks-Corey parameteriz...
Definition: brookscorey.hh:184
static Scalar pc(const Params ¶ms, Scalar swe)
The capillary pressure-saturation curve according to Brooks & Corey.
Definition: brookscorey.hh:72
typename Params::Scalar Scalar
Definition: brookscorey.hh:52
static Scalar endPointPc(const Params ¶ms)
The capillary pressure at Swe = 1.0 also called end point capillary pressure.
Definition: brookscorey.hh:115
static Scalar sw(const Params ¶ms, Scalar pc)
The saturation-capillary pressure curve according to Brooks & Corey.
Definition: brookscorey.hh:98
static Scalar krn(const Params ¶ms, Scalar swe)
The relative permeability for the non-wetting phase of the medium as implied by the Brooks-Corey para...
Definition: brookscorey.hh:235
static Scalar dkrn_dswe(const Params ¶ms, Scalar swe)
The derivative of the relative permeability for the non-wetting phase in regard to the wetting satura...
Definition: brookscorey.hh:264