Repository navigation
Conversation
svchb
changed the base branch from
integration/iisph-wall-density-1361-1368
to
stack/pr-1368
November 23, 2026 15:45
svchb
force-pushed
the
fix/iisph-extrapolated-wall-density
branch
from
November 23, 2026 15:56
c302183 to
f622429
Compare
- 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
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 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.
PressureBoundariesremains 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
git diff --checkpassed.Draft for numerical review: resolution and timestep sensitivity of the lagged pressure approximation are still to be characterized.