This repository contains the complete source code for the CS5199 dissertation project:
“A Real-Time Smoothed Particle Hydrodynamics Framework for Interactive Fluid Simulation.”
The submission ZIP includes:
- Standalone builds for Windows and macOS
- The full Unity project used to develop and evaluate the system
While the standalone builds allow the simulation to be run, full functionality (including all interactive controls and configuration options) is available when running the project inside the Unity Editor.
The project was developed and tested using:
Unity 6000.2.5f1
Later Unity 6000.x versions should work at parity, but this specific version is recommended for exact reproducibility.
The Unity Editor can be downloaded from:
https://unity.com/releases/editor/archive
- Install Unity 6000.2.5f1 (or a later 6000.x version).
- Open Unity Hub.
- Select Open and choose the project root directory.
- Open the main scene and press Play to start the simulation.
Both the Unity Editor version and the standalone builds include a built-in UI that allows:
- Adjustment of physical parameters
- Control over solver settings
- Visualisation and interaction with the fluid simulation
A complete description of each parameter and control is provided in Appendix E of the dissertation PDF.
Instructions for simulation time controls are shown in each scene, as well as scene switching with the 0-3 keys.