26#ifndef DUMUX_EFF_TO_ABS_LAW_IA_HH
27#define DUMUX_EFF_TO_ABS_LAW_IA_HH
59template <
class EffLawIAT,
60 class MaterialAbsParamsT ,
61 class InterfacialAreaAbsParamsT =
typename EffLawIAT::Params>
64 using EffLawIA = EffLawIAT;
65 using MaterialParams = MaterialAbsParamsT;
68 using Params = InterfacialAreaAbsParamsT;
69 using Scalar =
typename MaterialParams::Scalar;
79 const MaterialParams & params,
83 return EffLawIA::interfacialArea(iaParams,
100 return (sw - params.swr())/(1. - params.swr() - params.snr());
A default implementation of the parameters for the adapter class to convert material laws – in this c...
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
This material law takes a material law (interfacial area surface) defined for effective saturations a...
Definition: efftoabslawia.hh:63
static Scalar swToSwe(const MaterialParams ¶ms, Scalar sw)
Convert an absolute wetting saturation to an effective one.
Definition: efftoabslawia.hh:98
typename MaterialParams::Scalar Scalar
Definition: efftoabslawia.hh:69
InterfacialAreaAbsParamsT Params
Definition: efftoabslawia.hh:68
static Scalar interfacialArea(const Params &iaParams, const MaterialParams ¶ms, const Scalar sw, const Scalar pc)
The interfacial area relation.
Definition: efftoabslawia.hh:78
This material law takes a material law defined for effective saturations and converts it to a materia...