Cosmological smoothed particle hydrodynamics simulations: the entropy equation - Springel, Volker; Hernquist, Lars (Monthly notices of the Royal Astronomical Society, 2002)