32 "Name of NumericalFluxGasMixBase object");
40 _A_elem(adCoupledValue(
"A_linear")),
41 _A_neig(adCoupledNeighborValue(
"A_linear")),
47 _rhoA2(getNeighborADMaterialProperty<
Real>(
THM::
RHOA)),
48 _rhouA2(getNeighborADMaterialProperty<
Real>(
THM::
RHOUA)),
49 _rhoEA2(getNeighborADMaterialProperty<
Real>(
THM::
RHOEA)),
51 _xirhoA_var(coupled(
"xirhoA")),
52 _rhoA_var(coupled(
"rhoA")),
53 _rhouA_var(coupled(
"rhouA")),
54 _rhoEA_var(coupled(
"rhoEA")),
55 _jmap(getIndexMapping()),
56 _equation_index(_jmap.at(_var.number()))
80 const std::vector<ADReal> & flux_elem =
82 const std::vector<ADReal> & flux_neig =
98 std::map<unsigned int, unsigned int>
101 std::map<unsigned int, unsigned int> jmap;
const ADMaterialProperty< Real > & _rhoA2
const unsigned int _rhouA_var
const ADMaterialProperty< Real > & _rhoEA1
const ADVariableValue & _A_neig
Base class for computing numerical fluxes for FlowModelGasMix.
const ADMaterialProperty< Real > & _xirhoA1
registerMooseObject("ThermalHydraulicsApp", NumericalFluxGasMixDGKernel)
const unsigned int _rhoEA_var
NumericalFluxGasMixDGKernel(const InputParameters ¶meters)
const ADMaterialProperty< Real > & _rhoA1
static InputParameters validParams()
virtual const std::vector< ADReal > & getFlux(const unsigned int iside, const dof_id_type ielem, bool res_side_is_left, const std::vector< ADReal > &UL_1d, const std::vector< ADReal > &UR_1d, Real nLR_dot_d) const
Gets the 1D flux vector for an element/side combination.
DualNumber< Real, DNDerivativeType, true > ADReal
std::map< unsigned int, unsigned int > getIndexMapping() const
Creates the mapping of coupled variable index to index in equation system.
const VariableTestValue & _test_neighbor
const ADMaterialProperty< Real > & _rhouA1
const std::string & type() const
const unsigned int _rhoA_var
const ADMaterialProperty< Real > & _rhouA2
const unsigned int _xirhoA_var
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Adds side fluxes from NumericalFluxGasMix objects.
const NumericalFluxGasMixBase & _numerical_flux
Numerical flux user object.
const Elem *const & _current_elem
const unsigned int & _current_side
const unsigned int _equation_index
index within the equation system of the equation upon which this kernel acts
static const unsigned int N_FLUX_INPUTS
Number of numerical flux function inputs.
const ADMaterialProperty< Real > & _xirhoA2
virtual ADReal computeQpResidual(Moose::DGResidualType type) override
const ADVariableValue & _A_elem
Area.
const ADMaterialProperty< Real > & _rhoEA2
const VariableTestValue & _test
static InputParameters validParams()