23#ifndef AWN_SURFACE_PCMAX_FCT_HH
24#define AWN_SURFACE_PCMAX_FCT_HH
27#include <dune/common/exceptions.hh>
42template <
class ScalarT,
class ParamsT =AwnSurfacePcMaxFctParams<ScalarT> >
47 using Scalar =
typename Params::Scalar;
63 const Scalar a1 = params.a1();
64 const Scalar a2 = params.a2();
65 const Scalar a3 = params.a3();
66 const Scalar pcMax = params.pcMax() ;
68 const Scalar aAlphaBeta = a1 * (pcMax-pc) * (1.-Sw) + a2*(pcMax-pc)*(pcMax-pc) * (1.-Sw) + a3 * (pcMax-pc)*(1-Sw)*(1-Sw);
82 DUNE_THROW(Dune::NotImplemented, __FILE__ <<
" dawndpc()");
94 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:44
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:79
typename Params::Scalar Scalar
Definition: awnsurfacepcmaxfct.hh:47
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:92
ParamsT Params
Definition: awnsurfacepcmaxfct.hh:46
static Scalar interfacialArea(const Params ¶ms, const Scalar Sw, const Scalar pc)
The awn surface.
Definition: awnsurfacepcmaxfct.hh:60