https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FVAdvection.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
15{
16public:
18 FVAdvection(const InputParameters & params);
19
20protected:
21 virtual ADReal computeQpResidual() override;
22
23 const RealVectorValue _velocity;
24
27};
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
Definition FVAdvection.C:17
virtual ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
Definition FVAdvection.C:61
Moose::FV::InterpMethod _advected_interp_method
The interpolation method to use for the advected quantity.
Definition FVAdvection.h:26
const RealVectorValue _velocity
Definition FVAdvection.h:23
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.
InterpMethod
This codifies a set of available ways to interpolate with elem+neighbor solution information to calcu...
Definition MathFVUtils.h:39