https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DiffusionFluxBC.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 "DiffusionFluxBC.h"
11
13
16{
19 "Computes a boundary residual contribution consistent with the Diffusion Kernel. "
20 "Does not impose a boundary condition; instead computes the boundary "
21 "contribution corresponding to the current value of grad(u) and accumulates "
22 "it in the residual vector.");
23 return params;
24}
25
26DiffusionFluxBC::DiffusionFluxBC(const InputParameters & parameters) : FluxBC(parameters) {}
27
28RealGradient
33
34RealGradient
registerMooseObject("MooseApp", DiffusionFluxBC)
A FluxBC which is consistent with the boundary terms arising from the Diffusion Kernel.
virtual RealGradient computeQpFluxJacobian() override
virtual RealGradient computeQpFluxResidual() override
DiffusionFluxBC(const InputParameters &parameters)
static InputParameters validParams()
Boundary condition of a flux type .
Definition FluxBC.h:20
static InputParameters validParams()
Definition FluxBC.C:13
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
unsigned int _qp
quadrature point index
const VariablePhiGradient & _grad_phi
gradients of shape functions (in QPs)
const VariableGradient & _grad_u
the gradient of the unknown variable this BC is acting on