Numerical simulations in astrophysical hydrodynamics