SPH simulations of a viscoelastic flow around a periodic array of cylinders confined in a channel