diff --git a/docs/literate/src/files/p4est_from_gmsh.jl b/docs/literate/src/files/p4est_from_gmsh.jl index 356339cdd47..abfe70eebc4 100644 --- a/docs/literate/src/files/p4est_from_gmsh.jl +++ b/docs/literate/src/files/p4est_from_gmsh.jl @@ -347,8 +347,8 @@ end #hide #md # // labeling of the boundary parts # Physical Line(1) = {4}; // Inflow. Label in Abaqus .inp file: PhysicalLine1 # Physical Line(2) = {2}; // Outflow. Label in Abaqus .inp file: PhysicalLine2 -# Physical Line(3) = {1, 3}; // Airfoil. Label in Abaqus .inp file: PhysicalLine3 -# Physical Line(4) = {5, 6}; //Upper and lower wall/farfield/... Label in Abaqus .inp file: PhysicalLine4 +# Physical Line(3) = {1, 3}; // Upper and lower wall/farfield/... Label in Abaqus .inp file: PhysicalLine3 +# Physical Line(4) = {5, 6}; // Airfoil. Label in Abaqus .inp file: PhysicalLine4 # ``` # which are crucial for the correct assignment of boundary conditions in `Trixi.jl`. # In particular, it is the responsibility of a user to keep track on the physical boundary names between the mesh generation and assignment of boundary condition functions in an elixir. @@ -437,8 +437,8 @@ end #hide #md # # boundary_conditions = Dict(:PhysicalLine1 => boundary_condition_supersonic_inflow, # Left boundary # :PhysicalLine2 => boundary_condition_supersonic_outflow, # Right boundary -# :PhysicalLine3 => boundary_condition_slip_wall, # Airfoil -# :PhysicalLine4 => boundary_condition_supersonic_outflow) # Top and bottom boundary +# :PhysicalLine3 => boundary_condition_supersonic_outflow, # Top and bottom boundary +# :PhysicalLine4 => boundary_condition_slip_wall) # Airfoil # # semi = SemidiscretizationHyperbolic(mesh, equations, initial_condition, solver, # boundary_conditions = boundary_conditions) diff --git a/examples/p4est_2d_dgsem/elixir_euler_NACA6412airfoil_mach2.jl b/examples/p4est_2d_dgsem/elixir_euler_NACA6412airfoil_mach2.jl index 6673053d88f..fcd2ca00e10 100644 --- a/examples/p4est_2d_dgsem/elixir_euler_NACA6412airfoil_mach2.jl +++ b/examples/p4est_2d_dgsem/elixir_euler_NACA6412airfoil_mach2.jl @@ -79,8 +79,8 @@ mesh = P4estMesh{2}(mesh_file, polydeg = polydeg, boundary_symbols = boundary_sy boundary_conditions = Dict(:PhysicalLine1 => boundary_condition_supersonic_inflow, # Left boundary :PhysicalLine2 => boundary_condition_supersonic_outflow, # Right boundary - :PhysicalLine3 => boundary_condition_slip_wall, # Airfoil - :PhysicalLine4 => boundary_condition_supersonic_outflow) # Top and bottom boundary + :PhysicalLine3 => boundary_condition_supersonic_outflow, # Top and bottom boundary + :PhysicalLine4 => boundary_condition_slip_wall) # Airfoil semi = SemidiscretizationHyperbolic(mesh, equations, initial_condition, solver, boundary_conditions = boundary_conditions) diff --git a/test/test_p4est_2d.jl b/test/test_p4est_2d.jl index b034091a175..121001b35ff 100644 --- a/test/test_p4est_2d.jl +++ b/test/test_p4est_2d.jl @@ -394,12 +394,12 @@ end @trixi_testset "elixir_euler_NACA6412airfoil_mach2.jl" begin @test_trixi_include(joinpath(EXAMPLES_DIR, "elixir_euler_NACA6412airfoil_mach2.jl"), l2=[ - 1.9752162683735258e-9, 3.150450205812513e-9, - 1.8885499402935914e-9, 7.273629602920966e-9, + 0.19107654776276498, 0.3545913719444839, + 0.18492730895077583, 0.817927213517244, ], linf=[ - 6.007577890709825e-7, 1.005273289944597e-6, - 5.948514542597182e-7, 2.3111764217986774e-6, + 2.5397624311491946, 2.7075156425517917, 2.200980534211764, + 9.031153939238115, ], tspan=(0.0, 0.1)) # Ensure that we do not have excessive memory allocations