Numerical simulations of jets