www.mooseframework.org
RichardsHalfGaussianSink.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef RICHARDSHALFGAUSSIANSINK
9 #define RICHARDSHALFGAUSSIANSINK
10 
11 #include "IntegratedBC.h"
12 #include "RichardsVarNames.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
28 class RichardsHalfGaussianSink : public IntegratedBC
29 {
30 public:
31  RichardsHalfGaussianSink(const InputParameters & parameters);
32 
33 protected:
34  virtual Real computeQpResidual();
35 
36  virtual Real computeQpJacobian();
37 
38  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
39 
41  Real _maximum;
42 
44  Real _sd;
45 
47  Real _centre;
48 
50  Function & _m_func;
51 
57 
65  unsigned int _pvar;
66 
68  const MaterialProperty<std::vector<Real>> & _pp;
69 
71  const MaterialProperty<std::vector<std::vector<Real>>> & _dpp_dv;
72 };
73 
74 #endif // RICHARDSHALFGAUSSIANSINK
Real _maximum
maximum of the Gaussian sink
const MaterialProperty< std::vector< Real > > & _pp
porepressure (or porepressure vector for multiphase problems)
Real _sd
standard deviation of the Gaussian sink
const RichardsVarNames & _richards_name_UO
holds info regarding the names of the Richards variables and methods for extracting values of these v...
This holds maps between pressure_var or pressure_var, sat_var used in RichardsMaterial and kernels...
Function & _m_func
multiplying function: all fluxes will be multiplied by this
InputParameters validParams< RichardsHalfGaussianSink >()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const MaterialProperty< std::vector< std::vector< Real > > > & _dpp_dv
d(porepressure_i)/dvariable_j
RichardsHalfGaussianSink(const InputParameters &parameters)
unsigned int _pvar
the index of this variable in the list of Richards variables held by _richards_name_UO.
Applies a fluid sink to the boundary.
Real _centre
centre of the Gaussian sink