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;
95 return pcsweLow + m*(swe - sThres);
100 return pcsweHigh + m*(swe - 1.0);
141 return sThres + (
pc - pcsweLow)/m;
143 else if (swe > 1.0) {
146 return 1.0 + (
pc - pcsweHigh)/m;
160 {
return params.
pe(); }
186 else if (swe > 1.0) {
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)
Definition brookscorey.hh:136
static Scalar krw(const Params ¶ms, Scalar swe)
Definition brookscorey.hh:184
static Scalar pc(const Params ¶ms, Scalar swe)
Definition brookscorey.hh:72
static Scalar sw(const Params ¶ms, Scalar pc)
Definition brookscorey.hh:98
static Scalar krn(const Params ¶ms, Scalar swe)
Definition brookscorey.hh:235
Scalar pe() const
Returns the entry pressure in .
Definition brookscoreyparams.hh:70
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
Scalar thresholdSw() const
Threshold saturation below which the capillary pressure is regularized.
Definition regularizedbrookscoreyparams.hh:85