https://mooseframework.inl.gov
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 {
20 public:
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 useBoundaryGradientExtrapolation() const override { return true; }
42 
43 protected:
46 };
virtual Real computeBoundaryValue() const override
Computes the boundary value of this object.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
virtual bool useBoundaryGradientExtrapolation() const override
Define if the value of the gradient of the field to compute fluxes at boundaries is prescribed by t...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual Real computeBoundaryGradientRHSContribution() const override
Computes the boundary gradient's contribution to the linear system right hand side.
Base class for boundary conditions that are valid for advection diffusion problems.
virtual Real computeBoundaryGradientMatrixContribution() const override
Computes the boundary gradient's contribution to the linear system matrix.
const Moose::Functor< Real > & _functor
The functor for this BC (can be variable, function, etc)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
LinearFVAdvectionDiffusionFunctorDirichletBC(const InputParameters &parameters)
Class constructor.
virtual Real computeBoundaryNormalGradient() const override
Computes the normal gradient (often used in diffusion terms) on the boundary.
const InputParameters & parameters() const
Get the parameters of the object.
virtual Real computeBoundaryValueMatrixContribution() const override
Computes the boundary value&#39;s contribution to the linear system matrix.
Class implementing a Dirichlet boundary condition for linear finite volume variables.
virtual Real computeBoundaryValueRHSContribution() const override
Computes the boundary value&#39;s contribution to the linear system right hand side.