19 params.
addClassDescription(
"Adds mass diffusion to the species equation for FlowChannelGasMix.");
40 return -rho * D * dxi_dx;
static InputParameters validParams()
virtual ADReal computeQpFlux() const override
Computes the flux that will be applied to both sides for a q-point.
MassDiffusionSpeciesGasMixDGKernel(const InputParameters ¶meters)
ADReal computeGradient(const ADReal &y_elem, const ADReal &y_neig, Real dx) const
Computes the gradient of a quantity in the channel direction.
const ADMaterialProperty< Real > & _mass_fraction_elem
Mass fraction for current element.
DualNumber< Real, DNDerivativeType, true > ADReal
const ADMaterialProperty< Real > & _rho_elem
Density for current element.
Adds mass diffusion to the species equation for FlowChannelGasMix.
const ADMaterialProperty< Real > & _mass_fraction_neig
Mass fraction for neighbor element.
Adds mass diffusion for FlowChannelGasMix.
const ADMaterialProperty< Real > & _D_neig
Diffusion coefficient for neighbor element.
registerMooseObject("ThermalHydraulicsApp", MassDiffusionSpeciesGasMixDGKernel)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADReal linearlyInterpolate(const ADReal &y_elem, const ADReal &y_neig, Real dx, Real dx_side) const
Linearly interpolates a quantity to the side position.
void computePositionChanges(Real &dx, Real &dx_side) const
Computes the changes in position between elements and side.
static InputParameters validParams()
const ADMaterialProperty< Real > & _rho_neig
Density for neighbor element.
const ADMaterialProperty< Real > & _D_elem
Diffusion coefficient for current element.