https://mooseframework.inl.gov
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 {
27 public:
29  FVDiffusion(const InputParameters & params);
30 
31 protected:
32  virtual ADReal computeQpResidual() override;
33 
35 
39 };
static InputParameters validParams()
Definition: FVDiffusion.C:15
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 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
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
FVDiffusion implements a standard diffusion term:
Definition: FVDiffusion.h:25
const Moose::Functor< ADReal > & _coeff
Definition: FVDiffusion.h:34
FVDiffusion(const InputParameters &params)
Definition: FVDiffusion.C:42
Interface function that holds the member variables and functions related to the interpolation schemes...
InterpMethod
This codifies a set of available ways to interpolate with elem+neighbor solution information to calcu...
Definition: MathFVUtils.h:35
FVFluxKernel is used for calculating residual contributions from numerical fluxes from surface integr...
Definition: FVFluxKernel.h:30
virtual ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
Definition: FVDiffusion.C:52