Skip to content

Add pairwise wall Riemann boundary states - #1325

Draft
svchb wants to merge 4 commits into
hydrodynamic-particle-subsetsfrom
wall-riemann-boundary-state
Draft

svchb wants to merge 4 commits into
hydrodynamic-particle-subsetsfrom
wall-riemann-boundary-state

Conversation

@svchb

@svchb svchb commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add an opt-in BoundaryStateWallRiemann to dummy-particle boundary models, including geometric static-wall normals, deformed TLSPH normals, and an optional unilateral contact layer
  • apply the pairwise ghost pressure and velocity consistently in WCSPH and EDAC, with the matching reverse interaction for conservative fluid-structure coupling
  • preserve the existing boundary behavior by default and cover approaching, separating, tangential, contact, hydrodynamic-subset, and GPU paths

Testing

  • focused dummy-particle, fluid RHS, and TLSPH suites pass on Julia 1.10, 1.11, and 1.12
  • test/schemes/boundary/dummy_particles/dummy_particles.jl (100 tests, including 18 wall-state tests)
  • test/schemes/structure/total_lagrangian_sph/total_lagrangian_sph.jl (124 tests, including 18 wall-Riemann coupling tests)
  • test/schemes/fluid/rhs.jl (1,203 tests)
  • Aqua default API checks
  • focused CUDA comparison on an NVIDIA GeForce RTX 5090 (8 checks; WCSPH and EDAC serial/GPU agreement with incoming wall-normal flow)
  • GitHub Actions unit-test matrix: all seven jobs report 23,935 passed, 0 failed, and the same 9 inherited erroring testsets as Support hydrodynamic particle subsets in TLSPH #1324 (36 additional passing assertions)
  • git diff --check

The broader system, documentation, and CUDA suites still encounter unrelated failures already present in the stacked base, primarily legacy correction= calls and the existing rigid-body GPU path. The opt-in Aqua ambiguity check likewise reports only the existing ambiguity categories.

Stack

# Conflicts:
#	src/schemes/boundary/wall_boundary/dummy_particles.jl
@codecov

codecov Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.92473% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 90.24%. Comparing base (92870bb) to head (1abe332).

Files with missing lines Patch % Lines
test/examples/gpu.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                        Coverage Diff                        @@
##           hydrodynamic-particle-subsets    #1325      +/-   ##
=================================================================
+ Coverage                          90.18%   90.24%   +0.05%     
=================================================================
  Files                                157      157              
  Lines                              13297    13387      +90     
=================================================================
+ Hits                               11992    12081      +89     
- Misses                              1305     1306       +1     
Flag Coverage Δ
total 90.25% <98.92%> (+0.05%) ⬆️
unit 81.12% <98.92%> (+0.12%) ⬆️

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant