cryham / sph-cuda

Windows program implementing Smoothed Particle Hydrodynamics using CUDA and OpenGL. From 2009.

Home Page:http://cryham.tuxfamily.org/portfolio/2009-sph-cuda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPH CUDA

About

My old 2009 Windows program, from master's thesis. Implements

Smoothed Particle Hydrodynamics using CUDA and OpenGL, based from Particles demo.

Proving 5 times faster simulation of small scale fluids on GPU vs CPU.

Install

Download zip archive from releases, unpack, start SPH.exe, and hit F1 for help.

Project on my website

License: GNU GPL v3.

Features

The program is very fun to play with and has a lot of scenes (119).

For 56k particles it allows about 2 to 3 times slower than realtime simulation, due to small time step requirement of SPH.

It features:

  • Camera with visual parameters for rendering particles
  • Collider, moveable by mouse
  • Emitters and accelerators for flow or fountains
  • Rotors with various shape allowing propellers
  • Two types of Rotational Pumps, just like those for PC water cooling
  • Dye which allows flow tracing
  • Moving border for shore waves generation
  • Heightmap, possibly with holes
  • Lots of simulation parameters with sliders on several tabs for tweaking

Screenshot

About

Windows program implementing Smoothed Particle Hydrodynamics using CUDA and OpenGL. From 2009.

http://cryham.tuxfamily.org/portfolio/2009-sph-cuda

License:GNU General Public License v3.0


Languages

Language:C++ 66.2%Language:Cuda 33.8%