This is a Max patch , simulating fluid dynamics . It uses the MSAFluid library for processing (source codes , libraries and other goodies can be found at (http://www.memo.tv). At its currents state , it doesn't includes the particle implementation .
< Screen shot of the fluid_simulation patch in action .
< Download the Max patch here
< Follow the instructions in the patch .
< Drag over the window and start to add forces to the fluid
< Thanks to memo.tv for bringing those libraries open source ..