Sapphire++:一种结合球谐展开与间断Galerkin方法的粒子输运代码
Sapphire++: A particle transport code combining a spherical harmonic expansion and the discontinuous Galerkin method
AI总结:
本文发布开源粒子输运代码 Sapphire++,通过球谐展开与间断 Galerkin 方法及隐式/显式时间步进求解天体物理 Vlasov-Fokker-Planck 方程,并以平行激波粒子加速验证其有效性。
摘要:
我们介绍 Sapphire++,这是一款旨在为天体物理应用数值求解 Vlasov-Fokker-Planck 方程的开源代码。Sapphire++ 采用基于分布函数球谐展开的数值算法,将 Vlasov-Fokker-Planck 方程表示为一组支配展开系数演化的偏微分方程。该代码利用间断 Galerkin 方法,并结合隐式和显式时间步进方法来计算这些系数,从而在空间和时间精度的选择上提供显著的灵活性。我们通过示例展示代码的有效性。特别是,我们模拟了平行激波处测试粒子的加速过程,并将结果与解析预测进行比较。Sapphire++ 代码(https://github.com/sapphirepp/sapphirepp)作为免费开源工具提供给社区使用。
英文摘要:
We present Sapphire++, an open-source code designed to numerically solve the Vlasov-Fokker-Planck equation for astrophysical applications. Sapphire++ employs a numerical algorithm based on a spherical harmonic expansion of the distribution function, expressing the Vlasov-Fokker-Planck equation as a system of partial differential equations governing the evolution of the expansion coefficients. The code utilises the discontinuous Galerkin method in conjunction with implicit and explicit time stepping methods to compute these coefficients, providing significant flexibility in its choice of spatial and temporal accuracy. We showcase the code's validity using examples. In particular, we simulate the acceleration of test particles at a parallel shock and compare the results to analytical predictions. The Sapphire++ code (https://github.com/sapphirepp/sapphirepp) is available as a free and open-source tool for the community.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。