Go to the documentation of this file.
12 #include "DiracKernel.h"
13 #include "LinearInterpolation.h"
66 const MaterialProperty<std::vector<Real>> &
_pp;
69 const MaterialProperty<std::vector<std::vector<Real>>> &
_dpp_dv;
72 std::vector<Real>
_xs;
75 std::vector<Real>
_ys;
78 std::vector<Real>
_zs;
virtual Real computeQpResidual()
bool parseNextLineReals(std::ifstream &ifs, std::vector< Real > &myvec)
reads a space-separated line of floats from ifs and puts in myvec
std::string _point_file
contains rows of the form x y z (space separated)
unsigned int _pvar
The moose internal variable number of the richards variable of this Dirac Kernel.
const MaterialProperty< std::vector< Real > > & _pp
fluid porepressure (or porepressures in case of multiphase)
This holds maps between pressure_var or pressure_var, sat_var used in RichardsMaterial and kernels,...
std::vector< Real > _ys
vector of Dirac Points' y positions
RichardsPolyLineSink(const InputParameters ¶meters)
RichardsSumQuantity & _total_outflow_mass
This is used to hold the total fluid flowing into the sink Hence, it is positive for sinks where flui...
Approximates a polyline by a sequence of Dirac Points the mass flux from each Dirac Point is _sink_fu...
std::vector< Real > _zs
vector of Dirac Points' z positions
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Computes the off-diagonal part of the jacobian Note: at March2014 this is never called since moose do...
InputParameters validParams< RichardsPolyLineSink >()
std::vector< Real > _xs
vector of Dirac Points' x positions
const MaterialProperty< std::vector< std::vector< Real > > > & _dpp_dv
d(porepressure_i)/d(variable_j)
const RichardsVarNames & _richards_name_UO
Defines the richards variables in the simulation.
Sums into _total This is used, for instance, to record the total mass flowing into a borehole.
virtual Real computeQpJacobian()
LinearInterpolation _sink_func
mass flux = _sink_func as a function of porepressure