www.mooseframework.org
Functions
PorousFlowHalfCubicSink.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PorousFlowApp", PorousFlowHalfCubicSink)
 
template<>
InputParameters validParams< PorousFlowHalfCubicSink > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlowHalfCubicSink   
)

◆ validParams< PorousFlowHalfCubicSink >()

template<>
InputParameters validParams< PorousFlowHalfCubicSink > ( )

Definition at line 17 of file PorousFlowHalfCubicSink.C.

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