-
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
Add multilayer shallow water equations in 2D #40
Add multilayer shallow water equations in 2D #40
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #40 +/- ##
==========================================
+ Coverage 99.22% 99.26% +0.04%
==========================================
Files 45 50 +5
Lines 1680 2054 +374
==========================================
+ Hits 1667 2039 +372
- Misses 13 15 +2 ☔ View full report in Codecov by Sentry. |
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.
Great work @patrickersing ! It is nice that the 2D version of the multilayer equations came together quite easily.
examples/tree_2d_dgsem/elixir_shallowwater_multilayer_well_balanced.jl
Outdated
Show resolved
Hide resolved
examples/unstructured_2d_dgsem/elixir_shallowwater_multilayer_dam_break.jl
Show resolved
Hide resolved
examples/unstructured_2d_dgsem/elixir_shallowwater_multilayer_well_balanced.jl
Outdated
Show resolved
Hide resolved
I agree that some of the convergence values are strange. The |
Agreed, these are still a bit odd. The final EOC for the odd polynomial degrees is now better (around |
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.
Everything already looks quite good. Just a suggestion about the explicit inclusion o fthe multiplication symbols. This would likely need done in 1D as well.
examples/unstructured_2d_dgsem/elixir_shallowwater_multilayer_dam_break.jl
Outdated
Show resolved
Hide resolved
examples/unstructured_2d_dgsem/elixir_shallowwater_multilayer_dam_break.jl
Outdated
Show resolved
Hide resolved
remove implicit multiplication; fix comment Co-authored-by: Andrew Winters <[email protected]>
I followed your suggestion and set the Since this fixes the weird convergence, I would suggest to update the MMS for both |
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.
Looks good! I just left a few clean-up comments / questions. One thing we should keep in mind is that the docstrings will need updating once the multilayer preprint is finished.
examples/unstructured_2d_dgsem/elixir_shallowwater_multilayer_dam_break.jl
Outdated
Show resolved
Hide resolved
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.
LGTM! We just have to hope to get an Intel chipset for the macOS tests due to the ARM issues.
I think the reason why tests are suddenly failing is that |
Sounds reasonable. We can adjust down to |
With the recent CI change in #42 the issues with |
This PR extends the multilayer shallow water equations introduced in #30 to 2D.
The PR introduces the new equations file and basic tests for well-balancedness, entropy-conservation and convergence on
TreeMesh
andUnstructuredMesh