diff --git a/examples/p4est_2d_dgsem/elixir_euler_NACA0012airfoil_mach085.jl b/examples/p4est_2d_dgsem/elixir_euler_NACA0012airfoil_mach085.jl index b7568296602..24404904ddd 100644 --- a/examples/p4est_2d_dgsem/elixir_euler_NACA0012airfoil_mach085.jl +++ b/examples/p4est_2d_dgsem/elixir_euler_NACA0012airfoil_mach085.jl @@ -123,7 +123,8 @@ amr_callback = AMRCallback(semi, amr_controller, adapt_initial_condition_only_refine = true) callbacks = CallbackSet(summary_callback, analysis_callback, alive_callback, save_solution, - stepsize_callback, amr_callback) + stepsize_callback, amr_callback + ) ############################################################################### # run the simulation diff --git a/examples/p4est_2d_dgsem/elixir_navierstokes_NACA0012airfoil_mach08.jl b/examples/p4est_2d_dgsem/elixir_navierstokes_NACA0012airfoil_mach08.jl index c15133de4e0..56d8ed703cf 100644 --- a/examples/p4est_2d_dgsem/elixir_navierstokes_NACA0012airfoil_mach08.jl +++ b/examples/p4est_2d_dgsem/elixir_navierstokes_NACA0012airfoil_mach08.jl @@ -1,3 +1,13 @@ +# Transonic flow around an airfoil + +# This test is taken from the paper below. The values from Case 5 in Table 3 are used to validate +# the scheme and computation of surface forces. + +# - Roy Charles Swanson, Stefan Langer (2016) +# Structured and Unstructured Grid Methods (2016) +# [https://ntrs.nasa.gov/citations/20160003623] (https://ntrs.nasa.gov/citations/20160003623) + + using Downloads: download using OrdinaryDiffEq using Trixi @@ -133,7 +143,7 @@ callbacks = CallbackSet(summary_callback, analysis_callback, alive_callback, sav ############################################################################### # run the simulation -time_int_tol = 1e-11 +time_int_tol = 1e-8 sol = solve(ode, RDPK3SpFSAL49(); abstol = time_int_tol, reltol = time_int_tol, ode_default_options()..., callback = callbacks) summary_callback() # print the timer summary diff --git a/test/test_parabolic_2d.jl b/test/test_parabolic_2d.jl index af89becce59..d41b46aaef2 100644 --- a/test/test_parabolic_2d.jl +++ b/test/test_parabolic_2d.jl @@ -635,16 +635,16 @@ end end @trixi_testset "elixir_navierstokes_NACA0012airfoil_mach08.jl" begin - @test_trixi_include(joinpath(EXAMPLES_DIR, + @test_trixi_include(joinpath(examples_dir(), "p4est_2d_dgsem", "elixir_navierstokes_NACA0012airfoil_mach08.jl"), - l2=[0.00018648657393597384, - 0.0005076712152849281, - 0.00038074587715240566, - 0.0021281773710793315], - linf=[0.5153387749819276, - 1.1993620992082363, - 0.9077214408394708, - 5.666071686983816], tspan=(0.0, 0.001), + l2=[0.000186486564226516, + 0.0005076712323400374, + 0.00038074588984354107, + 0.002128177239782089], + linf=[0.5153387072802718, + 1.199362305026636, + 0.9077214424040279, + 5.666071182328691], tspan=(0.0, 0.001), initial_refinement_level=0) end end