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