Water Simulation

Description

In this project I implemented a simple fluid solver. I solve the incompressible Navier-Stokes equations on a domain with mixed Dirichlet (open-air) and Neumann (solid) boundaries. I advance the domain and track the surface using a dynamic level set.

I also created a real-time smoke simulation which you can see here.

Demo Videos

Sample Simluations

The following high(er) resolution simluations show the moving front of water as well as the velocity field (as little lines in the water).


A ball being dropped into a tank [divx]
. [mov]


A ball being thrown into an incoming wall of water [divx]
. [mov]

Variying Gravity

A ball is tossed into a tank of water in varying gravity conditions. Coupling is one-way (the water does not affect the ball). The velocity of the body of water is shown with white lines.


A ball being tossed into a tank of water in ordinary conditions [divx]
. [mpeg]


A ball being tossed into a tank of water in low-gravity conditions [divx]
. [mpeg]