Skip to content

Make extrapolated IISPH wall density independent of RHS history - #1394

Draft
svchb wants to merge 4 commits into
stack/pr-1368from
fix/iisph-extrapolated-wall-density
Draft

svchb wants to merge 4 commits into
stack/pr-1368from
fix/iisph-extrapolated-wall-density

Conversation

@svchb

@svchb svchb commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Stacked directly on #1368 via stack/pr-1368 (7a4af9add). This restack carries the IISPH wall-prediction changes needed from the earlier integration with #1361.

Make equation-of-state-backed Adami and Bernoulli walls independent of RHS history. Start from zero solved pressures, extrapolate a wall-density seed from the current state, and solve for provisional fluid pressure. Extrapolate wall pressure and density from that provisional pressure and hold both fixed for the final prediction, pressure solve, and RHS. Density prediction uses the physical wall velocity, while viscosity uses the no-slip ghost velocity.

This is a lagged approximation. The provisional pressure Poisson equation (PPE) omits the extrapolated wall-pressure force. The final PPE includes that force on its right-hand side, with wall pressure and density held fixed. PressureBoundaries remains the formulation that solves for wall pressure as an unknown. The extra solve is enabled only when an EOS-backed extrapolating wall acts on IISPH fluid.

Local verification

  • IISPH system suite: 180 checks passed, including cache poisoning, rejected-trial restoration, wall EOS consistency, and predictor/RHS agreement for both extrapolation models and system orders.
  • Boundary-density predictor suite from Fix WCSPH Shepard boundary-density history dependence #1368: 63 checks passed.
  • Dummy-particle unit and RHS suites: 333 checks passed.
  • JuliaFormatter 2.1.1 and git diff --check passed.

Draft for numerical review: resolution and timestep sensitivity of the lagged pressure approximation are still to be characterized.

@svchb svchb added the bug Something isn't working label Nov 19, 2026
@svchb svchb self-assigned this Nov 19, 2026
@svchb
svchb changed the base branch from integration/iisph-wall-density-1361-1368 to stack/pr-1368 November 23, 2026 15:45
@svchb
svchb force-pushed the fix/iisph-extrapolated-wall-density branch from c302183 to f622429 Compare November 23, 2026 15:56
- Enhance the `iisph_wall_pressure.jl` script to include comprehensive tests for the coupling of IISPH with Adami walls, verifying pressure extrapolation, density balance, and hydrostatic conditions.
- Introduce a new file `wall_pressure_extrapolation.jl` to define the extrapolation logic for wall pressures in the context of IISPH, ensuring compatibility with incompressible fluid dynamics.
- Add functions to check wall configurations, update wall pressures during the pressure solve, and refresh wall velocities based on current fluid dynamics.
- Ensure that the wall pressure is consistently extrapolated from fluid pressures in each iteration of the pressure solve, maintaining the integrity of the simulation.

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