Repository navigation
Conversation
svchb
marked this pull request as draft
November 2, 2026 16:15
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## drafty_draft #1368 +/- ##
================================================
+ Coverage 82.24% 82.29% +0.05%
================================================
Files 156 157 +1
Lines 13135 13178 +43
================================================
+ Hits 10803 10845 +42
- Misses 2332 2333 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
svchb
force-pushed
the
fix/wcsph-summation-boundary-predictor
branch
from
November 23, 2026 12:54
a0e416d to
ad851e7
Compare
svchb
added a commit
that referenced
this pull request
Nov 23, 2026
Draft
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #1285 via
stack/pr-1285. That branch already contains the staged correction lifecycle and thedensity_correctionAPI used by this fix. Found during the correction validation work in #1286.WCSPH with
SummationDensity()andShepardKernelCorrection()includes boundary volumesm_b / ρ_bin its normalizer. At EOS-backed Adami/Bernoulli pressure boundaries, the cached boundary density previously came from the preceding RHS evaluation. This made the result depend on RHS history: repeated evaluations at identical ODE state, or a rejected trial evaluation followed by restoration of that state, could change densities, pressures, and the RHS.Predict the affected boundary densities from the current raw fluid pressure before assembling correction coefficients. The usual corrected-pressure and boundary-interpolation stages then complete the update. The predictor is enabled only when an affected WCSPH fluid interacts with an EOS-backed pressure boundary.
Regression coverage
The focused regression covers wall, rigid-body, and TLSPH boundaries with both Adami and Bernoulli pressure extrapolation. It checks poisoned boundary caches, rejected-trial restoration, reversed system order, and consistency between final pressure and corrected density.
60348d47f): 114/114 passed on Julia 1.11.9;git diff --checkpassed.Earlier verification
The original branch on #1293 passed 780/780 correction-consistency checks, 6848/6848 fluid RHS checks, 29/29 pressure-acceleration checks, and 10/10 Aqua checks on Julia 1.11.9. JuliaFormatter 2.1.1 and
git diff --checkpassed.This addresses RHS-history dependence. The separate summation-density initialization/quadrature and free-surface accuracy findings from the validation study remain open; the long campaign has not been rerun with this predictor.