Approximates a polyline by a sequence of Dirac Points the mass flux from each Dirac Point is _sink_func as a function of porepressure at the Dirac Point. More...
#include <RichardsPolyLineSink.h>
Public Member Functions | |
RichardsPolyLineSink (const InputParameters ¶meters) | |
virtual void | addPoints () |
virtual Real | computeQpResidual () |
virtual Real | computeQpJacobian () |
virtual Real | computeQpOffDiagJacobian (unsigned int jvar) |
Computes the off-diagonal part of the jacobian Note: at March2014 this is never called since moose does not have this functionality. More... | |
Protected Member Functions | |
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 | |
RichardsSumQuantity & | _total_outflow_mass |
This is used to hold the total fluid flowing into the sink Hence, it is positive for sinks where fluid is flowing from porespace into the borehole and removed from the model. More... | |
LinearInterpolation | _sink_func |
mass flux = _sink_func as a function of porepressure More... | |
std::string | _point_file |
contains rows of the form x y z (space separated) More... | |
const RichardsVarNames & | _richards_name_UO |
Defines the richards variables in the simulation. More... | |
unsigned int | _pvar |
The moose internal variable number of the richards variable of this Dirac Kernel. More... | |
const MaterialProperty< std::vector< Real > > & | _pp |
fluid porepressure (or porepressures in case of multiphase) More... | |
const MaterialProperty< std::vector< std::vector< Real > > > & | _dpp_dv |
d(porepressure_i)/d(variable_j) More... | |
std::vector< Real > | _xs |
vector of Dirac Points' x positions More... | |
std::vector< Real > | _ys |
vector of Dirac Points' y positions More... | |
std::vector< Real > | _zs |
vector of Dirac Points' z positions More... | |
Approximates a polyline by a sequence of Dirac Points the mass flux from each Dirac Point is _sink_func as a function of porepressure at the Dirac Point.
Definition at line 28 of file RichardsPolyLineSink.h.
RichardsPolyLineSink::RichardsPolyLineSink | ( | const InputParameters & | parameters | ) |
Definition at line 49 of file RichardsPolyLineSink.C.
|
virtual |
Definition at line 115 of file RichardsPolyLineSink.C.
|
virtual |
Definition at line 136 of file RichardsPolyLineSink.C.
|
virtual |
Computes the off-diagonal part of the jacobian Note: at March2014 this is never called since moose does not have this functionality.
Hence as of March2014 this has never been tested.
Definition at line 144 of file RichardsPolyLineSink.C.
|
virtual |
Definition at line 127 of file RichardsPolyLineSink.C.
|
protected |
reads a space-separated line of floats from ifs and puts in myvec
ifs | the file stream |
myvec | upon return will contain the space-separated flows encountered in ifs |
Definition at line 93 of file RichardsPolyLineSink.C.
Referenced by RichardsPolyLineSink().
|
protected |
d(porepressure_i)/d(variable_j)
Definition at line 69 of file RichardsPolyLineSink.h.
Referenced by computeQpJacobian(), and computeQpOffDiagJacobian().
|
protected |
contains rows of the form x y z (space separated)
Definition at line 57 of file RichardsPolyLineSink.h.
Referenced by RichardsPolyLineSink().
|
protected |
fluid porepressure (or porepressures in case of multiphase)
Definition at line 66 of file RichardsPolyLineSink.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and computeQpResidual().
|
protected |
The moose internal variable number of the richards variable of this Dirac Kernel.
Definition at line 63 of file RichardsPolyLineSink.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and computeQpResidual().
|
protected |
Defines the richards variables in the simulation.
Definition at line 60 of file RichardsPolyLineSink.h.
Referenced by computeQpOffDiagJacobian(), and RichardsPolyLineSink().
|
protected |
mass flux = _sink_func as a function of porepressure
Definition at line 54 of file RichardsPolyLineSink.h.
Referenced by computeQpJacobian(), computeQpOffDiagJacobian(), and computeQpResidual().
|
protected |
This is used to hold the total fluid flowing into the sink Hence, it is positive for sinks where fluid is flowing from porespace into the borehole and removed from the model.
Definition at line 51 of file RichardsPolyLineSink.h.
Referenced by addPoints(), and computeQpResidual().
|
protected |
vector of Dirac Points' x positions
Definition at line 72 of file RichardsPolyLineSink.h.
Referenced by addPoints(), and RichardsPolyLineSink().
|
protected |
vector of Dirac Points' y positions
Definition at line 75 of file RichardsPolyLineSink.h.
Referenced by addPoints(), and RichardsPolyLineSink().
|
protected |
vector of Dirac Points' z positions
Definition at line 78 of file RichardsPolyLineSink.h.
Referenced by addPoints(), and RichardsPolyLineSink().