www.mooseframework.org
Functions
RichardsPolyLineSink.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "RichardsApp"  ,
RichardsPolyLineSink   
)

◆ validParams< RichardsPolyLineSink >()

template<>
InputParameters validParams< RichardsPolyLineSink > ( )

Definition at line 18 of file RichardsPolyLineSink.C.

19 {
20  InputParameters params = validParams<DiracKernel>();
21  params.addRequiredParam<std::vector<Real>>(
22  "pressures", "Tuple of pressure values. Must be monotonically increasing.");
23  params.addRequiredParam<std::vector<Real>>(
24  "fluxes",
25  "Tuple of flux values (measured in kg.m^-3.s^-1). A piecewise-linear fit is "
26  "performed to the (pressure,flux) pairs to obtain the flux at any arbitrary "
27  "pressure. If a quad-point pressure is less than the first pressure value, the "
28  "first flux value is used. If quad-point pressure exceeds the final pressure "
29  "value, the final flux value is used. This flux is OUT of the medium: hence "
30  "positive values of flux means this will be a SINK, while negative values indicate "
31  "this flux will be a SOURCE.");
32  params.addRequiredParam<FileName>(
33  "point_file",
34  "The file containing the coordinates of the point sinks that will approximate "
35  "the polyline. Each line in the file must contain a space-separated "
36  "coordinate. Note that you will get segementation faults if your points do "
37  "not lie within your mesh!");
38  params.addRequiredParam<UserObjectName>(
39  "SumQuantityUO",
40  "User Object of type=RichardsSumQuantity in which to place the total "
41  "outflow from the polylinesink for each time step.");
42  params.addRequiredParam<UserObjectName>(
43  "richardsVarNames_UO", "The UserObject that holds the list of Richards variable names.");
44  params.addClassDescription("Approximates a polyline sink in the mesh by using a number of point "
45  "sinks whose positions are read from a file");
46  return params;
47 }