19 "Maximum of the Gaussian flux multiplier. Flux out is "
20 "multiplied by max*exp((-0.5*(p - center)/sd)^2) for "
21 "p<center, and by = max for p>center. Here p is the nodal "
22 "porepressure for the fluid_phase specified (or, for heat "
23 "fluxes, it is the temperature).");
25 "Standard deviation of the Gaussian flux multiplier "
26 "(measured in Pa (or K for heat fluxes)).");
28 "center",
"Center of the Gaussian flux multiplier (measured in Pa (or K for heat fluxes)).");
30 "PorousFlowSink is multiplied by a Gaussian.");
36 _maximum(getParam<Real>(
"max")),
37 _sd(getParam<Real>(
"sd")),
38 _center(getParam<Real>(
"center"))
registerMooseObject("PorousFlowApp", PorousFlowHalfGaussianSink)
Applies a flux sink to a boundary.
const Real _center
Center of the Gaussian sink.
const Real _maximum
Maximum of the Gaussian sink.
static InputParameters validParams()
const Real _sd
Standard deviation of the Gaussian sink.
PorousFlowHalfGaussianSink(const InputParameters ¶meters)
virtual Real dmultiplier_dvar(unsigned int pvar) const override
d(multiplier)/d(Porous flow variable pvar)
virtual Real multiplier() const override
The flux gets multiplied by this quantity.
Provides either a porepressure or a temperature to derived classes, depending on _involves_fluid defi...
virtual Real ptVar() const
Provides the variable value (either porepressure, or temperature, depending on _involves_fluid)
static InputParameters validParams()
virtual Real dptVar(unsigned pvar) const
Provides the d(variable)/(d PorousFlow Variable pvar)
virtual Real dmultiplier_dvar(unsigned int pvar) const
d(multiplier)/d(Porous flow variable pvar)
virtual Real multiplier() const
The flux gets multiplied by this quantity.