Point source (or sink) that adds (removes) fluid at a constant mass flux rate for times between the specified start and end times. More...
#include <PorousFlowSquarePulsePointSource.h>
Public Member Functions | |
PorousFlowSquarePulsePointSource (const InputParameters ¶meters) | |
virtual void | addPoints () override |
virtual Real | computeQpResidual () override |
Protected Attributes | |
const Real | _mass_flux |
The constant mass flux (kg/s) More... | |
const Point | _p |
The location of the point source (sink) More... | |
const Real | _start_time |
The time at which the point source (sink) starts operating. More... | |
const Real | _end_time |
The time at which the point source (sink) stops operating. More... | |
Point source (or sink) that adds (removes) fluid at a constant mass flux rate for times between the specified start and end times.
If no start and end times are specified, the source (sink) starts at the start of the simulation and continues to act indefinitely
Definition at line 24 of file PorousFlowSquarePulsePointSource.h.
PorousFlowSquarePulsePointSource::PorousFlowSquarePulsePointSource | ( | const InputParameters & | parameters | ) |
Definition at line 32 of file PorousFlowSquarePulsePointSource.C.
|
overridevirtual |
Definition at line 50 of file PorousFlowSquarePulsePointSource.C.
|
overridevirtual |
There are six cases for the start and end time in relation to t-dt and t. If the interval (t-dt,t) is only partly but not fully within the (start,end) interval, then the mass_flux is scaled so that the total mass added (or removed) is correct
Definition at line 56 of file PorousFlowSquarePulsePointSource.C.
|
protected |
The time at which the point source (sink) stops operating.
Definition at line 43 of file PorousFlowSquarePulsePointSource.h.
Referenced by computeQpResidual(), and PorousFlowSquarePulsePointSource().
|
protected |
The constant mass flux (kg/s)
Definition at line 34 of file PorousFlowSquarePulsePointSource.h.
Referenced by computeQpResidual().
|
protected |
The location of the point source (sink)
Definition at line 37 of file PorousFlowSquarePulsePointSource.h.
Referenced by addPoints().
|
protected |
The time at which the point source (sink) starts operating.
Definition at line 40 of file PorousFlowSquarePulsePointSource.h.
Referenced by computeQpResidual(), and PorousFlowSquarePulsePointSource().