23 "van-Genuchten alpha parameter. Must " 24 "be positive. Single-phase VG seff = " 25 "(1 + (-al*c)^(1/(1-m)))^(-m)");
29 "van-Genuchten m parameter. Must be between 0 and 1, and optimally " 30 "should be set to >0.5 Single-phase VG seff = (1 + " 31 "(-al*p)^(1/(1-m)))^(-m)");
32 params.
addClassDescription(
"van-Genuchten effective saturation as a function of (Pwater, Pgas) " 33 "suitable for use for the water phase in two-phase simulations. With " 34 "Pc=Pgas-Pwater, seff = (1 + (al*pc)^(1/(1-m)))^(-m)");
46 Real negpc = (*p[0])[qp] - (*p[1])[qp];
53 std::vector<Real> & result)
const 55 Real negpc = (*p[0])[qp] - (*p[1])[qp];
57 result[1] = -result[0];
63 std::vector<std::vector<Real>> & result)
const 65 Real negpc = (*p[0])[qp] - (*p[1])[qp];
67 result[0][1] = -result[0][0];
68 result[1][0] = -result[0][0];
69 result[1][1] = result[0][0];
Real _al
van Genuchten alpha parameter
Base class for effective saturation as a function of porepressure(s) The functions seff...
static InputParameters validParams()
registerMooseObject("RichardsApp", RichardsSeff2waterVG)
static Real dseff(Real p, Real al, Real m)
derivative of effective saturation wrt porepressure
van-Genuchten water effective saturation as a function of (Pwater, Pgas), and its derivs wrt to those...
static Real seff(Real p, Real al, Real m)
effective saturation as a fcn of porepressure
Real _m
van Genuchten m parameter
Real seff(std::vector< const VariableValue *> p, unsigned int qp) const
water effective saturation
static InputParameters validParams()
static Real d2seff(Real p, Real al, Real m)
2nd derivative of effective saturation wrt porepressure
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
RichardsSeff2waterVG(const InputParameters ¶meters)
void d2seff(std::vector< const VariableValue *> p, unsigned int qp, std::vector< std::vector< Real >> &result) const
second derivative of effective saturation as a function of porepressure
void dseff(std::vector< const VariableValue *> p, unsigned int qp, std::vector< Real > &result) const
derivative of effective saturation as a function of porepressure