Accelerator physics codes
perangkat lunak
≈ 16 min read
Accelerator physics codes. encyclopegia.org, snapshot enwiki-001373249108. /a/accelerator-physics-codes
Names in other languages
- हिन्दीत्वरक भौतिकी सम्बन्धी सॉफ्टवेयर
- astAccelerator Physics Codes
- EnglishAccelerator Physics Codes
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
A charged particle accelerator is a complex machine that takes elementary charged particles and accelerates them to very high energies. Accelerator physics is a field of physics encompassing all the aspects required to design and operate the equipment and to understand the resulting dynamics of the charged particles. There are software packages associated with each domain. The 1990 edition of the Los Alamos Accelerator Code Group's compendium[1] provides summaries of more than 200 codes. Certain codes are still in use today, although many are obsolete. Another index of existing and historical accelerator simulation codes is located at the CERN CARE/HHH website.[2]
Single particle dynamics codes
edit edit sourceFor 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,[3] AGS, ALIGN, COMFORT, DESIGN, DIMAD, HARMON, LEGO, LIAR, MAGIC, MARYLIE, PATRICIA, PETROS, RACETRACK, SYNCH,[4] 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. TRACE 3-D and TURTLE are among the historic codes that are commercially maintained.[5]
Major maintained codes include:
| Single Particle Dynamics | Spin Tracking | Taylor Maps | Weak-Strong Beam-Beam Interaction | Electromagnetic Field Tracking | Higher Energy Collective Effects | Synchrotron Radiation Effects | Radiation Tracking | Wakefields | Extensible | Notes | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Accelerator Toolbox (AT),[6] | Yes | Yes[7] | No | No | No | Yes | No | No | No | Yes | |
| ASTRA[8] | Yes | No | No | No | Yes | Yes | No | No | Yes | No | For space-charge simulations |
| BDSIM[9] | Yes | No | No | No | Yes | No | No | No | No | Yes | For particle-matter simulations. |
| Bmad (contains PTC)[10] | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Reproduces PTC's unique beam line structures. Simulates X-rays. |
| COSY INFINITY[11] | Yes | Yes | Yes | No | Yes | No | No | No | No | Yes | Arbitrary-order differential-algebraic transfer maps |
| DYNAC[12] | Yes | No | No | No | No | No | No | No | No | No | |
| Elegant[13] | Yes | No | No | No | Yes | Yes | Yes | No | Yes | No | |
| GPT[14] | Yes | Yes | No | No | Yes | Yes | Yes | No | Yes | Yes | Injectors, UED, electron microscopes |
| ImpactX[15] | Yes | Yes | No | Yes (via WarpX) | Yes (via WarpX) | Yes | Yes | No | Yes | Yes | Multi-node GPU support |
| MAD8 and MAD-X (includes PTC)[16] | Yes | No | Yes | Yes | No | No | Yes | No | No | No | |
| MAD-NG[16] | Yes | No | Yes | Yes | No | No | Yes | No | No | Yes | Extensible, embeds LuaJIT |
| MERLIN++[17][18] | Yes | Yes | No | No | No | No | No | No | Yes | Yes | Other: beam-matter interactions, sliced-macroparticle tracking |
| OCELOT[19] | Yes | No | No | No | No | Yes | Yes | Yes | Yes | Yes | |
| OPA[20] | Yes | No | No | No | No | No | No | No | No | No | |
| OPAL[21] | Yes | No | Yes | No | Yes | Yes | No | No | Yes | Yes | runs on laptops and on x 10k cores. |
| PLACET[22] | Yes | No | No | No | No | Yes | Yes | No | Yes | Yes | LINAC including wakefields simulations. |
| Propaga[23] | Yes | No | No | No | No | No | No | No | No | Yes | |
| PTC[24] | Yes | Yes | Yes | Yes | Yes | No | No | No | No | Yes | |
| SAD[25] | Yes | No | No | Yes | No | Yes | Yes | No | Yes | No | |
| SAMM[26] | Yes | Yes | No | No | No | No | No | No | No | No | |
| SixTrack[27] | Yes | No | Yes | Yes | No | No | No | No | No | No | Can run on BOINC |
| Xsuite[28] | Yes | Yes | No | Yes | Yes | Yes | Yes | No | Yes | Yes | Supports multi CPU and GPU tracking |
| Zgoubi[29][30] | Yes | Yes | No | No | Yes | No | Yes | No | No | Yes |
Columns
edit edit source- 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 effects
Can simulate the effect of synchrotron radiation emission on the particles being tracked.
- Radiation Tracking
- Ability to track the synchrotron radiation (mainly X-rays) produced by the acceleration of charged particles.
This is not the same as simulating the effect of synchrotron radiation emission on the particles being tracked.
- Wakefields
- The electro-magnetic interaction between the beam and the vacuum chamber wall enclosing the beam are known as wakefields. Wakefields produce forces that affect the trajectory of the particles of the beam and can potentially destabilize the trajectories.
- Extensible
- Open source and object oriented coding to make it relatively easy to extend the capabilities.
Space charge codes
edit edit sourceThe 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[8]
- Bmad
- CST Studio Suite[31]
- GPT[32]
- IMPACT[33]
- ImpactX[34]
- mbtrack[35]
- ORBIT,[36] PyORBIT[37]
- OPAL[38]
- PyHEADTAIL[39]
- Synergia[40]
- TraceWin[41]
- Tranft[42]
- VSim[43]
- Warp[44]
- Xsuite[28]
At higher energies, space charge effects include Touschek effect and coherent synchrotron radiation (CSR). Codes that handle higher energy space charge include:
- Bmad
- ELEGANT
- ImpactX
- MaryLie
- SAD
"Strong-strong" beam-beam effects codes
edit edit sourceWhen 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
Impedance computation codes
edit edit sourceAn 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
Magnet and other hardware-modeling codes
edit edit sourceTo 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
Lattice description and data interchange issues
edit edit sourceGiven the variety of modeling 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.[56] Another attempt at a unified approach to accelerator codes is the UAL or Universal Accelerator Library.[57] As of 2023 neither of these formats are maintained.
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.
For the interchange of particle positions and electromagnetic fields, the OpenPMD[58] standard defines a format which can then be implemented with a file format like HDF5.
Codes in applications of particle accelerators
edit edit sourceThere are many applications of particle accelerators. For example, two important applications are elementary particle physics and synchrotron radiation production. When performing a modeling task for any accelerator operation, the results of charged particle beam dynamics simulations must feed into the associated application. Thus, for a full simulation, one must include the codes in associated applications. For particle physics, the simulation may be continued in a detector with a code such as Geant4.
For a synchrotron radiation facility, for example, the electron beam produces an x-ray beam that then travels down a beamline before reaching the experiment. Thus, the electron beam modeling software must interface with the x-ray optics modelling software such as SRW,[59] Shadow,[60] McXTrace,[61] or Spectra.[62] Bmad[10] can model both X-rays and charged particle beams. The x-rays are used in an experiment which may be modeled and analyzed with various software, such as the DAWN science platform.[63] OCELOT[64] also includes both synchrotron radiation calculation and x-ray propagation models.
Industrial and medical accelerators represent another area of important applications. A 2013 survey estimated that there were about 27,000 industrial accelerators and another 14,000 medical accelerators worldwide,[65] and those numbers have continued to increase since that time.[66] Codes used at those facilities vary considerably and often include a mix of traditional codes and custom codes developed for specific applications. The Advanced Orbit Code (AOC)[67] developed at Ion Beam Applications is an example.
See also
edit edit sourceExternal links
edit edit source- List of codes from UCLA Particle Beam Physics Laboratory Archived 2018-07-17 at the Wayback Machine
- Comparison of Accelerator Codes
References
edit edit source- ^ Computer Codes for Particle Accelerator Design and Analysis: A Compendium, Second Edition, Helen Stokes Deaven and Kwok Chi Dominic Chen, Los Alamos National Laboratory report number LA-UR-90-1766, 290 pages (1990). Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ the CERN CARE/HHH website Archived December 13, 2012, at the Wayback Machine Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "user's guide" (PDF). Archived from the original (PDF) on 2018-07-04. Retrieved 2013-11-16. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ libtracy at sourceforge.net Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ AccelSoft Inc. website Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ ATcollab website Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ See https://github.com/carmignani/festa Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ a b ASTRA Homepage Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ BDSIM Homepage Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ a b Bmad home page Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "COSY". Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "DYNAC". Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ ELEGANT, a Flexible SDDS Compliant Code for Accelerator Simulation software Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ General Particle Tracer [1] Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ IMPACTX, high-performance modeling of beam dynamics in particle accelerators with collective effects [2] Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ a b "MAD - Methodical Accelerator Design". Retrieved 2020-09-09. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ Appleby, Robert; Barlow, Roger J.; Bungau, Adriana; Fallon, James; Kruecker, Dirk; Molson, James; Rafique, Haroon; Rowan, Scott; Serluca, Maurizio; Sjøbæk, Kyrre Ness; Toader, Adina; Tygier, Sam; Walker, Nick; Wolski, Andy (2019-03-03). "Github Merlin-Collaboration/Merlin". doi:10.5281/zenodo.2598428.
{{cite journal}}: Cite journal requires|journal=(help) Wikipedia revision 1373249108, retrieved 2026-11-19 - ^ Appleby, Robert; Barlow, Roger J.; Bungau, Adriana; Fallon, James; Kruecker, Dirk; Molson, James; Rafique, Haroon; Rowan, Scott; Serluca, Maurizio; Sjøbæk, Kyrre Ness; Toader, Adina; Tygier, Sam; Walker, Nick; Wolski, Andy (2019). "Merlin++". doi:10.5281/zenodo.2598428.
{{cite journal}}: Cite journal requires|journal=(help) Wikipedia revision 1373249108, retrieved 2026-11-19 - ^ OCELOT collaboration on GitHub Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ OPA website Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "Home · Wiki · OPAL / SRC". Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ PLACET manual Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ Propaga GitHub repository Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "GitHub - jceepf/fpp_book". GitHub. 2019-02-06. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ SAD home page at kek.jp Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ SAMM, another Matlab based tracking code, at liv.ac.uk Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "SixTrack home page at cern.ch". Archived from the original on 2015-04-29. Retrieved 2017-04-18. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ a b c Xsuite home page at cern.ch Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ Zgoubi home page at sourceforge.net Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ Zgoubi Users' Guide Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ PIC solver at cst.com Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ General Particle Tracer (GPT) from Pulsar Physics Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "IMPACT homepage at Berkeley Lab". Archived from the original on 2015-04-16. Retrieved 2015-04-09. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ ImpactX: high-performance modeling of beam dynamics in particle accelerators with collective effects from Berkeley Lab Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ THE MULTIPARTICLE TRACKING CODES SBTRACK AND MBTRACK. R. Nagaoka, PAC '09 paper here Archived 2013-12-05 at the Wayback Machine Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ ORBIT home page at ornl.gov Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ PyORBIT Collaboration Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ OPAL homepage Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ PyHEADTAIL wiki Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ Synergia home page at fnal.gov Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ TraceWin at CEA Saclay Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ TRANFT user's manual, BNL--77074-2006-IR http://www.osti.gov/scitech/biblio/896444 Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ a b c VSim at Tech-X Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ Warp wiki Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "GUINEA-PIG Twiki". twiki.cern.ch. Archived from the original on 2022-01-20. Retrieved 2020-07-03. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "BeamBeam3D GitHub Repo". "J. Qiang, M. Furman, and R. Ryne, "A parallel particle-in-cell model for beam–beam interaction in high energy ring colliders"". J. Comp. Phys. 2004. doi:10.1016/j.jcp.2004.01.008. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "WarpX Homepage". "J.-L. Vay et al., "WarpX: An advanced Particle-In-Cell code. DOI:, (2018)"". Zenodo. 2018. doi:10.5281/zenodo.4571577. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ ABCI home page at kek.jp Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ a b "ACE3P at slac.stanford.gov". Archived from the original on 2017-09-11. Retrieved 2014-11-01. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ CST Archived 2018-07-29 at the Wayback Machine, Computer Simulation Technology at cst.com Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ GdfidL, Gitter drueber, fertig ist die Laube at gdfidl.de Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ T. Weiland, DESY Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ COMSOL home page at comsol.com Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ CST Electromagnetic Studio at cst.com[link removed] Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "OPERA at magnet-design-software.com". Archived from the original on 2013-12-24. Retrieved 2013-11-15. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ Description of AML and UAP at cornell.edu Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ See references by N. Malitsky and Talman such as this manual from 2002. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ OpenPMD GitHub repository. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ SRW home page at esrf.eu Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ Shadow home page at esrf.eu Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ McXTrace home page at mcxtrace.org Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "Spectra home page at riken.go.jp". Archived from the original on 2013-08-27. Retrieved 2013-11-15. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ DAWN science platform website Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ "An Introduction to Ocelot". GitHub. 16 December 2021. Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ R. W. Hamm and M. E. Hamm, Industrial Accelerators Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ session on accelerator business opportunities at IPAC-17 Wikipedia revision 1373249108, retrieved 2026-11-19
- ^ AOC, A Beam Dynamics Code for Medical and Industrial Accelerators Wikipedia revision 1373249108, retrieved 2026-11-19
Text derived from https://en.wikipedia.org/w/index.php?oldid=1373249108 under CC BY-SA 4.0; modifications have been made.