Tests NumericalFlux3EqnHLLC. More...
#include <TestNumericalFlux3EqnHLLC.h>
Public Member Functions | |
TestNumericalFlux3EqnHLLC () | |
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... | |
const SinglePhaseFluidProperties & | getFluidPropertiesObject () |
Builds and gets the fluid properties user object. 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_name |
Fluid properties user object name. More... | |
const SinglePhaseFluidProperties & | _fp |
Fluid properties user object. More... | |
std::unique_ptr< MooseMesh > | _mesh |
std::shared_ptr< MooseApp > | _app |
Factory & | _factory |
std::shared_ptr< FEProblem > | _fe_problem |
Tests NumericalFlux3EqnHLLC.
Definition at line 17 of file TestNumericalFlux3EqnHLLC.h.
TestNumericalFlux3EqnHLLC::TestNumericalFlux3EqnHLLC | ( | ) |
Definition at line 17 of file TestNumericalFlux3EqnHLLC.C.
|
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 TestNumericalFlux3EqnBase.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 TestNumericalFlux3EqnBase.C.
|
overrideprotectedvirtual |
Creates the flux object to be tested.
Implements TestNumericalFlux1D.
Definition at line 22 of file TestNumericalFlux3EqnHLLC.C.
|
protectedinherited |
Builds and gets the fluid properties user object.
Definition at line 36 of file TestNumericalFlux3EqnBase.C.
|
overrideprotectedvirtual |
Gets a vector of primitive solution vectors to use for consistency test.
Implements TestNumericalFlux1D.
Definition at line 65 of file TestNumericalFlux3EqnHLLC.C.
|
overrideprotectedvirtual |
Gets a vector of pairs of primitive solution vectors to use for symmetry test.
Implements TestNumericalFlux1D.
Definition at line 33 of file TestNumericalFlux3EqnHLLC.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 38 of file TestNumericalFlux3EqnBase.h.
Referenced by TestNumericalFlux3EqnBase::computeConservativeSolution(), and TestNumericalFlux3EqnBase::computeFluxFromPrimitive().
|
protectedinherited |
Fluid properties user object name.
Definition at line 36 of file TestNumericalFlux3EqnBase.h.
Referenced by TestNumericalFlux3EqnCentered::createFluxObject(), createFluxObject(), and TestNumericalFlux3EqnBase::getFluidPropertiesObject().