Add CFL Based Adaptive Time-Stepping#515
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #515 +/- ##
==========================================
+ Coverage 53.99% 54.69% +0.70%
==========================================
Files 58 59 +1
Lines 13719 13662 -57
Branches 1635 1698 +63
==========================================
+ Hits 7407 7473 +66
+ Misses 5867 5740 -127
- Partials 445 449 +4 ☔ View full report in Codecov by Sentry. |
|
@wilfonba this codecov thing is amazing. It shows what lines you added that aren't covered in the test suite! Not that you have to cover 100% of the new lines, but you might be able to see what cases aren't covered that you could easily add. |
|
Yeah. I'm sure I can up the coverage a decent amount without too many additional tests. Apparently I need to fix GPUs too |
This reverts commit ee0208e.
|
Can you run an |
|
|
This list was created with #518 . I figured it would be more clear this way. |
Perfect, thanks |
|
@wilfonba is this ready for review/merge? |
|
Most all of the requested changes have been addressed. I feel that updating |
Please open an issue detailing what you didn't do, then, please. |
Description
This PR adds constant CFL time-stepping for all physics. The new feature is compatible with the existing ability to restart cases with additional patches.
Fixes #298
Type of change
Scope
How Has This Been Tested?
https://github.com/MFlowCode/MFC/assets/48168887/95bc7182-f013-49c5-8951-960ed68574ea
https://github.com/MFlowCode/MFC/assets/48168887/fad28d4f-bec4-455e-a6a8-795db5724f36
https://github.com/MFlowCode/MFC/assets/48168887/882cf2bc-a5dc-4ef5-a25e-400c3ac3016d
Checklist
docs/)examples/that demonstrate my new feature performing as expected.They run to completion and demonstrate "interesting physics"
./mfc.sh formatbefore committing my codeIf your code changes any code source files (anything in
src/simulation)To make sure the code is performing as expected on GPU devices, I have:
V100 - cfl_adap_dt (3.320) constant dt (3.311) 8M Cells on 1 V100
M2 - cfl_adap_dt (66.645) constant dt (65.657) 1M Cells on 1 core