Langevin dynamics simulations of phase separation in a one-component system