目前离子发动机光学系统数值模拟大多采用PIC方法,由于该方法需要跟踪单个粒子的运动,因此需要存储每个粒子的位置信息与运动信息。传统的粒子模拟程序中,保存粒子信息大多采用数组的方式,但是采用这种方式存在弊端,例如对粒子总数变化的自适应不好。基于此开发了一种使用链式存储结构的粒子模拟程序,该程序使用带头节点的单向链表存储粒子信息。使用基于链式存储结构的PIC方法对离子发动机光学系统进行了粒子模拟,验证了链式粒子信息存储方法在粒子模拟中的可用性。模拟表明:(1)在粒子模拟中采用链式存储结构存储粒子信息,无需预先指定最大粒子总数,程序可自适应粒子总数的变化,因此无需进行试算,节省了计算时间;(2)在粒子模拟中采用链式存储结构,由于不存在内存资源的浪费,因而可显著提高程序的存储效率与计算效率。
At present the PIC method is often adopted in the numerical simulation of ion thruster optical system. In the PIC method, the movement of the single particles needs to be traced, so the information of particles must be saved. In the traditional particle simulation program array is used to save the information of particles, in which the disadvantage is that the array can not a- dapt to the variation of the particle quantity. In this paper, a particle simulation program based on linked list storage structure is developed, in which the single linked list is used as the save method. Based on this method, the plasma particle simulation of ion thruster optics is carried out by PIC method, so that the feasibility of applying the linked list method to the particle simulation is validated. The simulation results show that if the linked list method is used in the particle simulation, (1) the program will adapt to the variation of the total particle number, so there will be no pre-specification of the maximal particle number and no pre-calculation, and also the calculation time will be saved, (2) there is no consumption of the memory resource, so the storage efficiency and calculation efficiency is enhanced.