Gadget-2 is the current version (as of 2013) of Gadget, a computer program for N-Body Simulation and Smoothed-Particle Hydrodynamics. It was written by Volker Springel at the Max Planck Institute for Astronomy.
Gadget uses a hierarchical tree to compute gravitational forces and represents fluids (gas, Plasma) using SPH. It can be used to model the Large Scale Structure of the universe or for smaller phenomena such as Galaxy collisions and mergers. Gadget-1 was released in 2000 and Gadget-2, in 2005.
Smoothed-Particle Hydrodynamics (SPH)