Skip to content

Commit 0a7ed45

Browse files
Merge branch 'main' into more-trixitest
2 parents 428968c + 1c6a5a0 commit 0a7ed45

File tree

39 files changed

+417
-62
lines changed

39 files changed

+417
-62
lines changed

CITATION.bib

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@misc{winters2025trixi,
2+
title={{TrixiShallowWater.jl}: {S}hallow water simulations with {T}rixi.jl},
3+
author={Winters, Andrew R and Ersing, Patrick and Ranocha, Hendrik and Schlottke-Lakemper, Michael},
4+
year={2025},
5+
howpublished={\url{https://github.com/trixi-framework/TrixiShallowWater.jl}},
6+
doi={10.5281/zenodo.15206520}
7+
}

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ Printf = "1"
1919
Roots = "2.1.6"
2020
Static = "1.1.1"
2121
StaticArrays = "1.9"
22-
Trixi = "0.12"
23-
julia = "1.10"
22+
Trixi = "0.13"
23+
julia = "1.10"

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,19 @@ clone Trixi.jl, can be found in the
8585
[Development section](https://trixi-framework.github.io/TrixiShallowWater.jl/stable/development/)
8686
of the documentation.
8787

88+
## Referencing
89+
You can directly refer to TrixiShallowWater.jl as
90+
91+
```bibtex
92+
@misc{winters2025trixi,
93+
title={{TrixiShallowWater.jl}: {S}hallow water simulations with {T}rixi.jl},
94+
author={Winters, Andrew R and Ersing, Patrick and Ranocha, Hendrik and Schlottke-Lakemper, Michael},
95+
year={2025},
96+
howpublished={\url{https://github.com/trixi-framework/TrixiShallowWater.jl}},
97+
doi={10.5281/zenodo.15206520}
98+
}
99+
```
100+
88101
## Authors
89102
TrixiShallowWater.jl is maintained by the
90103
[Trixi authors](https://github.com/trixi-framework/Trixi.jl/blob/main/AUTHORS.md).
@@ -110,4 +123,4 @@ or [create an issue](https://github.com/trixi-framework/TrixiShallowWater.jl/iss
110123
This project has benefited from funding from [Vetenskapsrådet](https://www.vr.se)
111124
(VR, Swedish Research Council), Sweden
112125
through the VR Starting Grant "Shallow water flows including sediment transport and morphodynamics",
113-
VR grant agreement 2020-03642 VR.
126+
VR grant agreement 2020-03642 VR.

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ HOHQMesh = "0.2"
2525
Literate = "2.20"
2626
OrdinaryDiffEqLowStorageRK = "1.3"
2727
OrdinaryDiffEqSSPRK = "1.2"
28-
Trixi = "0.12"
28+
Trixi = "0.13"
2929
Trixi2Vtk = "0.3.16"
3030
TrixiBottomTopography = "0.1"

docs/src/index.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,19 @@ julia> using Pkg
5353
julia> Pkg.add(["Trixi", "Trixi2Vtk", "OrdinaryDiffEqLowStorageRK", "OrdinaryDiffEqSSPRK", "Plots"])
5454
```
5555

56+
## Referencing
57+
You can directly refer to TrixiShallowWater.jl as
58+
59+
```bibtex
60+
@misc{winters2025trixi,
61+
title={{TrixiShallowWater.jl}: {S}hallow water simulations with {T}rixi.jl},
62+
author={Winters, Andrew R and Ersing, Patrick and Ranocha, Hendrik and Schlottke-Lakemper, Michael},
63+
year={2025},
64+
howpublished={\url{https://github.com/trixi-framework/TrixiShallowWater.jl}},
65+
doi={10.5281/zenodo.15206520}
66+
}
67+
```
68+
5669
## Authors
5770
TrixiShallowWater.jl is maintained by the
5871
[Trixi authors](https://github.com/trixi-framework/Trixi.jl/blob/main/AUTHORS.md).
@@ -80,4 +93,4 @@ or [create an issue](https://github.com/trixi-framework/TrixiShallowWater.jl/iss
8093
This project has benefited from funding from [Vetenskapsrådet](https://www.vr.se)
8194
(VR, Swedish Research Council), Sweden
8295
through the VR Starting Grant "Shallow water flows including sediment transport and morphodynamics",
83-
VR grant agreement 2020-03642 VR.
96+
VR grant agreement 2020-03642 VR.

examples/dgmulti_1d/elixir_shallow_water_quasi_1d.jl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,15 @@ equations = ShallowWaterEquationsQuasi1D(gravity = 9.81)
1111
initial_condition = initial_condition_convergence_test
1212

1313
volume_flux = (flux_chan_etal, flux_nonconservative_chan_etal)
14-
surface_flux = (FluxPlusDissipation(flux_chan_etal, DissipationLocalLaxFriedrichs()),
14+
# Up to Trixi.jl version 0.13.0, `max_abs_speed_naive` was used as the default wave speed estimate of
15+
# `DissipationLocalLaxFriedrichs(), i.e., `DissipationLocalLaxFriedrichs(max_abs_speed = max_abs_speed_naive)`.
16+
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
17+
# Thus, we exchanged in PR#2458 of Trixi.jl the default wave speed used in the LLF flux and dissipation operator to `max_abs_speed`.
18+
# To ensure that every example still runs we specify explicitly `DissipationLocalLaxFriedrichs(max_abs_speed_naive)`.
19+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
20+
# `StepsizeCallback` (CFL-Condition) and less diffusion.
21+
surface_flux = (FluxPlusDissipation(flux_chan_etal,
22+
DissipationLocalLaxFriedrichs(max_abs_speed_naive)),
1523
flux_nonconservative_chan_etal)
1624

1725
dg = DGMulti(polydeg = 4, element_type = Line(), approximation_type = SBP(),

examples/dgmulti_2d/elixir_shallowwater_source_terms.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ equations = ShallowWaterEquations2D(gravity = 9.81)
1010
initial_condition = initial_condition_convergence_test
1111

1212
volume_flux = (flux_wintermeyer_etal, flux_nonconservative_wintermeyer_etal)
13-
surface_flux = (flux_lax_friedrichs, flux_nonconservative_fjordholm_etal)
13+
# Up to Trixi.jl version 0.13.0, `max_abs_speed_naive` was used as the default wave speed estimate of
14+
# `const flux_lax_friedrichs = FluxLaxFriedrichs(), i.e., `FluxLaxFriedrichs(max_abs_speed = max_abs_speed_naive)`.
15+
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
16+
# Thus, we exchanged in PR#2458 of Trixi.jl the default wave speed used in the LLF flux to `max_abs_speed`.
17+
# To ensure that every example still runs we specify explicitly `FluxLaxFriedrichs(max_abs_speed_naive)`.
18+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
19+
# `StepsizeCallback` (CFL-Condition) and less diffusion.
20+
surface_flux = (FluxLaxFriedrichs(max_abs_speed_naive), flux_nonconservative_fjordholm_etal)
1421
dg = DGMulti(polydeg = 3, element_type = Quad(), approximation_type = SBP(),
1522
surface_integral = SurfaceIntegralWeakForm(surface_flux),
1623
volume_integral = VolumeIntegralFluxDifferencing(volume_flux))

examples/p4est_2d_dgsem/elixir_shallowwater_multilayer_monai_flood_amr.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,15 @@ end
142142

143143
volume_flux = (flux_ersing_etal, flux_nonconservative_ersing_etal)
144144

145+
# Up to Trixi.jl version 0.13.0, `max_abs_speed_naive` was used as the default wave speed estimate of
146+
# `DissipationLocalLaxFriedrichs(), i.e., `DissipationLocalLaxFriedrichs(max_abs_speed = max_abs_speed_naive)`.
147+
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
148+
# Thus, we exchanged in PR#2458 of Trixi.jl the default wave speed used in the LLF flux and dissipation operator to `max_abs_speed`.
149+
# To ensure that every example still runs we specify explicitly `DissipationLocalLaxFriedrichs(max_abs_speed_naive)`.
150+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
151+
# `StepsizeCallback` (CFL-Condition) and less diffusion.
145152
surface_flux = (FluxHydrostaticReconstruction(FluxPlusDissipation(flux_ersing_etal,
146-
DissipationLocalLaxFriedrichs()),
153+
DissipationLocalLaxFriedrichs(max_abs_speed_naive)),
147154
hydrostatic_reconstruction_ersing_etal),
148155
FluxHydrostaticReconstruction(flux_nonconservative_ersing_etal,
149156
hydrostatic_reconstruction_ersing_etal))

examples/p4est_2d_dgsem/elixir_shallowwater_multilayer_perturbation_wet_dry_amr.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,15 @@ boundary_condition = Dict(:all => boundary_condition_slip_wall)
5555

5656
volume_flux = (flux_ersing_etal, flux_nonconservative_ersing_etal)
5757

58+
# Up to Trixi.jl version 0.13.0, `max_abs_speed_naive` was used as the default wave speed estimate of
59+
# `DissipationLocalLaxFriedrichs(), i.e., `DissipationLocalLaxFriedrichs(max_abs_speed = max_abs_speed_naive)`.
60+
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
61+
# Thus, we exchanged in PR#2458 of Trixi.jl the default wave speed used in the LLF flux and dissipation operator to `max_abs_speed`.
62+
# To ensure that every example still runs we specify explicitly `DissipationLocalLaxFriedrichs(max_abs_speed_naive)`.
63+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
64+
# `StepsizeCallback` (CFL-Condition) and less diffusion.
5865
surface_flux = (FluxHydrostaticReconstruction(FluxPlusDissipation(flux_ersing_etal,
59-
DissipationLocalLaxFriedrichs()),
66+
DissipationLocalLaxFriedrichs(max_abs_speed_naive)),
6067
hydrostatic_reconstruction_ersing_etal),
6168
FluxHydrostaticReconstruction(flux_nonconservative_ersing_etal,
6269
hydrostatic_reconstruction_ersing_etal))

examples/p4est_2d_dgsem/elixir_shallowwater_multilayer_three_mound_dam_break_amr.jl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,15 @@ boundary_conditions = Dict(:Bottom => boundary_condition_slip_wall,
9090

9191
volume_flux = (flux_ersing_etal, flux_nonconservative_ersing_etal)
9292

93+
# Up to Trixi.jl version 0.13.0, `max_abs_speed_naive` was used as the default wave speed estimate of
94+
# `DissipationLocalLaxFriedrichs(), i.e., `DissipationLocalLaxFriedrichs(max_abs_speed = max_abs_speed_naive)`.
95+
# In the `StepsizeCallback`, though, the less diffusive `max_abs_speeds` is employed which is consistent with `max_abs_speed`.
96+
# Thus, we exchanged in PR#2458 of Trixi.jl the default wave speed used in the LLF flux and dissipation operator to `max_abs_speed`.
97+
# To ensure that every example still runs we specify explicitly `DissipationLocalLaxFriedrichs(max_abs_speed_naive)`.
98+
# We remark, however, that the now default `max_abs_speed` is in general recommended due to compliance with the
99+
# `StepsizeCallback` (CFL-Condition) and less diffusion.
93100
surface_flux = (FluxHydrostaticReconstruction(FluxPlusDissipation(flux_ersing_etal,
94-
DissipationLocalLaxFriedrichs()),
101+
DissipationLocalLaxFriedrichs(max_abs_speed_naive)),
95102
hydrostatic_reconstruction_ersing_etal),
96103
FluxHydrostaticReconstruction(flux_nonconservative_ersing_etal,
97104
hydrostatic_reconstruction_ersing_etal))

0 commit comments

Comments
 (0)