-
Notifications
You must be signed in to change notification settings - Fork 117
Fix broken example 0D_bubblecollapse_adap #969
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #969 +/- ##
=======================================
Coverage 44.04% 44.04%
=======================================
Files 69 69
Lines 19611 19612 +1
Branches 2430 2430
=======================================
+ Hits 8637 8638 +1
Misses 9474 9474
Partials 1500 1500 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
User description
Description
I noticed that the example
0D_bubblecollapse_adap
is broken. The reason was that when Lagrange bubble model was updated, the maximum iteration for adaptive time stepping was fixed to 100, while this case requires more than 100 as it involves violent collapse of bubbles. Therefore, I movedadap_dt_max_iters
fromm_constant
to user input parameter.Type of change
Please delete options that are not relevant.
Scope
How Has This Been Tested?
The figure shows the comparison between

adap_dt_max_iters = 100
andadap_dt_max_iters = 200
. Foradap_dt_max_iters = 100
, the rebound cannot be captured.Test Configuration:
Checklist
docs/
)PR Type
Bug fix
Description
Move
adap_dt_max_iters
from constant to user parameterFix broken 0D bubble collapse adaptive example
Add documentation for new adaptive time stepping parameters
Diagram Walkthrough
File Walkthrough