vantzos@home
Shallow Water Animations
I have uploaded two animations of a numerical solution of the so-called shallow water equation, which is a simplified version of the celebrated Navier-Stokes equations. I solved the equations using the Lax-Friedrichs method. The code was written in C++, using the Bloodshed Dev-C++ IDE. Then I imported the data in Mathematica and produced a series of graylevel density plots. These were read from the POV-Ray raytracer and turned into height-fields, which are the shiny surfaces that you can see in the two animations. The images from POV-Ray were assembled into a highly compressed animation using the Rad Game Tools Bink program and the XViD codec. Lots of work, but I think the end result is worth it!
The first animation is wateranimation_HR.avi, where the solution of the equation is represented by a glass-like thin surface. The second animation is wateranimation.avi, where I actually got POV-Ray to create a volume that looks like watertrapped in an imaginary cube, which is exactly what the equations describe. The two animations are approximately 1.8 MB each, so if you have slow connections you might want to limit yourself to the frames below:
This page coded using the SciTE Editor
by Orestis Vantzos (ovantzos@unt.edu).