Go to the source code of this file.
◆ registerMooseObject()
◆ validParams< RichardsPPenalty >()
Definition at line 18 of file RichardsPPenalty.C.
20 InputParameters params = validParams<Kernel>();
21 params.addParam<Real>(
24 "Weight of the penalty. Penalty = a*(lower - variable) for variable<lower, "
25 "and zero otherwise. Care should be taken with this parameter choice. "
26 "Determine the typical size of your residual (usually rho*perm*(gradP - "
27 "rho*g)/visc), then typically you want the penalty to ensure p>lower*(1-1E-6), "
28 "so for the PPP formulation you typically Penalty = a*1E-6*|p|. I recommend "
29 "that Penalty = 1E-3*residual, yielding a = 1E3*residual/|P|. ");
30 params.addRequiredCoupledVar(
31 "lower_var",
"Your variable will be constrained to be greater than this lower_var variable.");
32 params.addClassDescription(
"This adds a term to the residual that attempts to enforce variable > "
33 "lower_var. The term is a*(lower - variable) for variable<lower, and "