Direct numerical simulation of the motion of particles in rotating pipe flow