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