Simulation of oscillation of magnetic particles in 3D microchannel flow subjected to alternating gradient magnetic field