https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ChemicalOutFlowBC.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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#include "ChemicalOutFlowBC.h"
11
12registerMooseObject("ChemicalReactionsApp", ChemicalOutFlowBC);
13
16{
18 params.addClassDescription("Chemical flux boundary condition");
19 return params;
20}
21
23 : IntegratedBC(parameters),
24 _diff(getMaterialProperty<Real>("diffusivity")),
25 _porosity(getMaterialProperty<Real>("porosity"))
26{
27}
28
29Real
34
35Real
registerMooseObject("ChemicalReactionsApp", ChemicalOutFlowBC)
Implements a simple constant VectorNeumann BC where grad(u)=value on the boundary.
const MaterialProperty< Real > & _diff
Diffusivity.
virtual Real computeQpResidual() override
virtual Real computeQpJacobian() override
const MaterialProperty< Real > & _porosity
Porosity.
ChemicalOutFlowBC(const InputParameters &parameters)
static InputParameters validParams()
void addClassDescription(const std::string &doc_string)
unsigned int _qp
unsigned int _i
unsigned int _j
const VariablePhiGradient & _grad_phi
const VariableGradient & _grad_u
static InputParameters validParams()
const MooseArray< Point > & _normals
const VariableTestValue & _test