-
Notifications
You must be signed in to change notification settings - Fork 3
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
Shallow water exner equations 1D #51
Shallow water exner equations 1D #51
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #51 +/- ##
==========================================
+ Coverage 99.22% 99.27% +0.05%
==========================================
Files 58 61 +3
Lines 2444 2638 +194
==========================================
+ Hits 2425 2619 +194
Misses 19 19 ☔ View full report in Codecov by Sentry. |
Overall, the EOCs look very good. One small question. Do we still see an odd/even effect when using the EC fluxes. That is, can you run with |
Yes, there is some odd-even effect visible. Here are results for EC + Grass with and |
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 already looks very nice! Most of my suggestions are expanding upon the docstrings.
One question: What would be the modifications necessary to handle wetting / drying?
Co-authored-by: Andrew Winters <[email protected]>
@andrewwinters5000 thanks for your review. I like the additional details that you added to the docstrings. I did not look too much into wetting / drying yet, but I suspect that most changes should be similar to the SWE. So we need to switch to FV near dry states, add a hydrostatic reconstruction and a velocity desingularization. |
Okay, we can explore the wetting/drying possibilities in a separate PR and/or open an issue describing what would need done / modified, e.g., thresholds, desingularizing the velocities in the Manning friction, hydrostatic reconstruction etc. For now, the "wet" version of the SW-Exner is mergable to |
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.
Very nice work @patrickersing ! Everything looks good from my side.
This PR implements the shallow water equations coupled with the exner model for sediment transport in 1D.
The implementation uses a specific formulation with an extra nonconservative term to ensure entropy conservation / stability.
To compute the sediment discharge the Meyer-Peter-Mueller and Grass model are available and the Manning formula is used to compute the shear stress. The implementation of the models is designed to be flexible, so that additional models can be added later on.
For validation there are three elixirs to test for convergence, well-balancedness and entropy conservation.