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

Go to the source code of this file.

Classes

class  PorousFlowLineGeometry
 Approximates a borehole by a sequence of Dirac Points. More...
 

Functions

template<>
InputParameters validParams< PorousFlowLineGeometry > ()
 

Function Documentation

◆ validParams< PorousFlowLineGeometry >()

template<>
InputParameters validParams< PorousFlowLineGeometry > ( )

Definition at line 17 of file PorousFlowLineGeometry.C.

18 {
19  InputParameters params = validParams<DiracKernel>();
20  params.addRequiredParam<std::string>(
21  "point_file",
22  "The file containing the coordinates of the points and their weightings that approximate the "
23  "line sink. The physical meaning of the weightings depend on the scenario, eg, they may be "
24  "borehole radii. Each line in the file must contain a space-separated weight and "
25  "coordinate, viz r x y z. For boreholes, the last point in the file is defined as the "
26  "borehole bottom, where the borehole pressure is bottom_pressure. If your file contains "
27  "just one point, you must also specify the line_length and line_direction parameters. Note "
28  "that you will get segementation faults if your points do not lie within your mesh!");
29  params.addRangeCheckedParam<Real>(
30  "line_length",
31  0.0,
32  "line_length>=0",
33  "Line length. Note this is only used if there is only one point in the point_file.");
34  params.addParam<RealVectorValue>(
35  "line_direction",
36  RealVectorValue(0.0, 0.0, 1.0),
37  "Line direction. Note this is only used if there is only one point in the point_file.");
38  params.addClassDescription("Approximates a polyline sink in the mesh using a number of Dirac "
39  "point sinks with given weightings that are read from a file");
40  return params;
41 }

Referenced by validParams< PorousFlowLineSink >().