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