Implementation of a Mesh refinement algorithm into the quasi-static PIC code QuickPIC

IF 3.8 2区 物理与天体物理 Q2 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Q. Su , F. Li , W. An , V. Decyk , Y. Zhao , L. Hildebrand , T.N. Dalichaouch , S. Zhou , E.P. Alves , A.S. Almgren , W.B. Mori
{"title":"Implementation of a Mesh refinement algorithm into the quasi-static PIC code QuickPIC","authors":"Q. Su ,&nbsp;F. Li ,&nbsp;W. An ,&nbsp;V. Decyk ,&nbsp;Y. Zhao ,&nbsp;L. Hildebrand ,&nbsp;T.N. Dalichaouch ,&nbsp;S. Zhou ,&nbsp;E.P. Alves ,&nbsp;A.S. Almgren ,&nbsp;W.B. Mori","doi":"10.1016/j.jcp.2025.114225","DOIUrl":null,"url":null,"abstract":"<div><div>Plasma-based acceleration (PBA) has emerged as a promising candidate for the accelerator technology used to build a future linear collider and/or an advanced light source. In PBA, a trailing or witness particle beam is accelerated in the plasma wave wakefield (WF) created by a laser or particle beam driver. The WF is often nonlinear and involves the crossing of plasma particle trajectories in real space and thus particle-in-cell methods are used. The distance over which the drive beam evolves is several orders of magnitude larger than the wake wavelength. This large disparity in length scales is amenable to the quasi-static approach. Three-dimensional (3D), quasi-static (QS), particle-in-cell (PIC) codes, e.g., QuickPIC, have been shown to provide high fidelity simulation capability with 2-4 orders of magnitude speedup over 3D fully explicit PIC codes. In PBA, the witness beam needs to be matched to the focusing forces of the WF to reduce the emittance growth. In some linear collider designs, the matched spot size of the witness beam can be 2 to 3 orders of magnitude smaller than the spot size (and wavelength) of the wakefield. Such an additional disparity in length scales is ideal for mesh refinement where the WF within the witness beam is described on a finer mesh than the rest of the WF. A mesh refinement scheme is described that has been implemented into the 3D QS PIC code, QuickPIC. Very fine (high) resolution is used in a small spatial region that includes the witness beam and progressively coarser resolutions in the rest of the simulation domain. A fast multigrid Poisson solver has been implemented for the field solve on the refined meshes and a Fast Fourier Transform (FFT) based Poisson solver is used for the coarse mesh. The code has been parallelized with both MPI and OpenMP, and the parallel scalability has also been improved by using pipelining. A preliminary adaptive mesh refinement technique is described to optimize the computational time for simulations with an evolving witness beam size. Several test problems are used to verify that the mesh refinement algorithm provides accurate results. Additionally, the results are benchmarked against highly resolved simulations exhibiting near-azimuthal symmetry, performed using QPAD—a novel hybrid QS PIC code that uses a PIC description in the coordinates <span><math><mrow><mo>(</mo><mi>r</mi><mo>,</mo><mi>c</mi><mi>t</mi><mo>−</mo><mi>z</mi><mo>)</mo></mrow></math></span> and a gridless description in the azimuthal angle, <span><math><mi>ϕ</mi></math></span>.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"539 ","pages":"Article 114225"},"PeriodicalIF":3.8000,"publicationDate":"2025-07-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computational Physics","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S002199912500508X","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

Plasma-based acceleration (PBA) has emerged as a promising candidate for the accelerator technology used to build a future linear collider and/or an advanced light source. In PBA, a trailing or witness particle beam is accelerated in the plasma wave wakefield (WF) created by a laser or particle beam driver. The WF is often nonlinear and involves the crossing of plasma particle trajectories in real space and thus particle-in-cell methods are used. The distance over which the drive beam evolves is several orders of magnitude larger than the wake wavelength. This large disparity in length scales is amenable to the quasi-static approach. Three-dimensional (3D), quasi-static (QS), particle-in-cell (PIC) codes, e.g., QuickPIC, have been shown to provide high fidelity simulation capability with 2-4 orders of magnitude speedup over 3D fully explicit PIC codes. In PBA, the witness beam needs to be matched to the focusing forces of the WF to reduce the emittance growth. In some linear collider designs, the matched spot size of the witness beam can be 2 to 3 orders of magnitude smaller than the spot size (and wavelength) of the wakefield. Such an additional disparity in length scales is ideal for mesh refinement where the WF within the witness beam is described on a finer mesh than the rest of the WF. A mesh refinement scheme is described that has been implemented into the 3D QS PIC code, QuickPIC. Very fine (high) resolution is used in a small spatial region that includes the witness beam and progressively coarser resolutions in the rest of the simulation domain. A fast multigrid Poisson solver has been implemented for the field solve on the refined meshes and a Fast Fourier Transform (FFT) based Poisson solver is used for the coarse mesh. The code has been parallelized with both MPI and OpenMP, and the parallel scalability has also been improved by using pipelining. A preliminary adaptive mesh refinement technique is described to optimize the computational time for simulations with an evolving witness beam size. Several test problems are used to verify that the mesh refinement algorithm provides accurate results. Additionally, the results are benchmarked against highly resolved simulations exhibiting near-azimuthal symmetry, performed using QPAD—a novel hybrid QS PIC code that uses a PIC description in the coordinates (r,ctz) and a gridless description in the azimuthal angle, ϕ.
实现了一种网格细化算法的准静态PIC代码QuickPIC
基于等离子体的加速(PBA)已经成为一种很有前途的候选加速器技术,用于建造未来的线性对撞机和/或先进的光源。在PBA中,尾随或见证粒子束在由激光或粒子束驱动器产生的等离子体波尾流场(WF)中被加速。WF通常是非线性的,并且涉及到等离子体粒子轨迹在真实空间中的交叉,因此使用了粒子在细胞中的方法。驱动光束发展的距离比尾流波长大几个数量级。这种长度尺度上的巨大差异适用于准静态方法。三维(3D)、准静态(QS)、细胞内粒子(PIC)代码,例如QuickPIC,已被证明可以提供高保真仿真能力,比3D完全显式PIC代码的速度提高2-4个数量级。在PBA中,见证光束需要与WF的聚焦力相匹配以减小发射度增长。在一些线性对撞机设计中,目击光束的匹配光斑尺寸可以比尾流场的光斑尺寸(和波长)小2到3个数量级。这种在长度尺度上的额外差异对于网格细化是理想的,其中见证光束内的WF被描述在比WF其余部分更细的网格上。描述了一种网格细化方案,该方案已在3D QS PIC代码QuickPIC中实现。在包含见证光束的小空间区域中使用非常精细(高)的分辨率,在模拟域的其余部分使用逐渐粗糙的分辨率。采用基于快速傅立叶变换(fast Fourier Transform, FFT)的泊松求解器对粗网格进行场求解,采用快速多网格泊松求解器对细网格进行场求解。该代码已在MPI和OpenMP中并行化,并且通过使用流水线也提高了并行可伸缩性。介绍了一种初步的自适应网格细化技术,以优化具有不断变化的见证光束尺寸的模拟的计算时间。通过几个测试问题验证了网格细化算法的准确性。此外,结果对具有近方位对称性的高分辨率模拟进行基准测试,使用qpad -一种新型混合QS PIC代码,在坐标(r,ct−z)中使用PIC描述,在方位角(ϕ)中使用无网格描述。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Computational Physics
Journal of Computational Physics 物理-计算机:跨学科应用
CiteScore
7.60
自引率
14.60%
发文量
763
审稿时长
5.8 months
期刊介绍: Journal of Computational Physics thoroughly treats the computational aspects of physical problems, presenting techniques for the numerical solution of mathematical equations arising in all areas of physics. The journal seeks to emphasize methods that cross disciplinary boundaries. The Journal of Computational Physics also publishes short notes of 4 pages or less (including figures, tables, and references but excluding title pages). Letters to the Editor commenting on articles already published in this Journal will also be considered. Neither notes nor letters should have an abstract.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信