23#ifndef AWN_SURFACE_PCMAX_FCT_HH
24#define AWN_SURFACE_PCMAX_FCT_HH
27#include <dune/common/exceptions.hh>
29#warning "This header is deprecated. Removal after 3.3. Use new material laws."
44template <
class ScalarT,
class ParamsT =AwnSurfacePcMaxFctParams<ScalarT> >
45class [[deprecated("Use new material laws and FluidMatrix::InterfacialAreaPcMax instead!")]]
AwnSurfacePcMaxFct
49 using Scalar =
typename Params::Scalar;
65 const Scalar a1 = params.a1();
66 const Scalar a2 = params.a2();
67 const Scalar a3 = params.a3();
68 const Scalar pcMax = params.pcMax() ;
70 const Scalar aAlphaBeta = a1 * (pcMax-pc) * (1.-Sw) + a2*(pcMax-pc)*(pcMax-pc) * (1.-Sw) + a3 * (pcMax-pc)*(1-Sw)*(1-Sw);
84 DUNE_THROW(Dune::NotImplemented, __FILE__ <<
" dawndpc()");
96 DUNE_THROW(Dune::NotImplemented, __FILE__ <<
" dawndSw()");
Specification of the parameters for a function relating volume specific interfacial area to capillary...
Implementation of an interfacial area surface.
Definition: awnsurfacepcmaxfct.hh:46
static Scalar dawn_dpc(const Params ¶ms, const Scalar Sw, const Scalar pc)
the derivative of specific interfacial area function w.r.t. capillary pressure
Definition: awnsurfacepcmaxfct.hh:81
typename Params::Scalar Scalar
Definition: awnsurfacepcmaxfct.hh:49
static Scalar dawn_dsw(const Params ¶ms, const Scalar Sw, const Scalar pc)
the derivative of specific interfacial area function w.r.t. saturation
Definition: awnsurfacepcmaxfct.hh:94
ParamsT Params
Definition: awnsurfacepcmaxfct.hh:48
static Scalar interfacialArea(const Params ¶ms, const Scalar Sw, const Scalar pc)
The awn surface.
Definition: awnsurfacepcmaxfct.hh:62