https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADNumericalFlux3EqnDGKernel.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
15
30{
31public:
33
34protected:
36
42 std::map<unsigned int, unsigned int> getIndexMapping() const;
43
47
48 // reconstructed variable values in this cell
54
55 // reconstructed variable values in neighbor cell
61
64
65 // coupled variable indices
66 const unsigned int _rhoA_var;
67 const unsigned int _rhouA_var;
68 const unsigned int _rhoEA_var;
69
71 const unsigned int _n_passives;
72
74 const std::map<unsigned int, unsigned int> _jmap;
75
77 const unsigned int _equation_index;
78
79public:
81};
DualNumber< Real, DNDerivativeType, true > ADReal
Base class for computing numerical fluxes for FlowModelSinglePhase.
Adds side fluxes for the 1-D, 1-phase, variable-area Euler equations.
const ADMaterialProperty< std::vector< Real > > & _passives_times_area2
virtual ADReal computeQpResidual(Moose::DGResidualType type)
const ADMaterialProperty< Real > & _p1
const ADNumericalFlux3EqnBase & _numerical_flux
Numerical flux user object.
const ADMaterialProperty< Real > & _rhouA1
const ADVariableValue & _A_elem
Area.
const ADMaterialProperty< Real > & _rhouA2
const ADMaterialProperty< Real > & _p2
const ADMaterialProperty< std::vector< Real > > & _passives_times_area1
const ADMaterialProperty< Real > & _rhoEA2
std::map< unsigned int, unsigned int > getIndexMapping() const
Creates the mapping of coupled variable index to index in Euler system.
const unsigned int _n_passives
Number of passive transport variables.
const ADMaterialProperty< Real > & _rhoA2
const ADMaterialProperty< Real > & _rhoEA1
const std::map< unsigned int, unsigned int > _jmap
map of coupled variable index to equations variable index convention
const unsigned int _equation_index
index within the Euler system of the equation upon which this kernel acts
const ADMaterialProperty< Real > & _rhoA1
const InputParameters & parameters() const
const std::string & type() const
VariableValueTempl< true > ADVariableValue
DGResidualType