https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LinearFVAdvectionDiffusionFunctorDirichletBC.h
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#pragma once
11
13
19{
20public:
26
28
29 virtual Real computeBoundaryValue() const override;
30
31 virtual Real computeBoundaryNormalGradient() const override;
32
33 virtual Real computeBoundaryValueMatrixContribution() const override;
34
35 virtual Real computeBoundaryValueRHSContribution() const override;
36
37 virtual Real computeBoundaryGradientMatrixContribution() const override;
38
39 virtual Real computeBoundaryGradientRHSContribution() const override;
40
41 virtual bool needsBoundaryNonorthogonalCorrection() const override { return true; }
42
43protected:
46};
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Base class for boundary conditions that are valid for advection diffusion problems.
Class implementing a Dirichlet boundary condition for linear finite volume variables.
virtual Real computeBoundaryGradientRHSContribution() const override
Computes the boundary gradient's contribution to the linear system right hand side.
const Moose::Functor< Real > & _functor
The functor for this BC (can be variable, function, etc)
virtual Real computeBoundaryValueMatrixContribution() const override
Computes the boundary value's contribution to the linear system matrix.
virtual Real computeBoundaryValue() const override
Computes the boundary value of this object.
virtual Real computeBoundaryValueRHSContribution() const override
Computes the boundary value's contribution to the linear system right hand side.
virtual bool needsBoundaryNonorthogonalCorrection() const override
Whether the kernel should add a geometric nonorthogonal boundary correction.
virtual Real computeBoundaryNormalGradient() const override
Computes the normal gradient (often used in diffusion terms) on the boundary.
virtual Real computeBoundaryGradientMatrixContribution() const override
Computes the boundary gradient's contribution to the linear system matrix.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...