https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FVDivergence.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"
13
23{
24public:
26 FVDivergence(const InputParameters & params);
27
28protected:
29 virtual ADReal computeQpResidual() override;
30
33};
DualNumber< Real, DNDerivativeType, true > ADReal
FVDivergence implements a standard divergence term:
const Moose::Functor< ADRealVectorValue > & _vector_field
The vector field whose divergence is added to the residual.
virtual ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
static InputParameters validParams()
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...