A realistic description of the process of high-gradient magnetic separation