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

◆ validParams< PorousFlowSquarePulsePointSource >()

template<>
InputParameters validParams< PorousFlowSquarePulsePointSource > ( )

Definition at line 16 of file PorousFlowSquarePulsePointSource.C.

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