www.mooseframework.org
PorousFlowSquarePulsePointSource.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "DiracKernel.h"
13 
20 {
21 public:
23 
25 
26  virtual void addPoints() override;
27  virtual Real computeQpResidual() override;
28 
29 protected:
32 
34  const Point _p;
35 
38 
40  const Real _end_time;
41 };
const Real _end_time
The time at which the point source (sink) stops operating.
const Real _start_time
The time at which the point source (sink) starts operating.
const Real _mass_flux
The constant mass flux (kg/s)
Point source (or sink) that adds (removes) fluid at a constant mass flux rate for times between the s...
const Point _p
The location of the point source (sink)
PorousFlowSquarePulsePointSource(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const