26#ifndef DUMUX_EFF_TO_ABS_LAW_IA_HH
27#define DUMUX_EFF_TO_ABS_LAW_IA_HH
29#warning "This header is deprecated. Removal after 3.3. Use new material laws."
61template <
class EffLawIAT,
62 class MaterialAbsParamsT ,
63 class InterfacialAreaAbsParamsT =
typename EffLawIAT::Params>
66 using EffLawIA = EffLawIAT;
67 using MaterialParams = MaterialAbsParamsT;
70 using Params = InterfacialAreaAbsParamsT;
71 using Scalar =
typename MaterialParams::Scalar;
81 const MaterialParams & params,
85 return EffLawIA::interfacialArea(iaParams,
102 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...
This material law takes a material law (interfacial area surface) defined for effective saturations a...
Definition: efftoabslawia.hh:65
static Scalar swToSwe(const MaterialParams ¶ms, Scalar sw)
Convert an absolute wetting saturation to an effective one.
Definition: efftoabslawia.hh:100
typename MaterialParams::Scalar Scalar
Definition: efftoabslawia.hh:71
InterfacialAreaAbsParamsT Params
Definition: efftoabslawia.hh:70
static Scalar interfacialArea(const Params &iaParams, const MaterialParams ¶ms, const Scalar sw, const Scalar pc)
The interfacial area relation.
Definition: efftoabslawia.hh:80
This material law takes a material law defined for effective saturations and converts it to a materia...