20 "uo",
"PorousFlowPointFluxQuantity user object name that holds the required information");
22 "Extracts the flux, and the coordinates, at each point of a line sink or Peaceman "
23 "borehole from a PorousFlowPointFluxQuantity UserObject. Note that the reported flux at "
24 "each point is summed over the test functions of the element containing that point, so "
25 "when nodal multiplicative factors (such as use_mobility) are active, it represents a "
26 "test-function-weighted combination of those nodal values rather than a single nodal "
34 _point_id(declareVector(
"point_id")),
35 _x(declareVector(
"x")),
36 _y(declareVector(
"y")),
37 _z(declareVector(
"z")),
38 _flux(declareVector(
"flux"))
60 for (
const auto i : index_range(fluxes))
66 _flux.push_back(fluxes[i]);
registerMooseObject("PorousFlowApp", PorousFlowPlotPointFluxQuantity)
static InputParameters validParams()
Extracts the per-point flux, and the coordinates of each point, from a PorousFlowPointFluxQuantity us...
VectorPostprocessorValue & _x
Coordinates of each point.
virtual void execute() override
VectorPostprocessorValue & _flux
Flux recorded at each point.
VectorPostprocessorValue & _y
static InputParameters validParams()
virtual void initialize() override
VectorPostprocessorValue & _z
const PorousFlowPointFluxQuantity & _point_fluxes
The PorousFlowPointFluxQuantity userobject.
VectorPostprocessorValue & _point_id
Dirac point ID (0, 1, 2, ...) of each row.
PorousFlowPlotPointFluxQuantity(const InputParameters ¶meters)
Records the instantaneous flux at each Dirac point of a PorousFlow line sink (such as PorousFlowPeace...
const std::vector< Real > & getY() const
const std::vector< Real > & getFluxes() const
Returns the flux recorded at each point.
const std::vector< Real > & getZ() const
const std::vector< Real > & getX() const
Returns the coordinates of each point.