Numerical study of the influence of the distribution of pinning centres on the dynamics of a two-dimensional vortex system is performed. The superconductor sample has a periodic structure with a pinned region of length Lv and an unpinned region of length Lx-Lp along the direction of driving force (Lorentz force). Results show that, at zero temperature, the critical force Fc increases with the increase of Lp, indicating that the homogeneity of pinning centres
helps to enhance the critical electric current of the superconductor. At large driving forces, vortex static channels form in the pinned region even for Lp < Lx.