Commit 3b7298a8 authored by amandaghassaei's avatar amandaghassaei

readme

parent 6eb90d97
......@@ -5,8 +5,6 @@ A realtime fluid flow simulation on the GPU using WebGL
Live demo at <a href="http://git.amandaghassaei.com/VortexShedding/" target="_blank">git.amandaghassaei.com/VortexShedding/</a>
<img style="width:100%" src="img1.png"/>
This simulation solves the <a href="https://en.wikipedia.org/wiki/Navier%E2%80%93Stokes_equations" target="_blank">Navier-Stokes equations</a> for incompressible fluid flow past an obstacle in a GPU fragment shader.
It exhibits a phenomenon called <a href="https://en.wikipedia.org/wiki/Vortex_shedding" target="_blank">vortex shedding</a>,
where vortices of alternating spin spontaneously emerge behind the obstacle.
......@@ -16,6 +14,7 @@ I ignored the viscous diffusion term from the Navier-Stokes formula to encourage
<br/><br/>
Click and drag to apply a force to the fluid:
<img style="width:100%" src="img2.png"/>
<img style="width:100%" src="img1.png"/>
<br/><br/>
To learn more about the math involved, check out the following sources:<br/>
<a href="http://http.developer.nvidia.com/GPUGems/gpugems_ch38.html" target="_blank">Fast Fluid Dynamics Simulation on the GPU</a> - a very well written tutorial about programming the Navier-Stokes equations on a GPU.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment