www.mooseframework.org
RichardsExcavFlow.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 RICHARDSEXCAVFLOW_H
9 #define RICHARDSEXCAVFLOW_H
10 
11 #include "SideIntegralVariablePostprocessor.h"
12 #include "MaterialPropertyInterface.h"
13 #include "RichardsVarNames.h"
14 
15 // Forward Declarations
16 class RichardsExcavFlow;
17 class Function;
18 
19 template <>
20 InputParameters validParams<RichardsExcavFlow>();
21 
25 class RichardsExcavFlow : public SideIntegralVariablePostprocessor
26 {
27 public:
28  RichardsExcavFlow(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpIntegral();
32 
35 
37  unsigned int _pvar;
38 
40  const MaterialProperty<std::vector<RealVectorValue>> & _flux;
41 
43  Function & _func;
44 };
45 
46 #endif // RICHARDSEXCAVFLOW_H
virtual Real computeQpIntegral()
Records total mass flow into an excavation defined by a RichardsExcavGeom function.
This holds maps between pressure_var or pressure_var, sat_var used in RichardsMaterial and kernels...
const RichardsVarNames & _richards_name_UO
holds info regarding the Richards variables
Function & _func
the RichardsExcavGeom that defines where on the boundary we&#39;ll compute the mass flux ...
unsigned int _pvar
the richards variable number for which we want the mass flow
RichardsExcavFlow(const InputParameters &parameters)
const MaterialProperty< std::vector< RealVectorValue > > & _flux
mass-flux of fluid (a vector in the multicomponent case)
InputParameters validParams< RichardsExcavFlow >()