Non-equilibrium by molecular dynamics: a dynamical approach