https://mooseframework.inl.gov
ADDGAdvection.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 "ADDGKernel.h"
13 
18 class ADDGAdvection : public ADDGKernel
19 {
20 public:
22 
24 
25 protected:
27 
32 
37 };
virtual ADReal computeQpResidual(Moose::DGResidualType type) override
Compute this Kernel's contribution to the residual at the current quadrature point.
Definition: ADDGAdvection.C:41
ADDGAdvection(const InputParameters &parameters)
Definition: ADDGAdvection.C:27
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
DGResidualType
Definition: MooseTypes.h:743
DualNumber< Real, DNDerivativeType, true > ADReal
Definition: ADRealForward.h:47
static InputParameters validParams()
Definition: ADDGAdvection.C:15
const ADMaterialProperty< RealVectorValue > & _velocity
The velocity on the element.
Definition: ADDGAdvection.h:29
Adds residual/Jacobian contributions for a convection term from internal faces for a discontinuous Ga...
Definition: ADDGAdvection.h:18
const ADMaterialProperty< RealVectorValue > & _velocity_neighbor
The velocity on the neighbor.
Definition: ADDGAdvection.h:31
const std::string & type() const
Get the type of this class.
Definition: MooseBase.h:51
const MooseArray< ADReal > & _adv_quant_elem
The advected quantity value on the element side of the face.
Definition: ADDGAdvection.h:34
const InputParameters & parameters() const
Get the parameters of the object.
const MooseArray< ADReal > & _adv_quant_neighbor
The advected quantity value on the neighbor side of the face.
Definition: ADDGAdvection.h:36