https://mooseframework.inl.gov
NumericalFluxGasMixDGKernel.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 
20 {
21 public:
23 
25 
26 protected:
28 
34  std::map<unsigned int, unsigned int> getIndexMapping() const;
35 
39 
40  // reconstructed variable values in this cell
45 
46  // reconstructed variable values in neighbor cell
51 
54 
55  // coupled variable indices
56  const unsigned int _xirhoA_var;
57  const unsigned int _rhoA_var;
58  const unsigned int _rhouA_var;
59  const unsigned int _rhoEA_var;
60 
62  const std::map<unsigned int, unsigned int> _jmap;
63 
65  const unsigned int _equation_index;
66 };
const ADMaterialProperty< Real > & _rhoA2
const ADMaterialProperty< Real > & _rhoEA1
Base class for computing numerical fluxes for FlowModelGasMix.
const ADMaterialProperty< Real > & _xirhoA1
NumericalFluxGasMixDGKernel(const InputParameters &parameters)
const ADMaterialProperty< Real > & _rhoA1
DGResidualType
std::map< unsigned int, unsigned int > getIndexMapping() const
Creates the mapping of coupled variable index to index in equation system.
const std::map< unsigned int, unsigned int > _jmap
map of coupled variable index to equations variable index convention
const ADMaterialProperty< Real > & _rhouA1
const std::string & type() const
const ADMaterialProperty< Real > & _rhouA2
Adds side fluxes from NumericalFluxGasMix objects.
const NumericalFluxGasMixBase & _numerical_flux
Numerical flux user object.
const unsigned int _equation_index
index within the equation system of the equation upon which this kernel acts
const InputParameters & parameters() const
const ADMaterialProperty< Real > & _xirhoA2
virtual ADReal computeQpResidual(Moose::DGResidualType type) override
const ADVariableValue & _A_elem
Area.
const ADMaterialProperty< Real > & _rhoEA2
static InputParameters validParams()