RichardsExcav Class Reference

Allows specification of Dirichlet BCs on an evolving boundary RichardsExcav is applied on a sideset, and the function excav_geom_function tells moose where on the sideset to apply the BC through the shouldApply() function. More...

#include <RichardsExcav.h>

Inheritance diagram for RichardsExcav:
[legend]

## Public Member Functions

RichardsExcav (const InputParameters &parameters)

## Protected Member Functions

virtual Real computeQpResidual ()

virtual bool shouldApply ()
if excav_geom_function is != 0 at the point on the boundary then apply the dirichlet BC More...

## Protected Attributes

Real _p_excav
The variable will be made equal to _p_excav at the "active" points on the boundary. More...

Function & _func
Controls which points are "active" on the boundary An "active" point is where _func != 0, and at these points the Dirichlet condition variable = _p_excav will be applied. More...

## Detailed Description

Allows specification of Dirichlet BCs on an evolving boundary RichardsExcav is applied on a sideset, and the function excav_geom_function tells moose where on the sideset to apply the BC through the shouldApply() function.

Definition at line 28 of file RichardsExcav.h.

## ◆ RichardsExcav()

 RichardsExcav::RichardsExcav ( const InputParameters & parameters )

Definition at line 34 of file RichardsExcav.C.

35  : NodalBC(parameters),
36  _p_excav(getParam<Real>("p_excav")),
37  _func(getFunction("excav_geom_function"))
38 {
39 }
Real _p_excav
The variable will be made equal to _p_excav at the "active" points on the boundary.
Definition: RichardsExcav.h:46
Function & _func
Controls which points are "active" on the boundary An "active" point is where _func != 0...
Definition: RichardsExcav.h:54

## ◆ computeQpResidual()

 Real RichardsExcav::computeQpResidual ( )
protectedvirtual

Definition at line 51 of file RichardsExcav.C.

52 {
53  return _u[_qp] - _p_excav;
54 }
Real _p_excav
The variable will be made equal to _p_excav at the "active" points on the boundary.
Definition: RichardsExcav.h:46

## ◆ shouldApply()

 bool RichardsExcav::shouldApply ( )
protectedvirtual

if excav_geom_function is != 0 at the point on the boundary then apply the dirichlet BC

Definition at line 42 of file RichardsExcav.C.

43 {
44  if (_func.value(_t, *_current_node) == 0.0)
45  return false;
46  else
47  return true;
48 }
Function & _func
Controls which points are "active" on the boundary An "active" point is where _func != 0...
Definition: RichardsExcav.h:54

## ◆ _func

 Function& RichardsExcav::_func
protected

Controls which points are "active" on the boundary An "active" point is where _func != 0, and at these points the Dirichlet condition variable = _p_excav will be applied.

Definition at line 54 of file RichardsExcav.h.

Referenced by shouldApply().

## ◆ _p_excav

 Real RichardsExcav::_p_excav
protected

The variable will be made equal to _p_excav at the "active" points on the boundary.

Definition at line 46 of file RichardsExcav.h.

Referenced by computeQpResidual().

The documentation for this class was generated from the following files: