Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hll 2 wave improvements #1545

Closed
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c6882c7
Add Classical and Naive HLL 2 Wave solver to classic Hyperbolic PDEs
DanielDoehring Jun 20, 2023
0b74c59
Format Code
DanielDoehring Jun 20, 2023
0288814
HLLE wave speeds for SWE
DanielDoehring Jun 21, 2023
1145f9f
Fix typos
DanielDoehring Jun 21, 2023
3ce5b3b
Update tests for HLL
DanielDoehring Jun 21, 2023
2364017
Unit test 1D MHD HLL, HLLE
DanielDoehring Jun 21, 2023
6c64eba
Add example for classical HLL 2 wave
DanielDoehring Jun 21, 2023
9de6fac
remove plots
DanielDoehring Jun 21, 2023
b10b54d
Use lowercase for flux
DanielDoehring Jun 21, 2023
2c14c35
Use einfeldt for mhd
DanielDoehring Jun 21, 2023
85403b1
Use hlle for mhd tets
DanielDoehring Jun 21, 2023
f068fd0
Missing comma causes failing tests
DanielDoehring Jun 21, 2023
d184578
Correct bug in SWE 2D Roe eigval comp, unit tests
DanielDoehring Jun 22, 2023
047a5e7
format
DanielDoehring Jun 23, 2023
3e5c402
Revert "format"
DanielDoehring Jun 23, 2023
ce72be0
format equations
DanielDoehring Jun 23, 2023
f7b2b1e
Add unit tests for HLL naive
DanielDoehring Jun 24, 2023
f1e7f5b
Revert default hll flux
DanielDoehring Jul 3, 2023
5a03dfa
Rename min_max_speed to min_max_speed_davis and reduce documentation
DanielDoehring Jul 4, 2023
36e9c5e
Merge branch 'main' into HLL_2_Wave_Improvements
ranocha Jul 5, 2023
7cfc22c
Update src/equations/shallow_water_1d.jl: Comments
DanielDoehring Jul 6, 2023
ef6d070
Add published resource for Roe averages for SWE
DanielDoehring Jul 6, 2023
c079f2c
Merge branch 'HLL_2_Wave_Improvements' of github.com:DanielDoehring/T…
DanielDoehring Jul 6, 2023
f741306
Add tests for rotation
DanielDoehring Jul 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/dgmulti_1d/elixir_euler_fdsbp_periodic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Trixi, OrdinaryDiffEq
dg = DGMulti(element_type = Line(),
approximation_type = periodic_derivative_operator(
derivative_order=1, accuracy_order=4, xmin=0.0, xmax=1.0, N=50),
surface_flux = flux_hll,
surface_flux = FluxHLL(min_max_speed_naive),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations1D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_2d/elixir_euler_bilinear.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Quad(), approximation_type = SBP(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralFluxDifferencing(flux_ranocha))

equations = CompressibleEulerEquations2D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_2d/elixir_euler_curved.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Quad(), approximation_type = SBP(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralFluxDifferencing(flux_ranocha))

equations = CompressibleEulerEquations2D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_2d/elixir_euler_fdsbp_periodic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Trixi, OrdinaryDiffEq
dg = DGMulti(element_type = Quad(),
approximation_type = periodic_derivative_operator(
derivative_order=1, accuracy_order=4, xmin=0.0, xmax=1.0, N=50),
surface_flux = flux_hll,
surface_flux = FluxHLL(min_max_speed_naive),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations2D(1.4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ end

# numerical parameters
dg = DGMulti(polydeg = 3, element_type = Quad(), approximation_type = Polynomial(),
surface_integral = SurfaceIntegralWeakForm(flux_hll),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralFluxDifferencing(flux_ranocha))

num_elements = 16
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_2d/elixir_euler_triangulate_pkg_mesh.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Tri(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations2D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_2d/elixir_euler_weakform.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Tri(), approximation_type = Polynomial(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations2D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_2d/elixir_euler_weakform_periodic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Tri(), approximation_type = Polynomial(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations2D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_3d/elixir_euler_curved.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Hex(), approximation_type=SBP(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralFluxDifferencing(flux_ranocha))

equations = CompressibleEulerEquations3D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_3d/elixir_euler_weakform.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Tet(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations3D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_3d/elixir_euler_weakform_periodic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Tet(), approximation_type = Polynomial(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(FluxHLL(min_max_speed_naive)),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations3D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/p4est_2d_dgsem/elixir_eulergravity_convergence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gamma = 2.0
equations_euler = CompressibleEulerEquations2D(gamma)

polydeg = 3
solver_euler = DGSEM(polydeg, flux_hll)
solver_euler = DGSEM(polydeg, FluxHLL(min_max_speed_naive))

coordinates_min = (0.0, 0.0)
coordinates_max = (2.0, 2.0)
Expand Down
2 changes: 1 addition & 1 deletion examples/p4est_2d_dgsem/elixir_mhd_alfven_wave.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ initial_condition = initial_condition_convergence_test

# Get the DG approximation space
volume_flux = (flux_central, flux_nonconservative_powell)
solver = DGSEM(polydeg=4, surface_flux=(flux_hll, flux_nonconservative_powell),
solver = DGSEM(polydeg=4, surface_flux=(FluxHLL(min_max_speed_einfeldt), flux_nonconservative_powell),
volume_integral=VolumeIntegralFluxDifferencing(volume_flux))

coordinates_min = (0.0 , 0.0 )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ boundary_conditions = Dict(
:outside => boundary_condition
)

surface_flux = flux_hll
surface_flux = FluxHLL(min_max_speed_naive)
# Note that a free stream is not preserved if N < 2 * N_geo, where N is the
# polydeg of the solver and N_geo is the polydeg of the mesh.
# However, the FSP error is negligible in this example.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ equations = IdealGlmMhdEquations3D(5/3)
initial_condition = initial_condition_convergence_test

volume_flux = (flux_hindenlang_gassner, flux_nonconservative_powell)
solver = DGSEM(polydeg=3, surface_flux=(flux_hll, flux_nonconservative_powell),
solver = DGSEM(polydeg=3, surface_flux=(FluxHLL(min_max_speed_einfeldt), flux_nonconservative_powell),
volume_integral=VolumeIntegralFluxDifferencing(volume_flux))

coordinates_min = (-1.0, -1.0, -1.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ equations = CompressibleEulerEquations2D(2.0)

initial_condition = initial_condition_eoc_test_coupled_euler_gravity

solver = DGSEM(polydeg=3, surface_flux=flux_hll)
solver = DGSEM(polydeg=3, surface_flux=FluxHLL(min_max_speed_naive))

coordinates_min = (0.0, 0.0)
coordinates_max = (2.0, 2.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gamma = 2.0
equations_euler = CompressibleEulerEquations2D(gamma)

polydeg = 3
solver_euler = DGSEM(polydeg, flux_hll)
solver_euler = DGSEM(polydeg, FluxHLL(min_max_speed_naive))

coordinates_min = (0.0, 0.0)
coordinates_max = (2.0, 2.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ gamma = 5/3
equations_euler = CompressibleEulerEquations2D(gamma)

polydeg = 3
solver_euler = DGSEM(polydeg, flux_hll)
solver_euler = DGSEM(polydeg, FluxHLL(min_max_speed_naive))

coordinates_min = (0.0, 0.0)
coordinates_max = (1.0, 1.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function boundary_condition_sedov_self_gravity(u_inner, orientation, direction,
end
boundary_conditions = boundary_condition_sedov_self_gravity

surface_flux = flux_hll
surface_flux = FluxHLL(min_max_speed_naive)
volume_flux = flux_chandrashekar
polydeg = 3
basis = LobattoLegendreBasis(polydeg)
Expand Down
93 changes: 93 additions & 0 deletions examples/structured_1d_dgsem/elixir_euler_sedov_hll.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@

using OrdinaryDiffEq
using Trixi

###############################################################################
# semidiscretization of the compressible Euler equations

equations = CompressibleEulerEquations1D(1.4)

"""
initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations1D)

The Sedov blast wave setup based on Flash
- http://flash.uchicago.edu/site/flashcode/user_support/flash_ug_devel/node184.html#SECTION010114000000000000000
"""
function initial_condition_sedov_blast_wave(x, t, equations::CompressibleEulerEquations1D)
# Set up polar coordinates
inicenter = SVector(0.0)
x_norm = x[1] - inicenter[1]
r = abs(x_norm)

# Setup based on http://flash.uchicago.edu/site/flashcode/user_support/flash_ug_devel/node184.html#SECTION010114000000000000000
r0 = 0.21875 # = 3.5 * smallest dx (for domain length=4 and max-ref=6)
# r0 = 0.5 # = more reasonable setup
E = 1.0
p0_inner = 6 * (equations.gamma - 1) * E / (3 * pi * r0)
p0_outer = 1.0e-5 # = true Sedov setup

# Calculate primitive variables
rho = 1.0
v1 = 0.0
p = r > r0 ? p0_outer : p0_inner

return prim2cons(SVector(rho, v1, p), equations)
end

initial_condition = initial_condition_sedov_blast_wave
surface_flux = flux_hll
volume_flux = flux_ranocha
basis = LobattoLegendreBasis(3)
shock_indicator_variable = density_pressure
indicator_sc = IndicatorHennemannGassner(equations, basis,
alpha_max=1.0,
alpha_min=0.001,
alpha_smooth=true,
variable=shock_indicator_variable)
volume_integral = VolumeIntegralShockCapturingHG(indicator_sc;
volume_flux_dg=volume_flux,
volume_flux_fv=surface_flux)
solver = DGSEM(basis, surface_flux, volume_integral)

cells_per_dimension = (64,)
coordinates_min = (-2.0,)
coordinates_max = ( 2.0,)
mesh = StructuredMesh(cells_per_dimension, coordinates_min, coordinates_max, periodicity=true)

semi = SemidiscretizationHyperbolic(mesh, equations, initial_condition, solver)


###############################################################################
# ODE solvers, callbacks etc.

tspan = (0.0, 12.5)
ode = semidiscretize(semi, tspan)

summary_callback = SummaryCallback()

analysis_interval = 1000
analysis_callback = AnalysisCallback(semi, interval=analysis_interval)

alive_callback = AliveCallback(analysis_interval=analysis_interval)

save_solution = SaveSolutionCallback(interval=100,
save_initial_solution=true,
save_final_solution=true,
solution_variables=cons2prim)

stepsize_callback = StepsizeCallback(cfl=0.5)

callbacks = CallbackSet(summary_callback,
analysis_callback,
alive_callback,
save_solution,
stepsize_callback)


###############################################################################
# run the simulation

sol = solve(ode, CarpenterKennedy2N54(williamson_condition=false),
dt=stepsize_callback(ode), # solve needs some value here but it will be overwritten by the stepsize_callback
save_everystep=false, callback=callbacks);
summary_callback() # print the timer summary
2 changes: 1 addition & 1 deletion examples/structured_1d_dgsem/elixir_euler_source_terms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ equations = CompressibleEulerEquations1D(1.4)
initial_condition = initial_condition_convergence_test

# Note that the expected EOC of 5 is not reached with this flux.
# Using flux_hll instead yields the expected EOC.
# Using FluxHLL(min_max_speed_naive) instead yields the expected EOC.
solver = DGSEM(polydeg=4, surface_flux=flux_lax_friedrichs)

coordinates_min = (0.0,)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ end

# numerical parameters
volume_flux = flux_ranocha
solver = DGSEM(polydeg=3, surface_flux=flux_hll,
solver = DGSEM(polydeg=3, surface_flux=FluxHLL(min_max_speed_naive),
volume_integral=VolumeIntegralFluxDifferencing(volume_flux))

# The domain is [0, 0.25] x [0, 1]
Expand Down
2 changes: 1 addition & 1 deletion examples/structured_3d_dgsem/elixir_mhd_alfven_wave.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ equations = IdealGlmMhdEquations3D(5/3)
initial_condition = initial_condition_convergence_test

volume_flux = (flux_central, flux_nonconservative_powell)
solver = DGSEM(polydeg=5, surface_flux=(flux_hll, flux_nonconservative_powell),
solver = DGSEM(polydeg=5, surface_flux=(FluxHLL(min_max_speed_einfeldt), flux_nonconservative_powell),
volume_integral=VolumeIntegralFluxDifferencing(volume_flux))

# Create the mesh
Expand Down
2 changes: 1 addition & 1 deletion examples/tree_1d_dgsem/elixir_euler_source_terms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ equations = CompressibleEulerEquations1D(1.4)
initial_condition = initial_condition_convergence_test

# Note that the expected EOC of 5 is not reached with this flux.
# Using flux_hll instead yields the expected EOC.
# Using FluxHLL(min_max_speed_naive) instead yields the expected EOC.
solver = DGSEM(polydeg=4, surface_flux=flux_lax_friedrichs)

coordinates_min = 0.0
Expand Down
2 changes: 1 addition & 1 deletion examples/tree_1d_dgsem/elixir_eulergravity_convergence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ equations_euler = CompressibleEulerEquations1D(gamma)
initial_condition = initial_condition_eoc_test_coupled_euler_gravity

polydeg = 3
solver_euler = DGSEM(polydeg, flux_hll)
solver_euler = DGSEM(polydeg, FluxHLL(min_max_speed_naive))

coordinates_min = 0.0
coordinates_max = 2.0
Expand Down
2 changes: 1 addition & 1 deletion examples/tree_1d_dgsem/elixir_mhd_briowu_shock_tube.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ initial_condition = initial_condition_briowu_shock_tube

boundary_conditions = BoundaryConditionDirichlet(initial_condition)

surface_flux = flux_hll
surface_flux = FluxHLL(min_max_speed_einfeldt)
volume_flux = flux_derigs_etal
basis = LobattoLegendreBasis(4)

Expand Down
2 changes: 1 addition & 1 deletion examples/tree_1d_dgsem/elixir_mhd_ryujones_shock_tube.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ initial_condition = initial_condition_ryujones_shock_tube

boundary_conditions = BoundaryConditionDirichlet(initial_condition)

surface_flux = flux_hll
surface_flux = FluxHLL(min_max_speed_einfeldt)
volume_flux = flux_hindenlang_gassner
basis = LobattoLegendreBasis(3)

Expand Down
2 changes: 1 addition & 1 deletion examples/tree_1d_dgsem/elixir_mhd_shu_osher_shock_tube.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ initial_condition = initial_condition_shu_osher_shock_tube

boundary_conditions = BoundaryConditionDirichlet(initial_condition)

surface_flux = flux_hll
surface_flux = FluxHLL(min_max_speed_einfeldt)
volume_flux = flux_hindenlang_gassner
basis = LobattoLegendreBasis(4)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ boundary_condition = BoundaryConditionDirichlet(initial_condition)
# Get the DG approximation space

volume_flux = (flux_wintermeyer_etal, flux_nonconservative_wintermeyer_etal)
solver = DGSEM(polydeg=4, surface_flux=(flux_hll, flux_nonconservative_fjordholm_etal),
solver = DGSEM(polydeg=4, surface_flux=(FluxHLL(min_max_speed_naive), flux_nonconservative_fjordholm_etal),
volume_integral=VolumeIntegralFluxDifferencing(volume_flux))

###############################################################################
Expand Down
2 changes: 1 addition & 1 deletion examples/tree_2d_dgsem/elixir_mhd_alfven_wave_mortar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ equations = IdealGlmMhdEquations2D(gamma)
initial_condition = initial_condition_convergence_test

volume_flux = (flux_hindenlang_gassner, flux_nonconservative_powell)
solver = DGSEM(polydeg=3, surface_flux=(flux_hll, flux_nonconservative_powell),
solver = DGSEM(polydeg=3, surface_flux=(FluxHLL(min_max_speed_einfeldt), flux_nonconservative_powell),
volume_integral=VolumeIntegralFluxDifferencing(volume_flux))

coordinates_min = (0.0, 0.0)
Expand Down
2 changes: 1 addition & 1 deletion examples/tree_3d_dgsem/elixir_euler_convergence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ equations = CompressibleEulerEquations3D(2.0)

initial_condition = initial_condition_eoc_test_coupled_euler_gravity

solver = DGSEM(polydeg=3, surface_flux=flux_hll,
solver = DGSEM(polydeg=3, surface_flux=FluxHLL(min_max_speed_naive),
volume_integral=VolumeIntegralWeakForm())

coordinates_min = (0.0, 0.0, 0.0)
Expand Down
2 changes: 1 addition & 1 deletion examples/tree_3d_dgsem/elixir_euler_sedov_blast_wave.jl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function boundary_condition_sedov_self_gravity(u_inner, orientation, direction,
end
boundary_conditions = boundary_condition_sedov_self_gravity

surface_flux = flux_hll
surface_flux = FluxHLL(min_max_speed_naive)
volume_flux = flux_ranocha
polydeg = 3
basis = LobattoLegendreBasis(polydeg)
Expand Down
2 changes: 1 addition & 1 deletion examples/tree_3d_dgsem/elixir_eulergravity_convergence.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ equations_euler = CompressibleEulerEquations3D(gamma)
initial_condition = initial_condition_eoc_test_coupled_euler_gravity

polydeg = 3
solver_euler = DGSEM(polydeg, flux_hll)
solver_euler = DGSEM(polydeg, FluxHLL(min_max_speed_naive))

coordinates_min = (0.0, 0.0, 0.0)
coordinates_max = (2.0, 2.0, 2.0)
Expand Down
2 changes: 1 addition & 1 deletion examples/tree_3d_dgsem/elixir_mhd_alfven_wave_mortar.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ equations = IdealGlmMhdEquations3D(5/3)
initial_condition = initial_condition_convergence_test

volume_flux = (flux_hindenlang_gassner, flux_nonconservative_powell)
solver = DGSEM(polydeg=3, surface_flux=(flux_hll, flux_nonconservative_powell),
solver = DGSEM(polydeg=3, surface_flux=(FluxHLL(min_max_speed_einfeldt), flux_nonconservative_powell),
volume_integral=VolumeIntegralFluxDifferencing(volume_flux))

coordinates_min = (-1.0, -1.0, -1.0)
Expand Down
Loading