https://mooseframework.inl.gov
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 
14 class FVAdvection : public FVFluxKernel
15 {
16 public:
18  FVAdvection(const InputParameters & params);
19 
20 protected:
21  virtual ADReal computeQpResidual() override;
22 
24 
27 };
virtual ADReal computeQpResidual() override
This is the primary function that must be implemented for flux kernel terms.
Definition: FVAdvection.C:61
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
static InputParameters validParams()
Definition: FVAdvection.C:17
const RealVectorValue _velocity
Definition: FVAdvection.h:23
Moose::FV::InterpMethod _advected_interp_method
The interpolation method to use for the advected quantity.
Definition: FVAdvection.h:26
FVAdvection(const InputParameters &params)
Definition: FVAdvection.C:37
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