Enhancing the particle separation by electrostatic or magnetic effects