https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FVDiffusion.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
12#include "FVFluxKernel.h"
14
26{
27public:
29 FVDiffusion(const InputParameters & params);
30
31protected:
32 virtual ADReal computeQpResidual() override;
33
35
39};
DualNumber< Real, DNDerivativeType, true > ADReal
Interface function that holds the member variables and functions related to the interpolation schemes...
FVDiffusion implements a standard diffusion term:
Definition FVDiffusion.h:26
static InputParameters validParams()
Definition FVDiffusion.C:15
const Moose::FV::InterpMethod _coeff_interp_method
Decides if a geometric arithmetic or harmonic average is used for the face interpolation of the diffu...
Definition FVDiffusion.h:38
virtual ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
Definition FVDiffusion.C:52
const Moose::Functor< ADReal > & _coeff
Definition FVDiffusion.h:34
FVFluxKernel is used for calculating residual contributions from numerical fluxes from surface integr...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
InterpMethod
This codifies a set of available ways to interpolate with elem+neighbor solution information to calcu...
Definition MathFVUtils.h:39