Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The pressure solver would use negative pressures to prevent divergence against solid boundaries, even if it would result in nonsense. The worst scenario was one like this: XXXXXXXXXXXXXXXXXX X0000000000000000X X0000000000000000X X0000000000000000X X0000000000000000X X0000000000000000X X0000000000000000X X0000000000000000X X X X X X X X X XXXXXXXXXXXXXXXXXX If pressure could be negative, the whole fluid would have a negative pressure due to divergence against the top wall, and thus be pushed upwards by the empty space below.
- Loading branch information