Particle-in-cell (PIC) codes usually represent large groups of particles as a single macroparticle. These codes are computationally efficient but lose information about the internal structure of the macroparticle. To improve the accuracy of these codes, this work presents a method in which, as well as tracking the macroparticle, the moments of the macroparticle are also tracked. Although the equations needed to track these moments are known, the coordinate transformations for moments where the space and time coordinates are mixed cannot be calculated using the standard method for representing moments. These coordinate transformations are important in astrophysical plasma, where there is no preferred coordinate system. This work uses the language of Schwartz distributions to calculate the coordinate transformations of moments. Both the moment tracking and coordinate transformation equations are tested by modelling the motion of uncharged particles in a circular orbit around a black hole in both Schwarzschild and Kruskal–Szekeres coordinates. Numerical testing shows that the error in tracking moments is small, and scales quadratically. This error can be improved by including higher order moments. By choosing an appropriate method for using these moments to deposit the charge back onto the grid, a full PIC code can be developed.
粒子インセル(PIC)コードは通常、粒子の大きな集団を単一のマクロ粒子として表現する。これらのコードは計算効率が高いが、マクロ粒子の内部構造に関する情報を失う。これらのコードの精度を向上させるために、本研究では、マクロ粒子の追跡に加えて、マクロ粒子のモーメントも追跡する方法を提示する。これらのモーメントを追跡するために必要な方程式は既知であるが、空間座標と時間座標が混在するモーメントの座標変換は、モーメントを表現する標準的な方法を用いて計算することはできない。これらの座標変換は、好ましい座標系が存在しない天体プラズマにおいて重要である。本研究では、シュワルツ超関数の言語を用いてモーメントの座標変換を計算する。モーメント追跡と座標変換の両方の方程式は、シュワルツシルト座標とクルスカル・セケレス座標の両方において、ブラックホールの周りを円軌道で運動する無電荷粒子の運動をモデル化することによってテストされる。数値テストにより、モーメント追跡の誤差は小さく、二次的にスケールすることが示される。この誤差は、高次モーメントを含めることによって改善できる。これらのモーメントを用いて電荷をグリッドに堆積する適切な方法を選択することにより、完全なPICコードを開発することができる。