Try the Newton Physics engine. Download the free 30mb download with the example games and documentation and there is a small demo exactly what you want. I think its called "Water".

Newton Physics Engine