# 测试粒子模拟

测试粒子模拟追踪带电粒子在给定电磁场中的运动轨迹，求解运动方程时不自洽地计算场，也不允许粒子对场产生反作用。在空间和天体物理等离子体物理中，它被用来测量粒子在给定场位形——通常是湍流磁场、磁层模型或激波——中如何被输运、散射和加速。

该方法在等离子体模拟方法中处于中间位置。准线性理论——在2020年一篇综述之前约50年间占主导地位的输运范式——以统计方式处理输运，而测试粒子模拟追踪单个轨道，用于检验输运理论并直接计算扩散系数。<sup>[1](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)</sup>由于粒子感受场但不改变场，该方法回答的是粒子对已知场的响应问题，而非场本身如何演化的问题。<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心思想 | 在给定场中求解牛顿–洛伦兹方程，忽略粒子对这些场的贡献<sup>[1](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)</sup> |
| 积分方程 | 完整洛伦兹力，或当场尺度长度远大于拉莫尔半径时采用导向中心近似<sup>[3](https://space.fmi.fi/graduateschool/SimulationStuff/Acc_exercise.pdf)</sup> |
| 标准积分器 | Boris算法，时间二阶精度，在磁场回旋过程中守恒动能<sup>[4](https://link.springer.com/article/10.1186/s40623-023-01902-8)</sup> |
| 形式 | 四种：前向刘维尔、后向刘维尔、轨迹采样和前向蒙特卡洛<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup> |
| 系综规模 | 常规运行可达\( 10^{9} \)个测试粒子；相对统计误差按\( 1/\sqrt{N} \)缩放<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup> |
| 主要诊断量 | 福克–普朗克系数、投掷角扩散\( D_{\mu\mu} \)和漂移元\( \kappa_{\mathrm{A}} \)<sup>[1](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)</sup> |
| 核心局限 | 粒子对场无反馈，因此给定场必须接近自洽<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup> |

## 工作原理

该方法将麦克斯韦方程组与粒子运动解耦：电磁场\( \vec{E} \)、\( \vec{B} \)来自另一次模拟、解析模型或观测，然后粒子轨迹在其中积分。<sup>[5](https://plan.events.mpg.de/event/152/sessions/197/attachments/233/592/Test%20particle%20simulations%20%28Patricio%20Munoz,%20Jan%20Benacek%29.pdf)</sup>在全轨道形式中，直接对每个粒子求解牛顿–洛伦兹方程。<sup>[1](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)</sup>

有两种描述层次可供选择。导向中心近似用导向中心的轨迹替代实际轨迹，导向中心通过对轨道在快速回旋运动上取平均得到；当场的最小尺度长度远大于粒子拉莫尔半径时，该近似成立。<sup>[3](https://space.fmi.fi/graduateschool/SimulationStuff/Acc_exercise.pdf)</sup>由于无需分辨回旋运动，整体运动可以用相对较大的时间步长追踪，从而减少累积误差和计算时间。<sup>[6](https://ar5iv.labs.arxiv.org/html/1112.3487)</sup>

积分器的选择对精度有实质性影响。Boris算法是等离子体模拟中事实上的粒子推进器，时间二阶精度，在磁场中回旋时守恒动能，并给出精确的非相对论\( \vec{E} \times \vec{B} \)漂移速度，但每个时间步的回旋角存在数值误差。<sup>[4](https://link.springer.com/article/10.1186/s40623-023-01902-8)</sup>它守恒相空间体积，尽管并非辛格式。<sup>[5](https://plan.events.mpg.de/event/152/sessions/197/attachments/233/592/Test%20particle%20simulations%20%28Patricio%20Munoz,%20Jan%20Benacek%29.pdf)</sup>经典四阶龙格–库塔法（RK4）每步数值精度高，但不满足任何守恒定律，因此长期Boris轨迹可能更精确。<sup>[4](https://link.springer.com/article/10.1186/s40623-023-01902-8)</sup>高阶辛格式需要标量势和矢量势及其导数，而简单的蛙跳或显式龙格–库塔格式只需要\( \vec{B} \)和\( \vec{E} \)。<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup>

## 实施方法

典型工作流程有四个阶段。第一，构建或导入场模型，例如合成湍流的一个实现或MHD模拟的一个快照。<sup>[1](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)</sup>第二，用选定的位置、速度和能量初始化粒子。第三，用选定的推进器积分轨迹。在Boris方案中，电场力和磁场力被分为三部分：半步电场力推进、整步磁场力引起的速度旋转和后半步电场力推进。<sup>[5](https://plan.events.mpg.de/event/152/sessions/197/attachments/233/592/Test%20particle%20simulations%20%28Patricio%20Munoz,%20Jan%20Benacek%29.pdf)</sup>另一种二阶辛蛙跳格式交替计算\( \vec{x} \)和\( \vec{v} \)，位置在\( \Delta t \)的整数倍处，速度在半整数倍处，类似于速度Verlet法。<sup>[5](https://plan.events.mpg.de/event/152/sessions/197/attachments/233/592/Test%20particle%20simulations%20%28Patricio%20Munoz,%20Jan%20Benacek%29.pdf)</sup>软件包可自动化这一过程：PlasmaPy的ParticleTracker用Boris算法推动粒子穿过给定的\( E \)和\( B \)场网格，通过插值网格找到每个粒子处的局部场。<sup>[7](https://docs.plasmapy.org/en/latest/api/plasmapy.simulation.particle%5Ftracker.particle%5Ftracker.ParticleTracker.html)</sup>

时间步长和分辨率的选择由已发表的基准测试说明。一项研究以固定步长\( \Delta t = 10^{-2} \times 2\pi/\alpha \)推动粒子穿过静态MHD快照，使得典型的回旋周期\( T_{\mathrm{g}} = 2\pi/\alpha \)被100步分辨。<sup>[8](https://beta.iopscience.iop.org/article/10.3847/1538-4365/adb432)</sup>一项宇宙线基准测试使用湍流水平\( \delta B/B_{0} = 0.5 \)、50:50的板状:二维混合、相关长度\( \lambda_{\parallel} = 0.5 \)光秒、磁场长度为10天文单位，采用RKF45积分器，误差容限为\( 1 \times 10^{-8} \)。<sup>[9](https://iopscience.iop.org/article/10.3847/1538-4357/ad479c/meta)</sup>

最后，从系综中提取统计量。给定足够多测试粒子的轨迹，可以数值计算福克–普朗克（扩散）系数<sup>[1](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)</sup>，包括投掷角散射系数\( D_{\mu\mu} \)和扩散张量的反对称漂移元\( \kappa_{\mathrm{A}} \)，并将输运分类为扩散性、亚扩散性或超扩散性。<sup>[1](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)</sup>必须针对系综规模检查收敛性：一项基准测试发现，五次场实现和2000个粒子的系综足以获得收敛的扩散系数统计，但这接近下限<sup>[9](https://iopscience.iop.org/article/10.3847/1538-4357/ad479c/meta)</sup>，而综述文献报告常规运行使用多达\( 10^{9} \)个粒子，误差按\( 1/\sqrt{N} \)缩放。<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup>

## 起源

完全电离等离子体中的测试粒子问题由诺曼·罗斯托克（Norman Rostoker）和M. N. 罗森布鲁斯（M. N. Rosenbluth）于1960年在《流体物理学》上正式处理，这是测试粒子概念在等离子体动理论中的早期应用。<sup>[10](https://doi.org/10.1063/1.1705998)</sup>辐射带粒子动力学的理论研究可追溯到1960年前后，诺思罗普（Northrop）和泰勒（Teller，1960）、德拉格特（Dragt，1965）和法尔特哈马尔（Fälthammar，1965）的工作为理解早期空间任务发现的辐射带提供了基础。<sup>[11](https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2019JA026735)</sup>

磁层物理中的轨迹追踪随后出现。轨迹可视化的早期应用是一项关于太阳风质子穿透邓吉（Dungey）开放磁层的研究，以及对观测到的极光粒子分布的可能解释。<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup>1978年《地球物理研究杂志》的一篇论文追踪了磁层中约1–100 keV质子的带电粒子轨迹，这些质子由探险者45号（S³-A）在等离子体层顶附近观测到，与磁层亚暴和质子谱图中的“鼻”结构有关。<sup>[12](https://agupubs.onlinelibrary.wiley.com/doi/10.1029/JA083iA10p04798)</sup>反向的测试动理学变体被R. 马尚（R. Marchand）及其同事在2008年《等离子体物理与受控聚变》的一篇论文中用于检验全局MHD模拟的自洽性。<sup>[13](https://doi.org/10.1088/0741-3335/50/7/074007)</sup>

## 变体

测试粒子方法有四种形式：前向刘维尔、后向刘维尔、轨迹采样和前向蒙特卡洛。<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup>前向和后向刘维尔方法假定等离子体可由弗拉索夫方程很好地描述，且单粒子刘维尔定理成立，而轨迹采样和前向蒙特卡洛如果加入库仑碰撞或电荷交换等随机力，则不限于无碰撞条件。<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup>

时间后向变体从指定相空间点积分轨迹回到输入区域，并通过刘维尔定理恢复分布函数，\( f(\vec{r}_{1}, \vec{v}_{1}, t_{1}) = f(\vec{r}_{0}, \vec{v}_{0}, t_{0}) \)。由于不受统计采样误差影响，它适用于分布函数较小的区域。<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup>

积分器变体针对相对论和大步长情形。Vay积分器和Higuera–Cary积分器减小了Boris方案的相对论\( \vec{E} \times \vec{B} \)漂移误差，但仅在速度矢量接近导向中心速度时有效。<sup>[4](https://link.springer.com/article/10.1186/s40623-023-01902-8)</sup>Umeda积分器给出精确的相对论\( \vec{E} \times \vec{B} \)漂移速度，但仍为二阶，且相对论回旋角存在数值误差。<sup>[4](https://link.springer.com/article/10.1186/s40623-023-01902-8)</sup>一种改进的Boris型积分器在大步长\( h \gg \varepsilon \)下近似运动的导向中心，而无需分辨回旋运动。<sup>[14](https://link.springer.com/article/10.1007/s10543-023-00951-5)</sup>

## 应用

宇宙线输运是主要应用领域。模拟生成湍流磁场的实现，并对高能粒子求解牛顿–洛伦兹方程，探索弹道输运与扩散输运阶段之间的过渡，以及宇宙线小尺度各向异性等随机效应。<sup>[1](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)</sup>

在辐射带物理中，准线性扩散和测试粒子方法都给出扩散系数，量化波粒相互作用时间尺度，并解释粒子如何沉降到大气中或加速到更高能量；通过调整环境参数，这些方法可适用于木星和土星等行星辐射带。<sup>[15](https://koreascience.kr/article/JAKO202404861561676.page)</sup>磁层追踪仍在使用，从1978年对1–100 keV质子的等离子体层顶研究<sup>[12](https://agupubs.onlinelibrary.wiley.com/doi/10.1029/JA083iA10p04798)</sup>到尖点粒子进入研究——其中约300万个离子-电子对被注入静态场，测试粒子方法再现了尖点热点，尽管高度低于完整的PIC模拟。<sup>[16](https://jesphys.ut.ac.ir/article_60291_38b0ec911d887f766a1bee408b26b3d1.pdf?lang=en)</sup>在行星际激波方面，2026年的一项研究在每次激波穿越时对被追踪粒子添加一阶费米型能量增益，再现了70 keV的种子粒子群。<sup>[17](https://www.aanda.org/articles/aa/pdf/2026/06/aa59462-26.pdf)</sup>

## 局限与替代方案

该方法的核心局限是非自洽性：粒子轨迹对场没有反馈，因此有效性要求给定场接近自洽。可以通过比较测试粒子分布的矩与宏观密度、通量或电流密度来评估自洽性。<sup>[2](https://www.global-sci.com/cicp/article/view/5734)</sup>由于场是静态或给定的，该方法无法捕捉与行星际磁场旋转相关的物理，而这在日地模拟中很重要。<sup>[16](https://jesphys.ut.ac.ir/article_60291_38b0ec911d887f766a1bee408b26b3d1.pdf?lang=en)</sup>

将可压缩霍尔-MHD磁流体中的测试质子与自洽混合PIC粒子直接比较，发现测试粒子情形温度更高，并得出结论：虽然测试粒子捕捉了自洽对应物的一些定性特征，“但它们遗漏了更精细的现象，且倾向于高估能量增益”；在测试粒子情景中，超热粒子最终占据整个区域，而在自洽情形中它们仍局限于特定区域。<sup>[18](https://doi.org/10.48550/arxiv.2411.18771)</sup>

相对于准线性理论，分工是统计与个体之别：准线性扩散模拟适合许多粒子的集体动力学，而测试粒子模拟分辨个体运动，揭示相位捕获和相位聚束等非线性现象。<sup>[15](https://koreascience.kr/article/JAKO202404861561676.page)</sup>完整PIC和混合模拟更昂贵，因为它们自洽地演化场以及数十亿粒子。<sup>[19](https://arxiv.org/html/2501.17537)</sup>

## References

1. [Test particle simulations of cosmic rays (Astrophysics and Space Science, 2020)](https://springerlink.fh-diploma.de/article/10.1007/s10509-020-03832-3)
2. [Test-Particle Simulation of Space Plasmas (Communications in Computational Physics)](https://www.global-sci.com/cicp/article/view/5734)
3. [Test-particle acceleration simulations (exercise notes, Finnish Meteorological Institute)](https://space.fmi.fi/graduateschool/SimulationStuff/Acc_exercise.pdf)
4. [Advanced numerical techniques for time integration of relativistic equations of motion for charged particles (Earth, Planets and Space, 2023)](https://link.springer.com/article/10.1186/s40623-023-01902-8)
5. [Test particle simulations (Patricio Munoz, Jan Benacek) (plan.events.mpg.de)](https://plan.events.mpg.de/event/152/sessions/197/attachments/233/592/Test%20particle%20simulations%20%28Patricio%20Munoz,%20Jan%20Benacek%29.pdf)
6. [Trajectories of charged particles trapped in Earth's magnetic field](https://ar5iv.labs.arxiv.org/html/1112.3487)
7. [ParticleTracker, PlasmaPy documentation](https://docs.plasmapy.org/en/latest/api/plasmapy.simulation.particle%5Ftracker.particle%5Ftracker.ParticleTracker.html)
8. [Generation of Cosmic-Ray Trajectories by a Diffusion Model Trained on Test Particles in 3D Magnetohydrodynamic Turbulence (ApJS, 2025)](https://beta.iopscience.iop.org/article/10.3847/1538-4365/adb432)
9. [On Calculating Diffusion Coefficients Numerically in Synthetic Turbulence Using Particle Pushers (ApJ)](https://iopscience.iop.org/article/10.3847/1538-4357/ad479c/meta)
10. [Norman Rostoker, M. N. Rosenbluth (1960). Test Particles in a Completely Ionized Plasma. The Physics of Fluids.](https://doi.org/10.1063/1.1705998)
11. [Particle Dynamics in the Earth's Radiation Belts: Review of Current Research and Open Questions (JGR: Space Physics)](https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2019JA026735)
12. [Trajectory traces of charged particles in the magnetosphere (Journal of Geophysical Research, 1978)](https://agupubs.onlinelibrary.wiley.com/doi/10.1029/JA083iA10p04798)
13. [R Marchand and colleagues (2008). Consistency check of a global MHD simulation using the test-kinetic approach. Plasma Physics and Controlled Fusion.](https://doi.org/10.1088/0741-3335/50/7/074007)
14. [On a large-stepsize integrator for charged-particle dynamics (BIT Numerical Mathematics, 2023)](https://link.springer.com/article/10.1007/s10543-023-00951-5)
15. [Comparative Review of Numerical Approaches to Wave-Particle Interactions in the Earth's Radiation Belts: Quasi-Linear Diffusion vs. Test Particle Simulation (Journal of the Korean Astronomical Society, 2024)](https://koreascience.kr/article/JAKO202404861561676.page)
16. [Self-consistent hot spot tracing by kinetic simulations: with the emphasis on Cusp particle entry (Journal of the Earth and Space Physics, Iran)](https://jesphys.ut.ac.ir/article_60291_38b0ec911d887f766a1bee408b26b3d1.pdf?lang=en)
17. [Numerical investigation of particle acceleration at interplanetary shocks: Diffusive and superdiffusive scenarios (A&A, 2026)](https://www.aanda.org/articles/aa/pdf/2026/06/aa59462-26.pdf)
18. [Direct comparison of the energization of self-consistent charged particles vs test particles in a turbulent plasma](https://doi.org/10.48550/arxiv.2411.18771)
19. [Neural Networks for the Analysis of Traced Particles in Kinetic Plasma Simulations (arXiv, 2025)](https://arxiv.org/html/2501.17537)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 物质与辐射物理学 › Plasma physics › Magnetized plasmas and confinement › Magnetized plasma diagnostics and modeling

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/test-particle-simulation

English original: https://www.edgepedia.org/test-particle-simulation
