https://mooseframework.inl.gov
LinearFVAnisotropicDiffusionFunctorNeumannBC.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 
22 {
23 public:
25 
31 
32  virtual Real computeBoundaryValue() const override;
33 
34  virtual Real computeBoundaryNormalGradient() const override;
35 
36  virtual Real computeBoundaryValueRHSContribution() const override;
37 
38 protected:
40  const bool _two_term_expansion;
41 
44 };
LinearFVAnisotropicDiffusionFunctorNeumannBC(const InputParameters &parameters)
Class constructor.
virtual Real computeBoundaryValueRHSContribution() const override
Computes the boundary value's contribution to the linear system right hand side.
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...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
const bool _two_term_expansion
Whether to reconstruct the boundary value with the prescribed flux and cell gradient.
Class implementing a Neumann boundary condition for linear finite volume variables.
virtual Real computeBoundaryValue() const override
Computes the boundary value of this object.
virtual Real computeBoundaryNormalGradient() const override
Computes the normal gradient (often used in diffusion terms) on the boundary.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Moose::Functor< RealVectorValue > & _diffusion_tensor
The functor for the diagonal diffusion tensor.
A Neumann boundary condition for linear finite volume anisotropic diffusion problems.