www.mooseframework.org
ChemicalOutFlowBC.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 #ifndef CHEMICALOUTFLOWBC_H
8 #define CHEMICALOUTFLOWBC_H
9 
10 #include "IntegratedBC.h"
11 
12 // Forward Declarations
13 class ChemicalOutFlowBC;
14 
15 template <>
16 InputParameters validParams<ChemicalOutFlowBC>();
17 
22 class ChemicalOutFlowBC : public IntegratedBC
23 {
24 public:
25  ChemicalOutFlowBC(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual() override;
29  virtual Real computeQpJacobian() override;
30 
31 private:
33  const MaterialProperty<Real> & _diff;
35  const MaterialProperty<Real> & _porosity;
36 };
37 
38 #endif // CHEMICALOUTFLOWBC_H
Implements a simple constant VectorNeumann BC where grad(u)=value on the boundary.
const MaterialProperty< Real > & _diff
Diffusivity.
const MaterialProperty< Real > & _porosity
Porosity.
virtual Real computeQpJacobian() override
virtual Real computeQpResidual() override
ChemicalOutFlowBC(const InputParameters &parameters)
InputParameters validParams< ChemicalOutFlowBC >()