www.mooseframework.org
Functions
RichardsHalfGaussianSink.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("RichardsApp", RichardsHalfGaussianSink)
 
template<>
InputParameters validParams< RichardsHalfGaussianSink > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "RichardsApp"  ,
RichardsHalfGaussianSink   
)

◆ validParams< RichardsHalfGaussianSink >()

template<>
InputParameters validParams< RichardsHalfGaussianSink > ( )

Definition at line 23 of file RichardsHalfGaussianSink.C.

24 {
25  InputParameters params = validParams<IntegratedBC>();
26  params.addRequiredParam<Real>("max",
27  "Maximum of the flux (measured in kg.m^-2.s^-1). Flux out "
28  "= max*exp((-0.5*(p - centre)/sd)^2) for p<centre, and Flux "
29  "out = max for p>centre. Note, to make this a source "
30  "rather than a sink, let max<0");
31  params.addRequiredParam<Real>("sd",
32  "Standard deviation of the Gaussian (measured in Pa). Flux "
33  "out = max*exp((-0.5*(p - centre)/sd)^2) for p<centre, and "
34  "Flux out = max for p>centre.");
35  params.addRequiredParam<Real>("centre",
36  "Centre of the Gaussian (measured in Pa). Flux out = "
37  "max*exp((-0.5*(p - centre)/sd)^2) for p<centre, and "
38  "Flux out = max for p>centre.");
39  params.addParam<FunctionName>("multiplying_fcn",
40  1.0,
41  "If this function is provided, the flux "
42  "will be multiplied by this function. "
43  "This is useful for spatially or "
44  "temporally varying sinks");
45  params.addRequiredParam<UserObjectName>(
46  "richardsVarNames_UO", "The UserObject that holds the list of Richards variable names.");
47  return params;
48 }