https://mooseframework.inl.gov
NumericalFluxGasMixHLLC.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 #include "NaNInterface.h"
14 
16 
22 {
23 public:
25 
27 
28  virtual void calcFlux(const std::vector<ADReal> & UL,
29  const std::vector<ADReal> & UR,
30  const RealVectorValue & nLR,
31  const RealVectorValue & t1,
32  const RealVectorValue & t2,
33  std::vector<ADReal> & FL,
34  std::vector<ADReal> & FR) const override;
35 
36  virtual unsigned int getNumberOfRegions() const override { return 4; }
37 
38 protected:
42  virtual ADReal computeFlowArea(const std::vector<ADReal> & UL,
43  const std::vector<ADReal> & UR) const;
44 
47 };
Base class for fluid properties of vapor mixtures.
Base class for computing numerical fluxes for FlowModelGasMix.
virtual unsigned int getNumberOfRegions() const override
Returns the total possible number of regions.
virtual void calcFlux(const std::vector< ADReal > &UL, const std::vector< ADReal > &UR, const RealVectorValue &nLR, const RealVectorValue &t1, const RealVectorValue &t2, std::vector< ADReal > &FL, std::vector< ADReal > &FR) const override
Calculates the 3D flux vectors given "left" and "right" states.
DualNumber< Real, DNDerivativeType, true > ADReal
virtual ADReal computeFlowArea(const std::vector< ADReal > &UL, const std::vector< ADReal > &UR) const
Computes the flow area that is used in the numerical flux.
Computes the numerical flux for FlowModelGasMix using the HLLC approximate Riemann solver...
NumericalFluxGasMixHLLC(const InputParameters &parameters)
const InputParameters & parameters() const
const VaporMixtureFluidProperties & _fp
fluid properties user object
Interface class for producing errors, warnings, or just quiet NaNs.
Definition: NaNInterface.h:22
static InputParameters validParams()