1 #ifndef __MULTISPECIES_VORTEX_ADVECTION__ 2 #define __MULTISPECIES_VORTEX_ADVECTION__ 5 #include "dg/dg_base.hpp" 6 #include "parameters/all_parameters.h" 7 #include "flow_solver/flow_solver.h" 8 #include "physics/real_gas.h" 16 template <
int dim,
int nspecies,
int nstate>
22 const dealii::ParameterHandler& parameter_handler_input);
38 const int poly_degree,
39 const double final_time,
Selects which flow case to simulate.
Files for the baseline physics.
Class used to run tests that verify implementation of multispecies.
double get_time_step(std::shared_ptr< DGBase< dim, nspecies, double >> dg) const
Function to compute the initial adaptive time step.
Main parameter class that contains the various other sub-parameter classes.
MultispeciesVortexAdvection(const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input)
Constructor.
int run_test() const override
std::array< std::array< double, 3 >, nstate+1 > calculate_l_n_error(std::shared_ptr< DGBase< dim, nspecies, double >> flow_solver_dg, const int poly_degree, const double final_time, std::shared_ptr< FlowSolver::FlowSolver< dim, nspecies, nstate >> flow_solver) const
Calculate and return the L2 Error.
bool high_temp
Flag to determine which exact solution is used.
const dealii::ParameterHandler & parameter_handler
Parameter handler for storing the .prm file being ran.
DGBase is independent of the number of state variables.
std::shared_ptr< Physics::RealGas< dim, nspecies, nstate, double > > real_gas_physics
Real Gas physics pointer for computing physical quantities.
Base class of all the tests.