Numerical study of the sedimentation of particle suspensions in ducts