23 const std::string class_name =
"NumericalFluxGasMixHLLC";
24 const std::string flux_mix_name =
"flux_mix";
27 _fe_problem->addUserObject(class_name, flux_mix_name, params);
32std::vector<std::pair<std::vector<ADReal>, std::vector<ADReal>>>
61 std::vector<std::pair<std::vector<ADReal>, std::vector<ADReal>>> W_pairs;
62 W_pairs.push_back(std::pair<std::vector<ADReal>, std::vector<ADReal>>(W1, W2));
63 W_pairs.push_back(std::pair<std::vector<ADReal>, std::vector<ADReal>>(W3, W4));
68std::vector<std::vector<ADReal>>
77 std::vector<std::vector<ADReal>> W_list;
TEST_F(TestNumericalFluxGasMixHLLC, testSymmetry)
InputParameters getValidParams(const std::string &name) const
std::shared_ptr< FEProblem > _fe_problem
Abstract base class for computing and caching internal or boundary fluxes for 1D conservation law sys...
Computes the numerical flux for FlowModelGasMix using the HLLC approximate Riemann solver.
Base class for testing NumericalFluxGasMix objects.
const UserObjectName _fp_mix_name
Mixture fluid properties name.
Tests NumericalFluxGasMixHLLC.
virtual std::vector< std::vector< ADReal > > getPrimitiveSolutionsConsistencyTest() const override
Gets a vector of primitive solution vectors to use for consistency test.
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.
virtual const NumericalFlux1D & createFluxObject() override
Creates the flux object to be tested.
TestNumericalFluxGasMixHLLC()
static const unsigned int N_PRIM_VARS