Fluid Sim

This geometry nodes setup provides a real-time fluid particle simulation for both 2D and 3D space. It calculates fluid dynamics using individual repellent particles rather than a continuous volume. Particles spawn based on the volume of an input geometry, allowing you to fill arbitrary shapes with fluid initially.

The system handles collisions between fluid particles and external spherical objects, including animated objects. Due to current limitations, collisions are restricted to spheres rather than arbitrary mesh surfaces. The node setup includes controllable parameters for particle count, resolution, speed, repellent-based viscosity, buoyancy, and wave settings. A high-quality toggle is available to double the collision calculations per frame for improved accuracy.