天体物理学 > 高能天体物理现象
[提交于 2025年1月10日]
标题:Sapphire++: A particle transport code combining a spherical harmonic expansion and the discontinuous Galerkin method
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Florian Schulze[v1] 2025年1月10日 星期五 00:00:00 UTC