www.mooseframework.org
Classes | Functions
PorousFlowSquarePulsePointSource.h File Reference

Go to the source code of this file.

Classes

class  PorousFlowSquarePulsePointSource
 Point source (or sink) that adds (removes) fluid at a constant mass flux rate for times between the specified start and end times. More...
 

Functions

template<>
InputParameters validParams< PorousFlowSquarePulsePointSource > ()
 

Function Documentation

template<>
InputParameters validParams< PorousFlowSquarePulsePointSource > ( )

Definition at line 12 of file PorousFlowSquarePulsePointSource.C.

13 {
14  InputParameters params = validParams<DiracKernel>();
15  params.addRequiredParam<Real>(
16  "mass_flux",
17  "The mass flux at this point in kg/s (positive is flux in, negative is flux out)");
18  params.addRequiredParam<Point>("point", "The x,y,z coordinates of the point source (sink)");
19  params.addParam<Real>(
20  "start_time", 0.0, "The time at which the source will start (Default is 0)");
21  params.addParam<Real>(
22  "end_time", 1.0e30, "The time at which the source will end (Default is 1e30)");
23  params.addClassDescription("Point source (or sink) that adds (removes) fluid at a constant mass "
24  "flux rate for times between the specified start and end times.");
25  return params;
26 }