www.mooseframework.org
Classes | Functions
PorousFlowHalfCubicSink.h File Reference

Go to the source code of this file.

Classes

class  PorousFlowHalfCubicSink
 Applies a flux sink to a boundary. More...
 

Functions

template<>
InputParameters validParams< PorousFlowHalfCubicSink > ()
 

Function Documentation

template<>
InputParameters validParams< PorousFlowHalfCubicSink > ( )

Definition at line 13 of file PorousFlowHalfCubicSink.C.

14 {
15  InputParameters params = validParams<PorousFlowSinkPTDefiner>();
16  params.addRequiredParam<Real>(
17  "max",
18  "Maximum of the cubic flux multiplier. Denote x = porepressure - center (or in the "
19  "case of a heat flux with no fluid, x = temperature - center). Then Flux out is "
20  "multiplied by (max/cutoff^3)*(2x + cutoff)(x - cutoff)^2 for cutoff < x < 0. Flux "
21  "out is multiplied by max for x >= 0. Flux out is multiplied by 0 for x <= cutoff.");
22  params.addRequiredParam<FunctionName>("cutoff",
23  "Cutoff of the cubic (measured in Pa (or K for "
24  "temperature BCs)). This needs to be less than "
25  "zero.");
26  params.addRequiredParam<Real>(
27  "center", "Center of the cubic flux multiplier (measured in Pa (or K for temperature BCs)).");
28  params.addClassDescription("Applies a flux sink to a boundary. The base flux defined by "
29  "PorousFlowSink is multiplied by a cubic.");
30  return params;
31 }
InputParameters validParams< PorousFlowSinkPTDefiner >()