Tests NumericalFluxGasMixHLLC. More...
#include <TestNumericalFluxGasMixHLLC.h>
Public Member Functions | |
TestNumericalFluxGasMixHLLC () | |
Protected Member Functions | |
virtual const NumericalFlux1D & | createFluxObject () override |
Creates the flux object to be tested. More... | |
virtual std::vector< std::pair< std::vector< ADReal >, std::vector< ADReal > > > | getPrimitiveSolutionsSymmetryTest () const override |
Gets a vector of pairs of primitive solution vectors to use for symmetry test. More... | |
virtual std::vector< std::vector< ADReal > > | getPrimitiveSolutionsConsistencyTest () const override |
Gets a vector of primitive solution vectors to use for consistency test. More... | |
virtual std::vector< ADReal > | computeConservativeSolution (const std::vector< ADReal > &W, const ADReal &A) const override |
Computes the conservative solution from the primitive solution. More... | |
virtual std::vector< ADReal > | computeFluxFromPrimitive (const std::vector< ADReal > &W, const ADReal &A) const override |
Computes the 1D flux vector from the primitive solution. More... | |
void | addFluidProperties () |
Adds fluid properties objects needed for testing. More... | |
void | testConsistency () |
Runs the consistency test(s) More... | |
void | testSymmetry () |
Runs the symmetry test(s) More... | |
void | buildObjects () |
T & | addObject (const std::string &type, const std::string &name, InputParameters ¶ms) |
Protected Attributes | |
const UserObjectName | _fp_mix_name |
Mixture fluid properties name. More... | |
const IdealGasMixtureFluidProperties * | _fp_mix |
Fluid properties user object. More... | |
std::unique_ptr< MooseMesh > | _mesh |
std::shared_ptr< MooseApp > | _app |
Factory & | _factory |
std::shared_ptr< FEProblem > | _fe_problem |
Tests NumericalFluxGasMixHLLC.
Definition at line 17 of file TestNumericalFluxGasMixHLLC.h.
TestNumericalFluxGasMixHLLC::TestNumericalFluxGasMixHLLC | ( | ) |
Definition at line 24 of file TestNumericalFluxGasMixHLLC.C.
|
protectedinherited |
Adds fluid properties objects needed for testing.
Definition at line 36 of file TestNumericalFluxGasMixBase.C.
Referenced by TestNumericalFluxGasMixBase::TestNumericalFluxGasMixBase().
|
overrideprotectedvirtualinherited |
Computes the conservative solution from the primitive solution.
[in] | W | Primitive solution vector |
[in] | A | Cross-sectional area |
Implements TestNumericalFlux1D.
Definition at line 22 of file TestNumericalFluxGasMixBase.C.
|
overrideprotectedvirtualinherited |
Computes the 1D flux vector from the primitive solution.
[in] | W | Primitive solution vector |
[in] | A | Cross-sectional area |
Implements TestNumericalFlux1D.
Definition at line 29 of file TestNumericalFluxGasMixBase.C.
|
overrideprotectedvirtual |
Creates the flux object to be tested.
Implements TestNumericalFlux1D.
Definition at line 29 of file TestNumericalFluxGasMixHLLC.C.
|
overrideprotectedvirtual |
Gets a vector of primitive solution vectors to use for consistency test.
Implements TestNumericalFlux1D.
Definition at line 77 of file TestNumericalFluxGasMixHLLC.C.
|
overrideprotectedvirtual |
Gets a vector of pairs of primitive solution vectors to use for symmetry test.
Implements TestNumericalFlux1D.
Definition at line 41 of file TestNumericalFluxGasMixHLLC.C.
|
protectedinherited |
Runs the consistency test(s)
Definition at line 60 of file TestNumericalFlux1D.C.
|
protectedinherited |
Runs the symmetry test(s)
Definition at line 19 of file TestNumericalFlux1D.C.
|
protectedinherited |
Fluid properties user object.
Definition at line 39 of file TestNumericalFluxGasMixBase.h.
Referenced by TestNumericalFluxGasMixBase::addFluidProperties(), TestNumericalFluxGasMixBase::computeConservativeSolution(), and TestNumericalFluxGasMixBase::computeFluxFromPrimitive().
|
protectedinherited |
Mixture fluid properties name.
Definition at line 36 of file TestNumericalFluxGasMixBase.h.
Referenced by TestNumericalFluxGasMixBase::addFluidProperties(), and createFluxObject().