Skip to content

Fix restart and boundary integration regressions - #1316

Draft
svchb wants to merge 4 commits into
drafty_draftfrom
fix/restart-boundary-integration
Draft

svchb wants to merge 4 commits into
drafty_draftfrom
fix/restart-boundary-integration

Conversation

@svchb

@svchb svchb commented Sep 17, 2026 •

Copy link
Copy Markdown
Collaborator

Context

This PR is stacked on #1293 and fixes integration regressions exposed while exercising the combined restart, correction, boundary, and fluid-structure functionality.

Changes

  • Read restart timestamps with create_initial_condition=false, avoiding failures when restart metadata is taken from non-fluid VTK output.
  • Fall back to the coordinate element type in vtk2trixi when neither pressure nor material density is present.
  • Add access to each fluid system's complete CorrectionConfiguration.
  • Propagate density, gradient, and force corrections independently through the high-level dummy-particle boundary constructor.
  • Preserve correction roles for wall and rigid-body boundary models.
  • Skip the unused reverse neighborhood-search update from Monaghan-Kajtar walls to TLSPH systems.
  • Add a validated minimum_distance_ratio option to BoundaryModelMonaghanKajtar, while preserving the existing 0.01 default.
  • Update affected CPU and GPU call sites to the independent-correction keyword API.
  • Add regression tests for coupled fluid/wall/TLSPH setups, restart metadata, custom VTK quantities, correction propagation, and Monaghan-Kajtar regularization.

Validation

  • Combined targeted CPU tests on the updated stack: 2310/2310 passed.
  • The checks cover correction coupling, dummy boundaries, rigid FSI, fluid RHS conservation, restart handling, and the Adami anti-sticking pressure ramp from Implement anti-sticking technique for AdamiPressureExtrapolation #1315.
  • JuliaFormatter 2.1.1 and git diff --check pass.
  • The GPU suite was not run locally; its change only updates the correction keyword at the existing test call site.

Stack

@svchb svchb self-assigned this Sep 17, 2026
@svchb svchb added the bug Something isn't working label Sep 17, 2026
@codecov

codecov Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (drafty_draft@505b840). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff               @@
##             drafty_draft    #1316   +/-   ##
===============================================
  Coverage                ?   89.74%           
===============================================
  Files                   ?      156           
  Lines                   ?    13116           
  Branches                ?        0           
===============================================
  Hits                    ?    11771           
  Misses                  ?     1345           
  Partials                ?        0           
Flag Coverage Δ
total 89.75% <100.00%> (?)
unit 80.09% <96.42%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant