Use the Magnetic Force node to exert a magnetic force to the particles. A magnetic force alone does no work on the particles, so in the absence of any other external forces, the particle retains its original energy. The force is specified via a magnetic flux density.