25#ifndef REGULARIZED_BROOKS_COREY_HH
26#define REGULARIZED_BROOKS_COREY_HH
28#warning "This header is deprecated. Removal after 3.3. Use new material laws."
62template <
class ScalarT,
class ParamsT = RegularizedBrooksCoreyParams<ScalarT> >
69 using Scalar =
typename Params::Scalar;
86 const Scalar sThres = params.thresholdSw();
97 return pcsweLow + m*(swe - sThres);
102 return pcsweHigh + m*(swe - 1.0);
126 const Scalar sThres = params.thresholdSw();
143 return sThres + (
pc - pcsweLow)/m;
145 else if (swe > 1.0) {
148 return 1.0 + (
pc - pcsweHigh)/m;
162 {
return params.pe(); }
180 const Scalar sThres = params.thresholdSw();
188 else if (swe > 1.0) {
213 const Scalar sThres = params.thresholdSw();
216 if (params.pe() == 0.0)
236 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.
Implementation of the Brooks-Corey capillary pressure <-> saturation relation. This class bundles the...
Definition: brookscorey.hh:50
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:208
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:183
static Scalar pc(const Params ¶ms, Scalar swe)
The capillary pressure-saturation curve according to Brooks & Corey.
Definition: brookscorey.hh:73
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 nonwetting phase of the medium as implied by the Brooks-Corey param...
Definition: brookscorey.hh:232
static Scalar dkrn_dswe(const Params ¶ms, Scalar swe)
The derivative of the relative permeability for the nonwetting phase in regard to the wetting saturat...
Definition: brookscorey.hh:260
Implementation of the regularized Brooks-Corey capillary pressure / relative permeability <-> saturat...
Definition: regularizedbrookscorey.hh:64
static Scalar dkrn_dswe(const Params ¶ms, Scalar swe)
A regularized version of the derivative of the relative permeability for the nonwetting phase in rega...
Definition: regularizedbrookscorey.hh:318
static Scalar pc(const Params ¶ms, Scalar swe)
A regularized Brooks-Corey capillary pressure-saturation curve.
Definition: regularizedbrookscorey.hh:84
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:258
static Scalar krn(const Params ¶ms, Scalar swe)
Regularized version of the relative permeability for the nonwetting phase of the medium implied by th...
Definition: regularizedbrookscorey.hh:301
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:178
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:211
static Scalar sw(const Params ¶ms, Scalar pc)
A regularized Brooks-Corey saturation-capillary pressure curve.
Definition: regularizedbrookscorey.hh:124
ParamsT Params
Definition: regularizedbrookscorey.hh:68
typename Params::Scalar Scalar
Definition: regularizedbrookscorey.hh:69
static Scalar dkrw_dswe(const Params ¶ms, Scalar swe)
A regularized version of the derivative of the relative permeability for the wetting phase in regard ...
Definition: regularizedbrookscorey.hh:275
static Scalar endPointPc(const Params ¶ms)
The capillary pressure at Swe = 1.0 also called end point capillary pressure.
Definition: regularizedbrookscorey.hh:161