https://mooseframework.inl.gov
MassDiffusionEnergyGasMixDGKernel.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 
13 
16 
21 {
22 public:
24 
26 
27 protected:
28  virtual ADReal computeQpFlux() const override;
29 
39  const ADReal & T,
40  const ADReal & vel,
41  const SinglePhaseFluidProperties & fp) const;
42 
47 
52 
57 
62 };
const SinglePhaseFluidProperties & _fp_secondary
Base class for fluid properties of vapor mixtures.
const SinglePhaseFluidProperties & _fp_primary
ADReal computeComponentTotalEnthalpy(const ADReal &p, const ADReal &T, const ADReal &vel, const SinglePhaseFluidProperties &fp) const
Components the total enthalpy for a mixture component.
const ADMaterialProperty< Real > & _vel_neig
Mixture velocity for neighbor element.
const ADMaterialProperty< Real > & _vel_elem
Mixture velocity for current element.
const ADMaterialProperty< Real > & _T_neig
Temperature for neighbor element.
Common class for single phase fluid properties.
const VaporMixtureFluidProperties & _fp
Fluid properties.
const ADMaterialProperty< Real > & _p_neig
Mixture pressure for neighbor element.
Adds mass diffusion for FlowChannelGasMix.
const ADMaterialProperty< Real > & _p_elem
Mixture pressure for current element.
const ADMaterialProperty< Real > & _T_elem
Temperature for current element.
Adds mass diffusion to the energy equation for FlowChannelGasMix.
MassDiffusionEnergyGasMixDGKernel(const InputParameters &parameters)
virtual ADReal computeQpFlux() const override
Computes the flux that will be applied to both sides for a q-point.
const InputParameters & parameters() const