Particle-in-cell simulation of Maxwellian ring velocity distribution