1 #ifndef __PARAMETERS_FLOW_SOLVER_H__ 2 #define __PARAMETERS_FLOW_SOLVER_H__ 4 #include <deal.II/base/parameter_handler.h> 5 #include "parameters/parameters.h" 19 decaying_homogeneous_isotropic_turbulence,
20 burgers_viscous_snapshot,
22 burgers_rewienski_snapshot,
30 kelvin_helmholtz_instability,
31 dipole_wall_collision_normal,
32 dipole_wall_collision_oblique,
33 non_periodic_cube_flow,
40 double_mach_reflection,
43 strong_vortex_shock_wave,
45 multi_species_vortex_advection,
46 multi_species_vortex_advection_high_temp,
47 multi_species_sod_shock_tube,
48 multi_species_isentropic_vortex,
49 multi_species_taylor_green_vortex_smooth,
50 multi_species_taylor_green_vortex_sharp
176 carton_de_wiart_et_al,
177 uniform_mesh_no_stretching,
215 interpolate_initial_condition_function,
216 project_initial_condition_function,
217 read_values_from_file_and_project
bool do_compute_Reynolds_stress
Flag for computing time-averaged Reynolds stresses.
int number_of_subdivisions_in_y_direction
Number of subdivisions in y direction for gaussian bump case.
int y_periodic_id_face_2
Custom Boundary IDs for the second periodic face in the y-direction.
FlowCaseType
Selects the flow case to be simulated.
double channel_length
Width of channel for gaussian bump case.
double final_time
Final solution time.
int y_periodic_id_face_1
Custom Boundary IDs for the first periodic face in the y-direction.
double expected_average_wall_shear_stress_at_final_time
double output_restart_files_every_dt_time_intervals
Outputs the restart files at time intervals of dt.
bool error_adaptive_time_step
Computes time step based on error.
int x_periodic_id_face_1
Custom Boundary IDs for the first periodic face in the x-direction.
bool check_nonphysical_flow_case_behavior
For TGV, flag to check if non-physical case dependant behaviour is encounted.
int number_of_subdivisions_in_z_direction
Number of subdivisions in z direction for gaussian bump case.
FlowCaseType flow_case_type
Selected FlowCaseType from the input file.
unsigned int number_of_grid_elements_per_dimension
Number of grid elements per dimension for hyper_cube mesh based cases.
unsigned int number_of_grid_elements_z
Number of subdivisions in z direction for a rectangle grid.
bool steady_state
Flag for solving steady state solution.
int z_periodic_id_face_2
Custom Boundary IDs for the first periodic face in the z-direction.
int turbulent_channel_number_of_cells_z_direction
For channel flow, number of cells in z-direction.
double courant_friedrichs_lewy_number
Courant-Friedrichs-Lewy (CFL) number for constant time step.
bool adaptive_time_step
Flag for computing the time step on the fly.
bool output_vorticity_magnitude_field_in_addition_to_velocity
Flag for outputting vorticity magnitude field in addition to velocity field.
int turbulent_channel_number_of_cells_x_direction
For channel flow, number of cells in x-direction.
bool output_velocity_field_at_fixed_times
Flag for outputting velocity field at fixed times.
double turbulent_channel_domain_length_y_direction
For channel flow, domain length in y-direction.
int z_periodic_id_face_1
Custom Boundary IDs for the first periodic face in the z-direction.
double ESFR_parameter_values_start
For user defined FR parameter tests, value of starting FR param.
unsigned int grid_degree
Parameters related to mesh generation.
double constant_time_step
Constant time step.
TurbulentChannelMeshStretchingFunctionType
For turbulent channel flow, selects the type of mesh stretching function.
double grid_bottom_bound
Minimum y bound of domain for a rectangle grid.
bool restart_computation_from_file
Restart computation from restart file.
XVelocityInitialConditionType
For turbulent channel flow, selects the type of x-velocity initialization.
double turbulent_channel_friction_velocity_reynolds_number
For channel flow, channel Reynolds number based on wall friction velocity.
XVelocityInitialConditionType xvelocity_initial_condition_type
Selected XVelocityInitialConditionType from the input file.
int number_ESFR_parameter_values
For user defined FR parameter tests, number of values to be tested.
double channel_height
Height of channel for gaussian bump case.
double ESFR_parameter_values_end
For user defined FR parameter tests, value of final FR param.
bool use_periodic_BC_in_z
Flag for using periodic boundary conditions in the z-direction.
bool output_restart_files
Output the restart files.
Files for the baseline physics.
void parse_parameters(dealii::ParameterHandler &prm)
Parses input file and sets the variables.
double time_to_start_averaging
Flag for starting time-averaged solution.
unsigned int output_velocity_number_of_subvisions
Number of subdivisions to apply when writting the velocity field at equidistant nodes.
double grid_z_lower_bound
Minimum z bound of domain for a rectangle grid.
double bump_height
Height of gaussian bump.
bool do_compute_angular_momentum
For dipole wall collision, flag to compute angular momentum.
bool mesh_reader_verbose_output
< Flag for verbose (true) or quiet (false) mesh reader output
bool output_viscosity_field_in_addition_to_velocity
Flag for outputting viscosity field in addition to velocity field.
unsigned int poly_degree
Polynomial order (P) of the basis functions for DG.
bool do_calculate_numerical_entropy
For TGV, flag to calculate and write numerical entropy.
bool steady_state_polynomial_ramping
Flag for steady state polynomial ramping.
double grid_z_upper_bound
Maximum z bound of domain for a rectangle grid.
std::string output_velocity_field_times_string
String of velocity field output times.
double grid_left_bound
Left bound of domain for hyper_cube mesh based cases.
double write_unsteady_data_table_file_every_dt_time_intervals
Writes the unsteady data table file at time intervals of dt.
std::string input_flow_setup_filename_prefix
double expected_palinstrophy_at_final_time
double expected_kinetic_energy_at_final_time
double expected_order_at_final_time
For limiter convergence tests, specify expected order at final time.
unsigned int restart_file_index
Index of desired restart file for restarting the computation from.
double expected_enstrophy_at_final_time
Parameters related to the flow solver.
bool do_compute_unsteady_data_and_write_to_table
Flag for computing unsteady data and writting to table.
int output_restart_files_every_x_steps
Outputs the restart files every x steps.
unsigned int number_of_grid_elements_x
Number of subdivisions in x direction for a rectangle grid.
double grid_top_bound
Maximum y bound of domain for a rectangle grid.
double turbulent_channel_domain_length_z_direction
For channel flow, domain length in z-direction.
bool do_compute_time_averaged_solution
Flag for computing time-averaged solution.
bool use_periodic_BC_in_y
Flag for using periodic boundary conditions in the y-direction.
bool do_use_stretched_mesh
For dipole wall collision, flag to use stretched mesh.
double turbulent_channel_domain_length_x_direction
For channel flow, domain length in x-direction.
double expected_theoretical_dissipation_rate_at_final_time
std::string input_mesh_filename
bool end_exactly_at_final_time
Flag to adjust the last timestep such that the simulation ends exactly at final_time.
int number_of_mesh_refinements
Number of refinements for naca0012 and Gaussian bump based cases.
bool use_gmsh_mesh
< Flag for using input mesh file
int turbulent_channel_number_of_cells_y_direction
For channel flow, number of cells in y-direction.
ApplyInitialConditionMethod
Selects the method for applying the initial condition.
unsigned int number_of_times_to_output_velocity_field
Number of fixed times to output the velocity field.
unsigned int number_of_grid_elements_y
Number of subdivisions in y direction for a rectangle grid.
std::string unsteady_data_table_filename
double atwood_number
For KHI, the atwood number.
TurbulentChannelMeshStretchingFunctionType turbulent_channel_mesh_stretching_function_type
Selected DensityInitialConditionType from the input file.
double time_to_start_computing_Reynolds_stress
Flag for starting to compute Reynolds stresses. This needs to be after the time-averaging has started...
double relaxation_coefficient_for_turbulent_channel_flow_source_term
For channel flow, relaxation coefficient for the source term.
int x_periodic_id_face_2
Custom Boundary IDs for the second periodic face in the x-direction.
DensityInitialConditionType
For taylor green vortex, selects the type of density initialization.
static void declare_parameters(dealii::ParameterHandler &prm)
Declares the possible variables and sets the defaults.
double grid_right_bound
Right bound of domain for hyper_cube mesh based cases.
bool output_density_field_in_addition_to_velocity
Flag for outputting density field in addition to velocity field.
int number_of_subdivisions_in_x_direction
Number of subdivisions in x direction for gaussian bump case.
std::string restart_files_directory_name
Name of directory for writing and reading restart files.
std::string sensitivity_table_filename
ApplyInitialConditionMethod apply_initial_condition_method
Selected ApplyInitialConditionMethod from the input file.
double expected_skin_friction_coefficient_at_final_time
unsigned int max_poly_degree_for_adaptation
Maximum polynomial order of the DG basis functions for adaptation.
bool use_periodic_BC_in_x
Flag for using periodic boundary conditions in the x-direction.
DensityInitialConditionType density_initial_condition_type
Selected DensityInitialConditionType from the input file.
std::string output_flow_field_files_directory_name
Name of directory for writing flow field files.