-
Notifications
You must be signed in to change notification settings - Fork 114
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
Second-Order Finite Volume Integral in 1D #2022
base: main
Are you sure you want to change the base?
Second-Order Finite Volume Integral in 1D #2022
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2022 +/- ##
==========================================
- Coverage 96.34% 96.33% -0.01%
==========================================
Files 470 472 +2
Lines 37497 37598 +101
==========================================
+ Hits 36125 36220 +95
- Misses 1372 1378 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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.
Thanks for implementing this, @DanielDoehring!
No clue why superbee
is so bad. I think the implementation is correct.
Most of my comments only suggest minor changes. My only concern is that the central reconstruction for the subcells at the element border can lead to overshoots and crashes. Would it be easy to add the possibility to use a "safer" scheme at the boundary subcells?
Co-authored-by: Andrés Rueda-Ramírez <[email protected]>
Here is the convergence study for the version with constant reconstruction of the boundary subcells: ####################################################################################################
l2
rho rho_v1 rho_e
error EOC error EOC error EOC
3.01e-04 - 4.39e-04 - 8.69e-04 -
1.11e-04 1.43 1.28e-04 1.78 3.38e-04 1.36
4.01e-05 1.47 4.95e-05 1.37 1.44e-04 1.23
1.87e-05 1.10 2.28e-05 1.12 6.89e-05 1.06
9.20e-06 1.02 1.12e-05 1.03 3.40e-05 1.02
mean 1.26 mean 1.32 mean 1.17
----------------------------------------------------------------------------------------------------
linf
rho rho_v1 rho_e
error EOC error EOC error EOC
1.40e-03 - 1.30e-03 - 4.53e-03 -
6.30e-04 1.15 6.70e-04 0.95 2.28e-03 0.99
2.94e-04 1.10 3.40e-04 0.98 1.15e-03 0.99
1.48e-04 0.98 1.69e-04 1.01 5.85e-04 0.97
7.37e-05 1.01 8.41e-05 1.01 2.93e-04 1.00
mean 1.06 mean 0.99 mean 0.99
---------------------------------------------------------------------------------------------------- |
…/Trixi.jl into SecondOrderFiniteVolume1D
Please note #1880 ... |
This picks up the #433 draft by Gregor and updates it to the current structure. Could serve as a starting point to examine the effect of using an O2 FV scheme in the subcell capturing
VolumeIntegralShockCapturingHG
.2D/3D will probably follow in some time, but this should also be trivial so if anyone else would like to pick this up, feel free to do so.
Also, this is helpful if one would like to bring a classic second order finite volume solver into Trixi at some point.
Xref: #425
Convergence studies:
Not really sure why
superbee
is so bad.