Commit b2fcb56f authored by amandaghassaei's avatar amandaghassaei


parent 42bdddfe
......@@ -343,13 +343,21 @@
<div class="modal-body">
<b>Vortex Shedding Fluid Simulation</b><br/><br/>
This simulation solves the <a href="" target="_blank">Navier-Stokes equations</a> for incompressible fluid flow past an obstacle.
The velocity of the fluid is solved in a GPU fragment shader
I used the following sources to write this simulation:<br/><br/>
At each step of the simulation, a discrete form of Navier-Stokes is solved in a GPU fragment shader.
This system exhibits a phenomenon called <a href="" target="_blank">vortex shedding</a>,
where vortices of alternating directions spontaneously emerge behind the obstacle.
To increase performance, I solved for the velocity of the fluid at a lower resolution than the position of material moving in the fluid (shown in black and white).
I used bilinear interpolation to smooth out any resulting artifacts from this speedup.
Click and drag to apply a force to the fluid.
To learn more about the math involved, check out the following sources:<br/>
<a href="" target="_blank">Fast Fluid Dynamics Simulation on the GPU</a> - a very well written tutorial about programming the Navier-Stokes equations on a GPU.
Though not WebGL specific, it was still very useful.<br/>
<a href="" target="_blank">Fluid Simulation (with WebGL demo)</a> - this article has some nice, interactive graphics that helped me debug my code.<br/>
<a href="" target="_blank">Stable Fluids</a> - a paper about stable numerical methods for evaluating Navier-Stokes on a discrete grid.<br/>
By <a href="" target="_blank">Amanda Ghassaei</a>, code on <a href="" target="_blank">Github</a>.
Written by <a href="" target="_blank">Amanda Ghassaei</a> as a homework assingment for <a href="" target="_blank">The Nature of Mathematical Modeling</a>, code on <a href="" target="_blank">Github</a>.
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