https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowSquarePulsePointSource.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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{
21public:
23
25
26 virtual void addPoints() override;
27 virtual Real computeQpResidual() override;
28
29protected:
31 const Real _mass_flux;
32
34 const Point _p;
35
37 const Real _start_time;
38
40 const Real _end_time;
41};
const InputParameters & parameters() const
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)
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)