www.mooseframework.org
RichardsExcav.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 RICHARDSEXCAV
9 #define RICHARDSEXCAV
10 
11 #include "NodalBC.h"
12 
13 // Forward Declarations
14 class RichardsExcav;
15 class Function;
16 
17 template <>
18 InputParameters validParams<RichardsExcav>();
19 
26 class RichardsExcav : public NodalBC
27 {
28 public:
29  RichardsExcav(const InputParameters & parameters);
30 
31 protected:
32  virtual Real computeQpResidual();
33 
38  virtual bool shouldApply();
39 
44  Real _p_excav;
45 
52  Function & _func;
53 };
54 
55 #endif // RICHARDSEXCAV
RichardsExcav(const InputParameters &parameters)
Definition: RichardsExcav.C:30
Real _p_excav
The variable will be made equal to _p_excav at the "active" points on the boundary.
Definition: RichardsExcav.h:44
Allows specification of Dirichlet BCs on an evolving boundary RichardsExcav is applied on a sideset...
Definition: RichardsExcav.h:26
virtual Real computeQpResidual()
Definition: RichardsExcav.C:47
InputParameters validParams< RichardsExcav >()
Definition: RichardsExcav.C:15
Function & _func
Controls which points are "active" on the boundary An "active" point is where _func != 0...
Definition: RichardsExcav.h:52
virtual bool shouldApply()
if excav_geom_function is != 0 at the point on the boundary then apply the dirichlet BC ...
Definition: RichardsExcav.C:38