Go to the documentation of this file.
22 params.addRequiredRangeCheckedParam<Real>(
"al",
24 "van-Genuchten alpha parameter. Must "
25 "be positive. Single-phase VG seff = "
26 "(1 + (-al*c)^(1/(1-m)))^(-m)");
27 params.addRequiredRangeCheckedParam<Real>(
30 "van-Genuchten m parameter. Must be between 0 and 1, and optimally "
31 "should be set to >0.5 Single-phase VG seff = (1 + "
32 "(-al*p)^(1/(1-m)))^(-m)");
33 params.addClassDescription(
"van-Genuchten effective saturation as a function of (Pwater, Pgas) "
34 "suitable for use for the water phase in two-phase simulations. With "
35 "Pc=Pgas-Pwater, seff = (1 + (al*pc)^(1/(1-m)))^(-m)");
40 :
RichardsSeff(parameters), _al(getParam<Real>(
"al")), _m(getParam<Real>(
"m"))
47 Real negpc = (*p[0])[qp] - (*p[1])[qp];
54 std::vector<Real> & result)
const
56 Real negpc = (*p[0])[qp] - (*p[1])[qp];
58 result[1] = -result[0];
64 std::vector<std::vector<Real>> & result)
const
66 Real negpc = (*p[0])[qp] - (*p[1])[qp];
68 result[0][1] = -result[0][0];
69 result[1][0] = -result[0][0];
70 result[1][1] = result[0][0];
registerMooseObject("RichardsApp", RichardsSeff2waterVG)
void dseff(std::vector< const VariableValue * > p, unsigned int qp, std::vector< Real > &result) const
derivative of effective saturation as a function of porepressure
Base class for effective saturation as a function of porepressure(s) The functions seff,...
Real _al
van Genuchten alpha parameter
static Real dseff(Real p, Real al, Real m)
derivative of effective saturation wrt porepressure
RichardsSeff2waterVG(const InputParameters ¶meters)
Real _m
van Genuchten m parameter
van-Genuchten water effective saturation as a function of (Pwater, Pgas), and its derivs wrt to those...
static Real d2seff(Real p, Real al, Real m)
2nd derivative of effective saturation wrt porepressure
InputParameters validParams< RichardsSeff2waterVG >()
InputParameters validParams< RichardsSeff >()
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
static Real seff(Real p, Real al, Real m)
effective saturation as a fcn of porepressure
Real seff(std::vector< const VariableValue * > p, unsigned int qp) const
water effective saturation