https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
23public:
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
38protected:
42 virtual ADReal computeFlowArea(const std::vector<ADReal> & UL,
43 const std::vector<ADReal> & UR) const;
44
47};
DualNumber< Real, DNDerivativeType, true > ADReal
const InputParameters & parameters() const
Interface class for producing errors, warnings, or just quiet NaNs.
Base class for computing numerical fluxes for FlowModelGasMix.
Computes the numerical flux for FlowModelGasMix using the HLLC approximate Riemann solver.
const VaporMixtureFluidProperties & _fp
fluid properties user object
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.
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.
static InputParameters validParams()
virtual unsigned int getNumberOfRegions() const override
Returns the total possible number of regions.
Base class for fluid properties of vapor mixtures.