Closed donovan97 closed 2 years ago
Added @cpethrick since she is currently getting up to speed to FlowSolver.
Also will be adding @MayaTatarelli after the invitation to collab has been accepted since she might be running more aerodynamic cases this summer.
Even though they might both not be familiar with the current structure, it's a good opportunity to get exposure on his side of the code.
Looks great, just a few comments to address. Very useful PR, this is the first aerodynamic case added to the FlowSolver. General comment, since this is now packaged within the FlowSolver class, we could significantly simplify existing tests like
src/testing/euler_naca0012.cpp
etc by doing something likeflow_solver = create_FlowSolver
inside then doingflow_solver->run_test()
; similar to how its done insrc/testing/taylor_green_vortex_energy_check.cpp
and insrc/testing/taylor_green_vortex_restart_check.cpp
with the parameter objects; consider opening an issue for this, listing all the relevantsrc/testing/
files that can be simplified
Sure, I'll open an issue once we merge to master.
Looks good to me. Comments I left are prime examples of issues arising from my past self leaving dead code which causes further confusion.
I think we've got enough eyes on this small PR.
Reviewers can resolve their comment when satisfied. @MayaTatarelli , feel free to press "Squash and merge" whenever you're happy with it.
Pull request to add NACA0012 case to
FlowSolver
.Main change outside of FlowSolver and related classes is in initial_condition.cpp, to replace nstate variable by a template parameter so that the initial conditions factory is compatible with FreeStreamInitialConditions.
I have also reverted the max refinements to 10, as all the Burger Rewienski tests require this and would currently be failing in the master branch.