Abstract: Using COMSOL Multiphysics simulation software, the optimal distance between the middle guide ring of the magnet and the free surface under an applied CUSP magnetic field was analyzed.