23#ifndef AWN_SURFACE_EXP_FCT_HH
24#define AWN_SURFACE_EXP_FCT_HH
28#include <dune/common/exceptions.hh>
42template <
class ParamsT>
47 using Scalar =
typename Params::Scalar;
62 const Scalar a1 = params.a1();
63 const Scalar a2 = params.a2();
64 const Scalar a3 = params.a3();
65 const Scalar Swr = params.Swr();
67 const Scalar aAlphaBeta = a1 * (Swr-Sw) * (1-Sw) + a2 * (Swr-Sw) * (1-Sw) * exp( a3 * pc) ;
79 const Scalar a2 = params.a2();
80 const Scalar a3 = params.a3();
81 const Scalar Swr = params.Swr();
83 const Scalar value = a2 * a3 * (Swr-Sw) * (1-Sw) * exp(a3*pc);
101 value = - a1 *( 1+Swr-2*Sw ) - a2 * exp(a3*pc) * ( 1+Swr-2*Sw );
Specification of the parameters for a function relating volume specific interfacial area to capillary...
Implementation of the exponential function relating specific interfacial area to wetting phase satura...
Definition: awnsurfaceexpfct.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: awnsurfaceexpfct.hh:77
ParamsT Params
Definition: awnsurfaceexpfct.hh:46
typename Params::Scalar Scalar
Definition: awnsurfaceexpfct.hh:47
static Scalar interfacialArea(const Params ¶ms, const Scalar Sw, const Scalar pc)
The interfacial area surface.
Definition: awnsurfaceexpfct.hh:60
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: awnsurfaceexpfct.hh:93