www.mooseframework.org
Functions
Q2PBorehole.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "RichardsApp"  ,
Q2PBorehole   
)

◆ validParams< Q2PBorehole >()

template<>
InputParameters validParams< Q2PBorehole > ( )

Definition at line 17 of file Q2PBorehole.C.

18 {
19  InputParameters params = validParams<PeacemanBorehole>();
20  params.addRequiredParam<UserObjectName>(
21  "fluid_density",
22  "A RichardsDensity UserObject that defines the fluid density as a function of pressure.");
23  params.addRequiredParam<UserObjectName>(
24  "fluid_relperm",
25  "A RichardsRelPerm UserObject (eg RichardsRelPermPower) that defines the "
26  "fluid relative permeability as a function of the saturation Variable.");
27  params.addRequiredCoupledVar("other_var",
28  "The other variable in the 2-phase system. If "
29  "Variable=porepressure, the other_var=saturation, and "
30  "vice-versa.");
31  params.addRequiredParam<bool>("var_is_porepressure",
32  "This flag is needed to correctly calculate the Jacobian entries. "
33  "If set to true, this Sink will extract fluid from the phase with "
34  "porepressure as its Variable (usually the liquid phase). If set "
35  "to false, this Sink will extract fluid from the phase with "
36  "saturation as its variable (usually the gas phase)");
37  params.addRequiredParam<Real>("fluid_viscosity", "The fluid dynamic viscosity");
38  params.addClassDescription("Approximates a borehole in the mesh with given bottomhole pressure, "
39  "and radii using a number of point sinks whose positions are read "
40  "from a file. This DiracKernel is for use by Q2P models");
41  return params;
42 }
validParams< PeacemanBorehole >
InputParameters validParams< PeacemanBorehole >()
Definition: PeacemanBorehole.C:17