https://mooseframework.inl.gov
LinearFVAdvectionDiffusionFunctorRobinBCBase.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 
20 {
21 public:
27 
29 
30  virtual Real computeBoundaryValue() const override;
31 
32  virtual Real computeBoundaryNormalGradient() const override;
33 
34  virtual Real computeBoundaryValueMatrixContribution() const override;
35 
36  virtual Real computeBoundaryValueRHSContribution() const override;
37 
38  virtual Real computeBoundaryGradientMatrixContribution() const override;
39 
40  virtual Real computeBoundaryGradientRHSContribution() const override;
41 
42 protected:
44  virtual Real getAlpha(Moose::FaceArg face, Moose::StateArg state) const = 0;
45  virtual Real getBeta(Moose::FaceArg face, Moose::StateArg state) const = 0;
46  virtual Real getGamma(Moose::FaceArg face, Moose::StateArg state) const = 0;
47 };
virtual Real getGamma(Moose::FaceArg face, Moose::StateArg state) const =0
const InputParameters & parameters() const
Get the parameters of the object.
Definition: MooseBase.h:131
virtual Real computeBoundaryValueMatrixContribution() const override
Computes the boundary value's contribution to the linear system matrix.
virtual Real computeBoundaryNormalGradient() const override
Computes the normal gradient (often used in diffusion terms) on the boundary.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual Real getBeta(Moose::FaceArg face, Moose::StateArg state) const =0
Base class for boundary conditions that are valid for advection diffusion problems.
A structure defining a "face" evaluation calling argument for Moose functors.
virtual Real computeBoundaryValue() const override
Computes the boundary value of this object.
virtual Real computeBoundaryGradientRHSContribution() const override
Computes the boundary gradient's contribution to the linear system right hand side.
virtual Real computeBoundaryValueRHSContribution() const override
Computes the boundary value's contribution to the linear system right hand side.
virtual Real getAlpha(Moose::FaceArg face, Moose::StateArg state) const =0
Getter functions (consistent entry point for all derived classes)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
LinearFVAdvectionDiffusionFunctorRobinBCBase(const InputParameters &parameters)
Class constructor.
Class implementing the base for the Robin boundary condition for linear finite volume variables...
virtual Real computeBoundaryGradientMatrixContribution() const override
Computes the boundary gradient's contribution to the linear system matrix.
State argument for evaluating functors.