The initial conditions of the particle are given by specifying the initial location (R,ϕ,Z), initial parallel velocity v∥, and the magnetic moment μ (which acts as a parameter since μ is exactly conserved). In some cases, we prefer to specify the initial velocity in terms of the initial kinetic energy 𝜀 and the initial pitch angle 𝜃 (the include angle between velocity and the local magnetic field). The relation between (𝜀,𝜃) and (v∥,μ) is given by
| (53) |
and
| (54) |
The relation between (𝜀,𝜃) and the normalized quantities (μ,v∥) is given by
| (55) |
and
| (56) |
There are three constants of motion for the guiding center motion, namely, the canonical toroidal angular momentum Pϕ, the magnetic moment μ, and the total kinetic energy 𝜀. Examining how well the kinetic energy 𝜀 and the toroidal angular momentum Pϕare conserved provides a way to evaluate the accuracy of the numerical code. The kinetic energy 𝜀 and toroidal angular momentum Pϕ are defined by
| (57) |
| (58) |
Define 𝜀n = mvn2 and Pϕn = ZeBnLn2, then the normalized forms of 𝜀 and Pϕ are written as
| (59) |