https://mooseframework.inl.gov
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 {
31 public:
33 
34 protected:
36 
42  std::map<unsigned int, unsigned int> getIndexMapping() const;
43 
47 
48  // reconstructed variable values in this cell
53 
54  // reconstructed variable values in neighbor cell
59 
62 
63  // coupled variable indices
64  const unsigned int _rhoA_var;
65  const unsigned int _rhouA_var;
66  const unsigned int _rhoEA_var;
67 
69  const std::map<unsigned int, unsigned int> _jmap;
70 
72  const unsigned int _equation_index;
73 
74 public:
76 };
static InputParameters validParams()
std::map< unsigned int, unsigned int > getIndexMapping() const
Creates the mapping of coupled variable index to index in Euler system.
const ADMaterialProperty< Real > & _rhouA1
const ADMaterialProperty< Real > & _p1
const ADVariableValue & _A_elem
Area.
const ADNumericalFlux3EqnBase & _numerical_flux
Numerical flux user object.
virtual ADReal computeQpResidual(Moose::DGResidualType type)
DGResidualType
ADNumericalFlux3EqnDGKernel(const InputParameters &parameters)
const std::map< unsigned int, unsigned int > _jmap
map of coupled variable index to equations variable index convention
const ADMaterialProperty< Real > & _rhouA2
const ADMaterialProperty< Real > & _rhoEA2
const ADMaterialProperty< Real > & _rhoA1
const std::string & type() const
Base class for computing numerical fluxes for FlowModelSinglePhase.
const unsigned int _equation_index
index within the Euler system of the equation upon which this kernel acts
const ADMaterialProperty< Real > & _rhoEA1
const ADMaterialProperty< Real > & _rhoA2
const ADMaterialProperty< Real > & _p2
const InputParameters & parameters() const
Adds side fluxes for the 1-D, 1-phase, variable-area Euler equations.