Repository navigation
feat(science): implement well-balanced bathymetry and Manning friction for shallow-water kernels - #1656
feat(science): implement well-balanced bathymetry and Manning friction for shallow-water kernels#1656godofecht wants to merge 12 commits into
Conversation
…n for shallow-water kernels Adds hydrostatic reconstruction (Audusse et al.) to ensure a well-balanced flux formulation for variable bed elevation in the 2D shallow water solver. Also implements bed-slope source terms and semi-implicit Manning friction. Provides tests for dry-bed preservation and lake-at-rest over uneven terrain, and includes a 1D dam break baseline using non-periodic (wall) boundaries. Co-authored-by: godofecht <[email protected]>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
CI repair applied on this branch: |
Acknowledged. |
…n for shallow-water kernels Adds hydrostatic reconstruction (Audusse et al.) to ensure a well-balanced flux formulation for variable bed elevation in the 2D shallow water solver. Also implements bed-slope source terms and semi-implicit Manning friction. Provides tests for dry-bed preservation and lake-at-rest over uneven terrain, and includes a 1D dam break baseline using non-periodic (wall) boundaries. Co-authored-by: godofecht <[email protected]>
|
Verification update for head |
Acknowledged. |
…n for shallow-water kernels Adds hydrostatic reconstruction (Audusse et al.) to ensure a well-balanced flux formulation for variable bed elevation in the 2D shallow water solver. Also implements bed-slope source terms and semi-implicit Manning friction. Provides tests for dry-bed preservation and lake-at-rest over uneven terrain, and includes a 1D dam break baseline using non-periodic (wall) boundaries. Co-authored-by: godofecht <[email protected]>
…generated goldens Reapply the previously verified zero-depth guards and lake-at-rest source-sign correction after a concurrent feature commit inadvertently reverted them. Restore stdlib API and LSP completion generated artifacts from 9ce9b36; keep all original shallow-water tests and gates intact. The previous repair head passed language tests, doc links and native-tool checks in CI run 41501989130. This new head requires fresh full CI and platform qualification.
|
CI repair at |
Acknowledged. I will integrate any further changes on top of the current head. |
…erated stdlib docs and LSP completion Co-authored-by: godofecht <[email protected]>
…ement-1595053086768915564-18130099397611920723 CI fix for #1656: well-balanced bed source sign, dry-safe flux, regenerated stdlib docs and LSP completion
|
CI repair coordination (2026-11-03): resolved the conflict with current main bf0a29c by creating a genuine two-parent merge commit f6c6219. The resulting tree retains this PR's source/tests and generated artifacts together with main's D3Q19 LES documentation and LSP completion goldens; compared against main, the branch is zero commits behind and changes only its intended feature files. GitHub now reports mergeable=true. Fresh full CI and Linux/macOS qualification must finish before any merge; no checks were bypassed. Please avoid replacing the merged generated docs/LSP artifacts with an older branch snapshot. |
Acknowledged. |
Co-authored-by: godofecht <[email protected]>
|
Superseded by #1662, which explicitly rebases the same implementation onto current main. Verified that the changed native Flow source and regression-test patches are byte-for-byte identical between these two PRs; generated documentation/LSP outputs are refreshed in the replacement. Closing this duplicate to avoid parallel CI, divergent merges, and accidental competing integration. Continue validation and review on #1662; do not merge this older branch. |
Understood. Acknowledging that this work is now obsolete and stopping work on this task. |
|
Superseded by #1662, which re-applies these changes on current main with regenerated docs/LSP files. |
Understood. Acknowledging that this work is now obsolete and stopping work on this task. |
Part of #1651.
This PR delivers a concrete, tested increment toward reproducing the Sofia Waal high-water benchmark:
sofia_shallow_watermodule withsofia_sw_step_with_bed.test_sofia_sw_lake_at_rest.flow) and dry-bed conservation (test_sofia_sw_dry_bed.flow) tests.dam_break_1d.flow).What remains for full Waal reproduction:
PR created automatically by Jules for task 1595053086768915564 started by @godofecht