Hydrodynamic simulations of classical novae: Accretion onto CO white dwarfs as Sn Ia progenitors