Go to the documentation of this file.
19 params.addRequiredParam<Real>(
"max",
20 "Maximum of the Gaussian flux multiplier. Flux out is "
21 "multiplied by max*exp((-0.5*(p - center)/sd)^2) for "
22 "p<center, and by = max for p>center. Here p is the nodal "
23 "porepressure for the fluid_phase specified (or, for heat "
24 "fluxes, it is the temperature).");
25 params.addRequiredParam<Real>(
"sd",
26 "Standard deviation of the Gaussian flux multiplier "
27 "(measured in Pa (or K for heat fluxes)).");
28 params.addRequiredParam<Real>(
29 "center",
"Center of the Gaussian flux multiplier (measured in Pa (or K for heat fluxes)).");
30 params.addClassDescription(
"Applies a flux sink to a boundary. The base flux defined by "
31 "PorousFlowSink is multiplied by a Gaussian.");
37 _maximum(getParam<Real>(
"max")),
38 _sd(getParam<Real>(
"sd")),
39 _center(getParam<Real>(
"center"))
Provides either a porepressure or a temperature to derived classes, depending on _involves_fluid defi...
ExpressionBuilder::EBTerm pow(const ExpressionBuilder::EBTerm &left, T exponent)
virtual Real ptVar() const
Provides the variable value (either porepressure, or temperature, depending on _involves_fluid)
const Real _sd
Standard deviation of the Gaussian sink.
virtual Real dptVar(unsigned pvar) const
Provides the d(variable)/(d PorousFlow Variable pvar)
virtual Real dmultiplier_dvar(unsigned int pvar) const override
d(multiplier)/d(Porous flow variable pvar)
InputParameters validParams< PorousFlowHalfGaussianSink >()
const Real _maximum
Maximum of the Gaussian sink.
InputParameters validParams< PorousFlowSinkPTDefiner >()
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.
registerMooseObject("PorousFlowApp", PorousFlowHalfGaussianSink)
const Real _center
Center of the Gaussian sink.
virtual Real multiplier() const override
The flux gets multiplied by this quantity.
PorousFlowHalfGaussianSink(const InputParameters ¶meters)
Applies a flux sink to a boundary.