Advanced Virtual Accelerator Software: A linear accelerator simulation code

The Advanced Virtual Accelerator Software (avas) has been developed to simulate beam transport processes in high-intensity linear accelerators and has been used in the China Initiative Accelerator Driven System (CiADS) project. In the study of beam dynamics for high-intensity linear accelerators, 3D...

Full description

Saved in:
Bibliographic Details
Main Authors: Chao Jin, Zhijun Wang, Xin Qi, Yuan He, Zhongyi Li, Kunxiang Sun, Xiaolong Chen, Chi Feng, Xiaoying Zhao, Yaxin Hu, Yuan Tian, Kai Li
Format: Article
Language:English
Published: American Physical Society 2025-04-01
Series:Physical Review Accelerators and Beams
Online Access:http://doi.org/10.1103/PhysRevAccelBeams.28.044602
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850179709499867136
author Chao Jin
Zhijun Wang
Xin Qi
Yuan He
Zhongyi Li
Kunxiang Sun
Xiaolong Chen
Chi Feng
Xiaoying Zhao
Yaxin Hu
Yuan Tian
Kai Li
author_facet Chao Jin
Zhijun Wang
Xin Qi
Yuan He
Zhongyi Li
Kunxiang Sun
Xiaolong Chen
Chi Feng
Xiaoying Zhao
Yaxin Hu
Yuan Tian
Kai Li
author_sort Chao Jin
collection DOAJ
description The Advanced Virtual Accelerator Software (avas) has been developed to simulate beam transport processes in high-intensity linear accelerators and has been used in the China Initiative Accelerator Driven System (CiADS) project. In the study of beam dynamics for high-intensity linear accelerators, 3D multiparticle simulations are required due to numerous nonlinear effects caused by strong space charge effects. However, the use of multiparticle simulation is often limited by the computational speed of the particle-in-cell (PIC) algorithm. To achieve fast large-scale multiparticle simulation, avas uses a parallel framework implemented in c++ and improves related algorithms. Specifically, the PIC algorithm has been modified based on symmetry, resulting in the S-PICNIC algorithm. Under the test conditions described in this paper, compared to the standard algorithm, the S-PICNIC algorithm can accelerate the process of solving the space charge field by 4 times while maintaining the simulation accuracy. In addition, avas uses a combined particle motion mode that switches between two modes (using either time or position as the independent variable) based on the element type. This adaptive switching effectively balances the accuracy and speed of numerical simulation. This method has enabled the fast simulation of over 100 million macroparticles. Furthermore, avas uses object-oriented programming methods, where objects are designed based on real physical objects. This design allows avas to preset operating parameters through numerical simulation. In the test, avas successfully preset the operating parameters of the superconducting section of the Chinese ADS front-end demonstration linear Accelerator, resulting in a negligible beam loss and a deviation between the energy set value and the actual measured value of about 0.5%. This paper introduces the structure of the program and related physical models. Benchmark results are also discussed to verify the reliability of the code.
format Article
id doaj-art-87652df208564fc9be61025a50db4e72
institution OA Journals
issn 2469-9888
language English
publishDate 2025-04-01
publisher American Physical Society
record_format Article
series Physical Review Accelerators and Beams
spelling doaj-art-87652df208564fc9be61025a50db4e722025-08-20T02:18:25ZengAmerican Physical SocietyPhysical Review Accelerators and Beams2469-98882025-04-0128404460210.1103/PhysRevAccelBeams.28.044602Advanced Virtual Accelerator Software: A linear accelerator simulation codeChao JinZhijun WangXin QiYuan HeZhongyi LiKunxiang SunXiaolong ChenChi FengXiaoying ZhaoYaxin HuYuan TianKai LiThe Advanced Virtual Accelerator Software (avas) has been developed to simulate beam transport processes in high-intensity linear accelerators and has been used in the China Initiative Accelerator Driven System (CiADS) project. In the study of beam dynamics for high-intensity linear accelerators, 3D multiparticle simulations are required due to numerous nonlinear effects caused by strong space charge effects. However, the use of multiparticle simulation is often limited by the computational speed of the particle-in-cell (PIC) algorithm. To achieve fast large-scale multiparticle simulation, avas uses a parallel framework implemented in c++ and improves related algorithms. Specifically, the PIC algorithm has been modified based on symmetry, resulting in the S-PICNIC algorithm. Under the test conditions described in this paper, compared to the standard algorithm, the S-PICNIC algorithm can accelerate the process of solving the space charge field by 4 times while maintaining the simulation accuracy. In addition, avas uses a combined particle motion mode that switches between two modes (using either time or position as the independent variable) based on the element type. This adaptive switching effectively balances the accuracy and speed of numerical simulation. This method has enabled the fast simulation of over 100 million macroparticles. Furthermore, avas uses object-oriented programming methods, where objects are designed based on real physical objects. This design allows avas to preset operating parameters through numerical simulation. In the test, avas successfully preset the operating parameters of the superconducting section of the Chinese ADS front-end demonstration linear Accelerator, resulting in a negligible beam loss and a deviation between the energy set value and the actual measured value of about 0.5%. This paper introduces the structure of the program and related physical models. Benchmark results are also discussed to verify the reliability of the code.http://doi.org/10.1103/PhysRevAccelBeams.28.044602
spellingShingle Chao Jin
Zhijun Wang
Xin Qi
Yuan He
Zhongyi Li
Kunxiang Sun
Xiaolong Chen
Chi Feng
Xiaoying Zhao
Yaxin Hu
Yuan Tian
Kai Li
Advanced Virtual Accelerator Software: A linear accelerator simulation code
Physical Review Accelerators and Beams
title Advanced Virtual Accelerator Software: A linear accelerator simulation code
title_full Advanced Virtual Accelerator Software: A linear accelerator simulation code
title_fullStr Advanced Virtual Accelerator Software: A linear accelerator simulation code
title_full_unstemmed Advanced Virtual Accelerator Software: A linear accelerator simulation code
title_short Advanced Virtual Accelerator Software: A linear accelerator simulation code
title_sort advanced virtual accelerator software a linear accelerator simulation code
url http://doi.org/10.1103/PhysRevAccelBeams.28.044602
work_keys_str_mv AT chaojin advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT zhijunwang advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT xinqi advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT yuanhe advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT zhongyili advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT kunxiangsun advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT xiaolongchen advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT chifeng advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT xiaoyingzhao advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT yaxinhu advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT yuantian advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode
AT kaili advancedvirtualacceleratorsoftwarealinearacceleratorsimulationcode