25#ifndef REGULARIZED_BROOKS_COREY_HH
26#define REGULARIZED_BROOKS_COREY_HH
60template <
class ScalarT,
class ParamsT = RegularizedBrooksCoreyParams<ScalarT> >
67 using Scalar =
typename Params::Scalar;
84 const Scalar sThres = params.thresholdSw();
95 return pcsweLow + m*(swe - sThres);
100 return pcsweHigh + m*(swe - 1.0);
124 const Scalar sThres = params.thresholdSw();
141 return sThres + (
pc - pcsweLow)/m;
143 else if (swe > 1.0) {
146 return 1.0 + (
pc - pcsweHigh)/m;
160 {
return params.pe(); }
178 const Scalar sThres = params.thresholdSw();
186 else if (swe > 1.0) {
211 const Scalar sThres = params.thresholdSw();
214 if (params.pe() == 0.0)
234 else if (swe > 1.0) {
Provides 3rd order polynomial splines.
Implementation of the capillary pressure and relative permeability <-> saturation relations according...
Parameters that are necessary for the regularization of the Brooks-Corey capillary pressure model.
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 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
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
Implementation of the regularized Brooks-Corey capillary pressure / relative permeability <-> saturat...
Definition: regularizedbrookscorey.hh:62
static Scalar pc(const Params ¶ms, Scalar swe)
A regularized Brooks-Corey capillary pressure-saturation curve.
Definition: regularizedbrookscorey.hh:82
static Scalar krw(const Params ¶ms, Scalar swe)
Regularized version of the relative permeability for the wetting phase of the medium implied by the B...
Definition: regularizedbrookscorey.hh:256
static Scalar krn(const Params ¶ms, Scalar swe)
Regularized version of the relative permeability for the non-wetting phase of the medium implied by t...
Definition: regularizedbrookscorey.hh:280
static Scalar dpc_dswe(const Params ¶ms, Scalar swe)
A regularized version of the partial derivative of the w.r.t. effective saturation according to Broo...
Definition: regularizedbrookscorey.hh:176
static Scalar dswe_dpc(const Params ¶ms, Scalar pc)
A regularized version of the partial derivative of the w.r.t. cap.pressure according to Brooks & Cor...
Definition: regularizedbrookscorey.hh:209
static Scalar sw(const Params ¶ms, Scalar pc)
A regularized Brooks-Corey saturation-capillary pressure curve.
Definition: regularizedbrookscorey.hh:122
ParamsT Params
Definition: regularizedbrookscorey.hh:66
typename Params::Scalar Scalar
Definition: regularizedbrookscorey.hh:67
static Scalar endPointPc(const Params ¶ms)
The capillary pressure at Swe = 1.0 also called end point capillary pressure.
Definition: regularizedbrookscorey.hh:159