26#ifndef DUMUX_EFF_TO_ABS_LAW_HH
27#define DUMUX_EFF_TO_ABS_LAW_HH
58template <
class EffLawT,
class AbsParamsT = EffToAbsLawParams<
typename EffLawT::Params> >
61 using EffLaw = EffLawT;
65 using Scalar =
typename EffLaw::Scalar;
220 return (
sw - params.
swr())/(1. - params.
swr() - params.
snr());
234 return (sn - params.
snr())/(1. - params.
swr() - params.
snr());
249 return swe*(1. - params.
swr() - params.
snr()) + params.
swr();
261 {
return 1.0/(1. - params.
swr() - params.
snr()); }
272 {
return 1. - params.
swr() - params.
snr(); }
make the local view function available whenever we use the grid geometry
Definition adapt.hh:29
This material law takes a material law defined for effective saturations and converts it to a materia...
Definition 2p/efftoabslaw.hh:60
static Scalar dkrn_dsw(const Params ¶ms, Scalar sw)
Returns the partial derivative of the relative permeability of the non-wetting phase with respect to ...
Definition 2p/efftoabslaw.hh:204
static Scalar krn(const Params ¶ms, Scalar sw)
The relative permeability for the non-wetting phase.
Definition 2p/efftoabslaw.hh:191
static Scalar snToSne(const Params ¶ms, Scalar sn)
Convert an absolute non-wetting saturation to an effective one.
Definition 2p/efftoabslaw.hh:232
static Scalar endPointPc(const Params ¶ms)
The capillary pressure at Swe = 1.0 also called end point capillary pressure.
Definition 2p/efftoabslaw.hh:104
static Scalar dpc_dsw(const Params ¶ms, Scalar sw)
Returns the partial derivative of the capillary pressure w.r.t the absolute saturation.
Definition 2p/efftoabslaw.hh:123
static Scalar dswe_dsw_(const Params ¶ms)
Derivative of the effective saturation w.r.t. the absolute saturation.
Definition 2p/efftoabslaw.hh:260
static Scalar dsw_dpc(const Params ¶ms, Scalar pc)
Returns the partial derivative of the absolute saturation w.r.t. the capillary pressure.
Definition 2p/efftoabslaw.hh:146
static Scalar sw(const Params ¶ms, Scalar pc)
Definition 2p/efftoabslaw.hh:92
AbsParamsT Params
Definition 2p/efftoabslaw.hh:64
static Scalar swToSwe(const Params ¶ms, Scalar sw)
Convert an absolute wetting saturation to an effective one.
Definition 2p/efftoabslaw.hh:218
static Scalar dsw_dswe_(const Params ¶ms)
Derivative of the absolute saturation w.r.t. the effective saturation.
Definition 2p/efftoabslaw.hh:271
static Scalar sweToSw_(const Params ¶ms, Scalar swe)
Convert an effective wetting saturation to an absolute one.
Definition 2p/efftoabslaw.hh:247
static Scalar pc(const Params ¶ms, Scalar sw)
The capillary pressure-saturation curve.
Definition 2p/efftoabslaw.hh:77
typename EffLaw::Scalar Scalar
Definition 2p/efftoabslaw.hh:65
static Scalar dkrw_dsw(const Params ¶ms, Scalar sw)
Returns the partial derivative of the relative permeability of the wetting phase with respect to the ...
Definition 2p/efftoabslaw.hh:175
static Scalar krw(const Params ¶ms, Scalar sw)
The relative permeability for the wetting phase.
Definition 2p/efftoabslaw.hh:162
Scalar snr() const
Return the residual non-wetting saturation.
Definition 2p/efftoabslawparams.hh:76
Scalar swr() const
Return the residual wetting saturation.
Definition 2p/efftoabslawparams.hh:64
static Scalar dkrw_dswe(const Params ¶ms, Scalar swe)
Definition vangenuchten.hh:212
static Scalar sw(const Params ¶ms, Scalar pc)
Definition vangenuchten.hh:97
static Scalar dpc_dswe(const Params ¶ms, Scalar swe)
Definition vangenuchten.hh:137
static Scalar krw(const Params ¶ms, Scalar swe)
Definition vangenuchten.hh:186
static Scalar dswe_dpc(const Params ¶ms, Scalar pc)
Definition vangenuchten.hh:162
static Scalar endPointPc(const Params ¶ms)
Definition vangenuchten.hh:115
static Scalar krn(const Params ¶ms, Scalar swe)
Definition vangenuchten.hh:239
static Scalar pc(const Params ¶ms, Scalar swe)
Definition vangenuchten.hh:69
static Scalar dkrn_dswe(const Params ¶ms, Scalar swe)
Definition vangenuchten.hh:264
A default implementation of the parameters for the adapter class to convert material laws from effect...