Work

Real-Time Fluid Dynamics

CPU and GPU (CUDA) stable fast fluids implementation, OpenGL is used to interactively display the simulation results. The project is based on the fluidsGL nVIDIA demo, which has been ported to a CPU version. However, for educational and logical purposes, the documentation explain the whole process as if the implementations would have been developed from scratch. This type of real-time simulation can usually found in video-games or animations.

Dates:Sep 2016 - Jan 2017

Type:Academic Project

Achievements:rewarded with honors by the Technical University of Madrid

Related skills:C/C++, CUDA, Scientific Computing, High-Performance Computing, Physics Simulation, Make Build, Benchmarking

launch project

The best visual way to compare a CPU real-time fluid simulation against the GPU counterpart, is to run a benchmark for both at the same time, and perceive how much faster the GPU simulation outruns the CPU counterpart. This is done in the following demonstrative video.

The documentation is divided in two parts: The first one explain how to implement the fluid simulation in a CPU. The second part explains how to increase the performance by using CUDA, a general purpose GPU programming solution.

contact me

Have a project in mind? I would love to hear from you.

Do you have something interesting? What can I do for you?