Fluid Simulation: Smoothed Particle Hydrodynamics on the GPU
Linkoping University
Linkoping University, 2016
@article{alsegaard2016fluid,
title={Fluid Simulation},
author={Alseg{aa}rd, Adam and Wiberg, Benjamin and Juopperi, Emil and Grangien, Jonathan and Hedlund, Simon},
year={2016}
}
This report describes the physical concept of fluids as well as a mathematical model for fluids governed by the Navier-Stokes equations. The Smoothed Particle Hydrodynamics method (SPH) for simulating fluids is described, and implementation details of the method are explained. Numerical integration methods such as Euler and Leap-Frog integration are discussed. The presented result is a program with support for real-time simulation and rendering of threedimensional fluids. The properties of the fluid can be adjusted through a graphical interface, and the fluid particles can be rendered either as spheres or as an approximate fluid surface. The program is written in C++ with the SPH simulation implemented in OpenCL and rendering implemented in OpenGL.
December 20, 2016 by hgpu