Particle Beam Tracking with COMSOL Multiphysics® Software
Accurate and efficient tracking is important for designing particle accelerators as well as many other applications which use electromagnetic fields to control particles. We have developed a tracking code in MATLAB® Simulink® which uses electric and magnetic fields calculated in COMSOL Multiphysics®. Existing tracking codes often appear to the user as a black box and their performance is limited. We have developed the code to be flexible, allowing us to solve different types of problems for different particles from electrons to heavy ions. The code we have developed has already been applied to simulate different types of beams from low energy electrons and antiprotons used in fundamental physics research to ions used for medical treatment.