Numerical simulations on two-dimensional vortex lattices