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

Go to the source code of this file.

Classes

class  PorousFlowLineSink
 Approximates a line sink a sequence of Dirac Points. More...
 

Functions

template<>
InputParameters validParams< PorousFlowLineSink > ()
 

Function Documentation

◆ validParams< PorousFlowLineSink >()

template<>
InputParameters validParams< PorousFlowLineSink > ( )

Definition at line 15 of file PorousFlowLineSink.C.

16 {
17  InputParameters params = validParams<PorousFlowLineGeometry>();
18  MooseEnum p_or_t_choice("pressure=0 temperature=1", "pressure");
19  params.addParam<MooseEnum>("function_of",
20  p_or_t_choice,
21  "Modifying functions will be a function of either pressure and "
22  "permeability (eg, for boreholes that pump fluids) or "
23  "temperature and thermal conductivity (eg, for boreholes that "
24  "pump pure heat with no fluid flow)");
25  params.addRequiredParam<UserObjectName>(
26  "SumQuantityUO",
27  "User Object of type=PorousFlowSumQuantity in which to place the total "
28  "outflow from the line sink for each time step.");
29  params.addRequiredParam<UserObjectName>(
30  "PorousFlowDictator", "The UserObject that holds the list of PorousFlow variable names");
31  params.addParam<unsigned int>(
32  "fluid_phase",
33  0,
34  "The fluid phase whose pressure (and potentially mobility, enthalpy, etc) "
35  "controls the flux to the line sink. For p_or_t=temperature, and without "
36  "any use_*, this parameter is irrelevant");
37  params.addParam<unsigned int>("mass_fraction_component",
38  "The index corresponding to a fluid "
39  "component. If supplied, the flux will "
40  "be multiplied by the nodal mass "
41  "fraction for the component");
42  params.addParam<bool>(
43  "use_relative_permeability", false, "Multiply the flux by the fluid relative permeability");
44  params.addParam<bool>("use_mobility", false, "Multiply the flux by the fluid mobility");
45  params.addParam<bool>("use_enthalpy", false, "Multiply the flux by the fluid enthalpy");
46  params.addParam<bool>(
47  "use_internal_energy", false, "Multiply the flux by the fluid internal energy");
48  params.addClassDescription("Approximates a line sink in the mesh by a sequence of weighted Dirac "
49  "points whose positions are read from a file");
50  return params;
51 }

Referenced by validParams< PorousFlowPeacemanBorehole >(), and validParams< PorousFlowPolyLineSink >().

validParams< PorousFlowLineGeometry >
InputParameters validParams< PorousFlowLineGeometry >()
Definition: PorousFlowLineGeometry.C:17