-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add Roe dissipation for SWE #73
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #73 +/- ##
==========================================
+ Coverage 99.28% 99.30% +0.01%
==========================================
Files 60 60
Lines 2652 2716 +64
==========================================
+ Hits 2633 2697 +64
Misses 19 19 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Convergence results for Convergence results for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, the new dissipation terms look good. I added some references to the docstrings.
dissipation_roe(u_ll, u_rr, orientation_or_normal_direction, | ||
equations::ShallowWaterEquationsWetDry1D) | ||
Roe-type dissipation term for the [`ShallowWaterEquationsWetDry1D`](@ref). To create the classical Roe solver, | ||
this dissipation term can be combined with [`Trixi.flux_central`](@extref) using [`Trixi.FluxPlusDissipation`](@extref). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this dissipation term can be combined with [`Trixi.flux_central`](@extref) using [`Trixi.FluxPlusDissipation`](@extref). | |
this dissipation term can be combined with [`Trixi.flux_central`](@extref) using [`Trixi.FluxPlusDissipation`](@extref). | |
For details on the Roe linearization see Chapter 15.3.2 and Chapter 15.3.3 for the one-dimensional | |
shallow water equations of the book: | |
- Randall J. LeVeque (2002) | |
Finite Volume Methods for Hyperbolic Problems | |
[DOI: 10.1017/CBO9780511791253](https://doi.org/10.1017/CBO9780511791253) |
dissipation_roe(u_ll, u_rr, orientation_or_normal_direction, | ||
equations::ShallowWaterEquationsWetDry2D) | ||
Roe-type dissipation term for the [`ShallowWaterEquationsWetDry2D`](@ref). To create the classical Roe solver, | ||
this dissipation term can be combined with [`Trixi.flux_central`](@extref) using [`Trixi.FluxPlusDissipation`](@extref). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this dissipation term can be combined with [`Trixi.flux_central`](@extref) using [`Trixi.FluxPlusDissipation`](@extref). | |
this dissipation term can be combined with [`Trixi.flux_central`](@extref) using [`Trixi.FluxPlusDissipation`](@extref). | |
For details on the Roe linearization see Chapter 15.3.2 and Chapter 21.7 for the two-dimensional | |
shallow water equations of the book: | |
- Randall J. LeVeque (2002) | |
Finite Volume Methods for Hyperbolic Problems | |
[DOI: 10.1017/CBO9780511791253](https://doi.org/10.1017/CBO9780511791253) |
This PR adds a Roe dissipation term for the
ShallowWaterEquationsWetDry1D
andShallowWaterEquationsWetDry2D
. The dissipation term can be combined usingFlusPlusDissipation(flux_central, dissipation_roe)
to obtain the classical Roe flux.