Single particle dynamics codes
For many applications it is sufficient to track a single particle through the relevant electric and magnetic fields. Old codes no longer maintained by their original authors or home institutions include: BETA, AGS, ALIGN, COMFORT, DESIGN, DIMAD, HARMON, LEGO, LIAR, MAGIC, MARYLIE, PATRICIA, PETROS, RACETRACK, SYNCH, TRANSPORT, TURTLE, and UAL. Some legacy codes are maintained by commercial organizations for academic, industrial and medical accelerator facilities that continue to use those codes. TRANSPORT, TRACE 3-D and TURTLE are among the historic codes that are commercially maintained. Major maintained codes include:Columns
;Spin Tracking :Tracking of a particle's spin. ;Taylor Maps :Construction of Taylor series maps to high order that can be used for simulating particle motion and also can be used for such things as extracting single particle resonance strengths. ;Weak-Strong Beam-Beam Interaction :Can simulate the beam-beam interaction with the simplification that one beam is essentially fixed in size. See below for a list of strong-strong interaction codes. ;Electromagnetic Field Tracking :Can track (ray trace) a particle through arbitrary electromagnetic fields. ;Higher Energy Collective effects :The interactions between the particles in the beam can have important effects on the behavior, control and dynamics. Collective effects take different forms from Intrabeam Scattering (IBS) which is a direct particle-particle interaction to wakefields which are mediated by the vacuum chamber wall of the machine the particles are traveling in. In general, the effect of direct particle-particle interactions is less with higher energy particle beams. At very low energies, space charge has a large effect on a particle beam and thus becomes hard to calculate. See below for a list of programs that can handle low energy space charge forces. ;Synchrotron radiation tracking :Ability to track the synchrotron radiation (mainlySpace Charge Codes
The self interaction (e.g. space charge) of the charged particle beam can cause growth of the beam, such as with bunch lengthening, or intrabeam scattering. Additionally, space charge effects may cause instabilities and associated beam loss. Typically, at relatively low energies (roughly for energies where the relativistic gamma factor is less than 10 or so), the Poisson equation is solved at intervals during the tracking using Particle-in-cell algorithms. Space charge effects lessen at higher energies so at higher energies the space charge effects may be modeled using simpler algorithms that are computationally much faster than the algorithms used at lower energies. Codes that handle low energy space charge effects include: * ASTRA * Bmad * CST Studio Suite * GPT * IMPACT * mbtrack * ORBIT, PyORBIT * OPAL * PyHEADTAIL * Synergia * TraceWin * Tranft * VSim VSim at Tech-X"Strong-Strong" Beam-beam effects codes
When two beams collide, the electromagnetic field of one beam will then have strong effects on the other one, called beam-beam effects. So called "weak-strong" simulations model one beam (called the "strong" beam since it affects the other beam) as a fixed distribution (typically a Gaussian distribution) which interacts with the particles of the other "weak" beam. This greatly simplifies the simulation. A full "strong-strong" simulation is more complicated and takes more simulation time. Strong-strong codes include *GUINEA-PIGImpedance computation codes
An important class of collective effects may be summarized in terms of the beams response to an " impedance". An important job is thus the computation of this impedance for the machine. Codes for this computation include *ABCI *ACE3P ACE3P at slac.stanford.govMagnet and other hardware-modeling codes
To control the charged particle beam, appropriate electric and magnetic fields must be created. There are software packages to help in the design and understanding of the magnets, RF cavities, and other elements that create these fields. Codes include *ACE3P *COMSOL Multiphysics *CST Studio Suite *OPERA * VSimLattice file format and data interchange issues
Given the variety of modelling tasks, there is not one common data format that has developed. For describing the layout of an accelerator and the corresponding elements, one uses a so-called "lattice file". There have been numerous attempts at unifying the lattice file formats used in different codes. One unification attempt is the Accelerator Markup Language, and the Universal Accelerator Parser. Another attempt at a unified approach to accelerator codes is the UAL or Universal Accelerator Library. The file formats used in MAD may be the most common, with translation routines available to convert to an input form needed for a different code. Associated with the Elegant code is a data format called SDDS, with an associated suite of tools. If one uses a Matlab-based code, such as Accelerator Toolbox, one has available all the tools within Matlab.Codes in applications of particle accelerators
There are many applications of particle accelerators. For example, two important applications are elementarySee also
References
{{Reflist Accelerator physics Scientific simulation software