25#ifndef DUMUX_REGULARIZED_LINEAR_MATERIAL_HH
26#define DUMUX_REGULARIZED_LINEAR_MATERIAL_HH
28#warning "This header is deprecated. Removal after 3.3"
58template <
class ScalarT,
class ParamsT = RegularizedLinearMaterialParams<ScalarT> >
65 using Scalar =
typename Params::Scalar;
112 {
return params.entryPc(); }
144 return LinearMaterial::dswe_dpc(params,
pc);
157 return relperm_(params, swe);
171 return relperm_(params, sne);
177 const Scalar lowS = params.krLowS();
178 const Scalar highS = params.krHighS();
181 const Scalar m = (1 - ((1 - highS) + lowS)/2 ) / (1 - (1 - highS) - lowS);
196 else if (S > highS) {
199 1 - (1 - highS)/2, 1,
205 return lowS/2 + m*(S - lowS);
Provides 3rd order polynomial splines.
Linear capillary pressure and relative permeability <-> saturation relations.
Parameters that are necessary for the regularization of the linear constitutive relations.
A 3rd order polynomial spline.
Definition: spline.hh:55
Linear capillary pressure and relative permeability <-> saturation relations.
Definition: linearmaterial.hh:49
static Scalar sw(const Params ¶ms, Scalar pc)
The saturation-capillary pressure curve.
Definition: linearmaterial.hh:87
static Scalar dpc_dswe(const Params ¶ms, Scalar swe)
Returns the partial derivative of the capillary pressure w.r.t. the effective saturation.
Definition: linearmaterial.hh:117
static Scalar pc(const Params ¶ms, Scalar swe)
The linear capillary pressure-saturation curve.
Definition: linearmaterial.hh:68
Implements a linear saturation-capillary pressure relation.
Definition: regularizedlinearmaterial.hh:60
static Scalar endPointPc(const Params ¶ms)
The capillary pressure at Swe = 1.0 also called end point capillary pressure.
Definition: regularizedlinearmaterial.hh:111
ParamsT Params
Definition: regularizedlinearmaterial.hh:64
static Scalar dswe_dpc(const Params ¶ms, Scalar pc)
Returns the partial derivative of the effective saturation to the capillary pressure.
Definition: regularizedlinearmaterial.hh:142
static Scalar sw(const Params ¶ms, Scalar pc)
The saturation-capillary pressure curve.
Definition: regularizedlinearmaterial.hh:99
static Scalar dpc_dswe(const Params ¶ms, Scalar swe)
Returns the partial derivative of the capillary pressure to the effective saturation.
Definition: regularizedlinearmaterial.hh:128
static Scalar pc(const Params ¶ms, Scalar swe)
The linear capillary pressure-saturation curve.
Definition: regularizedlinearmaterial.hh:80
static Scalar krn(const Params ¶ms, Scalar swe)
The relative permeability for the nonwetting phase.
Definition: regularizedlinearmaterial.hh:168
typename Params::Scalar Scalar
Definition: regularizedlinearmaterial.hh:65
static Scalar krw(const Params ¶ms, Scalar swe)
The relative permeability for the wetting phase.
Definition: regularizedlinearmaterial.hh:155