14-01-2021, 04:41 PM
You misunderstood how fluid works: Fluid particles do not collide with each other. Only solid particles (granulars) do.
Fluid particles interact with each other trough density constraints, and can exchange property values via diffusion.
Take a look at the FluidMaze sample scene measures tints fluids and measures its "purity": when a particle collides with a solid block, the blocks' color is transferred to the solver.userData array. This data is diffused across neighboring particles during simulation.
Fluid particles interact with each other trough density constraints, and can exchange property values via diffusion.
Take a look at the FluidMaze sample scene measures tints fluids and measures its "purity": when a particle collides with a solid block, the blocks' color is transferred to the solver.userData array. This data is diffused across neighboring particles during simulation.