3 #include <deal.II/grid/grid_refinement.h> 4 #include "physics/manufactured_solution.h" 5 #include "euler_naca0012.hpp" 6 #include "flow_solver/flow_solver_factory.h" 12 template <
int dim,
int nstate>
14 const dealii::ParameterHandler ¶meter_handler_input)
17 , parameter_handler(parameter_handler_input)
20 template<
int dim,
int nstate>
30 for (
unsigned int poly_degree = p_start; poly_degree <= p_end; ++poly_degree) {
31 for (
unsigned int igrid=0; igrid<n_grids_input; ++igrid) {
unsigned int degree_start
First polynomial degree to start the loop. If diffusion, must be at least 1.
FlowSolverParam flow_solver_param
Contains the parameters for simulation cases (flow solver test)
unsigned int degree_end
Last polynomial degree to loop.
Files for the baseline physics.
Performs grid convergence for various polynomial degrees.
unsigned int poly_degree
Polynomial order (P) of the basis functions for DG.
Main parameter class that contains the various other sub-parameter classes.
ManufacturedConvergenceStudyParam manufactured_convergence_study_param
Contains parameters for manufactured convergence study.
static std::unique_ptr< FlowSolver< dim, nstate > > select_flow_case(const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler ¶meter_handler_input)
Factory to return the correct flow solver given input file.
const Parameters::AllParameters *const all_parameters
Pointer to all parameters.
int number_of_mesh_refinements
Number of refinements for naca0012 and Gaussian bump based cases.
const dealii::ParameterHandler & parameter_handler
Parameter handler for storing the .prm file being ran.
unsigned int max_poly_degree_for_adaptation
Maximum polynomial order of the DG basis functions for adaptation.
Base class of all the tests.
int run_test() const
Grid convergence on Euler Gaussian Bump.
unsigned int number_of_grids
Number of grid in the grid study.
EulerNACA0012()=delete
Constructor. Deleted the default constructor since it should not be used.