23#ifndef AWN_SURFACE_POLYNOMIAL_EDGE_ZERO_2ND_ORDER_HH
24#define AWN_SURFACE_POLYNOMIAL_EDGE_ZERO_2ND_ORDER_HH
28#include <dune/common/exceptions.hh>
34#warning "This header is deprecated. Removal after 3.3. Use new material laws."
43template <
class ParamsT>
48 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();
66 const Scalar factor = (Swr-Sw)*(1.-Sw) ;
68 const Scalar aAlphaBeta = a1*factor + a2*factor*pc + a3*factor*pc*pc;
82 const Scalar Swr = params.Swr();
83 const Scalar a1 = params.a1();
84 const Scalar a2 = params.a2();
85 const Scalar a3 = params.a3();
86 const Scalar value = a2*(Swr-Sw)*(1-Sw) + a3*(Swr-Sw)*(1-Sw)*pc;
99 const Scalar Swr = params.Swr();
100 const Scalar a1 = params.a1();
101 const Scalar a2 = params.a2();
102 const Scalar a3 = params.a3();
103 const Scalar derivativeFactor = (Sw-1.)+(Sw-Swr);
104 const Scalar value = a1 * derivativeFactor + a2 * derivativeFactor * pc + a3 * derivativeFactor * pc*pc ;
Specification of the parameters for a function relating volume specific interfacial area to capillary...
Implementation of the polynomial of second order relating specific interfacial area to wetting phase ...
Definition: awnsurfacepolynomialedgezero2ndorder.hh:45
ParamsT Params
Definition: awnsurfacepolynomialedgezero2ndorder.hh:47
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: awnsurfacepolynomialedgezero2ndorder.hh:80
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: awnsurfacepolynomialedgezero2ndorder.hh:97
typename Params::Scalar Scalar
Definition: awnsurfacepolynomialedgezero2ndorder.hh:48
static Scalar interfacialArea(const Params ¶ms, const Scalar Sw, const Scalar pc)
The awn surface the suggested (as estimated from pore network models) awn surface: ].
Definition: awnsurfacepolynomialedgezero2ndorder.hh:60