Approximates a borehole by a sequence of Dirac Points. More...
#include <PorousFlowLineGeometry.h>
Public Member Functions | |
PorousFlowLineGeometry (const InputParameters ¶meters) | |
Creates a new PorousFlowLineGeometry This reads the file containing the lines of the form weight x y z that defines the line geometry. More... | |
Protected Member Functions | |
virtual void | addPoints () override |
Add Dirac Points to the line sink. More... | |
bool | parseNextLineReals (std::ifstream &ifs, std::vector< Real > &myvec) |
Reads a space-separated line of floats from ifs and puts in myvec. More... | |
Protected Attributes | |
const Real | _line_length |
Line length. This is only used if there is only one borehole point. More... | |
const RealVectorValue | _line_direction |
Line direction. This is only used if there is only one borehole point. More... | |
const std::string | _point_file |
File defining the geometry of the borehole. More... | |
std::vector< Real > | _rs |
Radii of the borehole. More... | |
std::vector< Real > | _xs |
x points of the borehole More... | |
std::vector< Real > | _ys |
y points of the borehole More... | |
std::vector< Real > | _zs |
z points of borehole More... | |
Point | _bottom_point |
The bottom point of the borehole (where bottom_pressure is defined) More... | |
std::vector< Real > | _half_seg_len |
0.5*(length of polyline segments between points) More... | |
Approximates a borehole by a sequence of Dirac Points.
Definition at line 22 of file PorousFlowLineGeometry.h.
PorousFlowLineGeometry::PorousFlowLineGeometry | ( | const InputParameters & | parameters | ) |
Creates a new PorousFlowLineGeometry This reads the file containing the lines of the form weight x y z that defines the line geometry.
It also calculates segment-lengths between the points
Definition at line 43 of file PorousFlowLineGeometry.C.
|
overrideprotectedvirtual |
Add Dirac Points to the line sink.
Reimplemented in PorousFlowLineSink.
Definition at line 125 of file PorousFlowLineGeometry.C.
Referenced by PorousFlowLineSink::addPoints().
|
protected |
Reads a space-separated line of floats from ifs and puts in myvec.
Definition at line 103 of file PorousFlowLineGeometry.C.
Referenced by PorousFlowLineGeometry().
|
protected |
The bottom point of the borehole (where bottom_pressure is defined)
Definition at line 61 of file PorousFlowLineGeometry.h.
Referenced by PorousFlowPeacemanBorehole::computeQpBaseOutflow(), PorousFlowPeacemanBorehole::computeQpBaseOutflowJacobian(), and PorousFlowLineGeometry().
|
protected |
0.5*(length of polyline segments between points)
Definition at line 64 of file PorousFlowLineGeometry.h.
Referenced by PorousFlowPolyLineSink::computeQpBaseOutflow(), PorousFlowPeacemanBorehole::computeQpBaseOutflow(), PorousFlowPolyLineSink::computeQpBaseOutflowJacobian(), PorousFlowPeacemanBorehole::computeQpBaseOutflowJacobian(), and PorousFlowLineGeometry().
|
protected |
Line direction. This is only used if there is only one borehole point.
Definition at line 39 of file PorousFlowLineGeometry.h.
Referenced by PorousFlowPeacemanBorehole::PorousFlowPeacemanBorehole().
|
protected |
Line length. This is only used if there is only one borehole point.
Definition at line 36 of file PorousFlowLineGeometry.h.
Referenced by PorousFlowLineGeometry().
|
protected |
File defining the geometry of the borehole.
Each row has format weight x y z and the list of such points defines a polyline that is the line sink
Definition at line 46 of file PorousFlowLineGeometry.h.
Referenced by PorousFlowLineGeometry().
|
protected |
Radii of the borehole.
Definition at line 49 of file PorousFlowLineGeometry.h.
Referenced by PorousFlowPolyLineSink::computeQpBaseOutflow(), PorousFlowPeacemanBorehole::computeQpBaseOutflow(), PorousFlowPolyLineSink::computeQpBaseOutflowJacobian(), PorousFlowPeacemanBorehole::computeQpBaseOutflowJacobian(), and PorousFlowLineGeometry().
|
protected |
x points of the borehole
Definition at line 52 of file PorousFlowLineGeometry.h.
Referenced by addPoints(), PorousFlowLineGeometry(), and PorousFlowPeacemanBorehole::PorousFlowPeacemanBorehole().
|
protected |
y points of the borehole
Definition at line 55 of file PorousFlowLineGeometry.h.
Referenced by addPoints(), PorousFlowLineGeometry(), and PorousFlowPeacemanBorehole::PorousFlowPeacemanBorehole().
|
protected |
z points of borehole
Definition at line 58 of file PorousFlowLineGeometry.h.
Referenced by addPoints(), PorousFlowPolyLineSink::computeQpBaseOutflow(), PorousFlowPeacemanBorehole::computeQpBaseOutflow(), PorousFlowPolyLineSink::computeQpBaseOutflowJacobian(), PorousFlowPeacemanBorehole::computeQpBaseOutflowJacobian(), PorousFlowLineGeometry(), and PorousFlowPeacemanBorehole::PorousFlowPeacemanBorehole().