Gravar e-mail: Hydrodynamical simulations of the non-ideal gravitational collapse of a molecular gas cloud