## Abstract

By analyzing bottleneck of numerical study on six-dimensional (6D) phase space dynamics of electron beam, we present a universal and practical scheme of exactly simulating the 3D dynamics through available computer group condition. In this scheme, the exact 6D phase space dynamics is warranted by exact solutions of 3D self-consistent fields of electron beam.

### Keywords

- Vlasov-Maxwell system
- electron beam
- phase space dynamics
- microscopic distribution function
- self-consistent fields

## 1. Introduction

The dynamics of electron beam in various man-made apparatus is a kernel content of accelerator/beam physics [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]. Such a beam can be described by well-known Vlasov-Maxwell (V-M) equations [1, 2, 3, 12, 13, 14]. Because usually the number of realistic particles (each has a mass * m*and a charge

_{e}

*) in an electron beam is at astronomical figure level, it is really a huge challenge to calculate realistic 3D dynamics of such a beam even through the most advanced computer groups available currently.*e

This can be well illustrated by following rough estimation. An electron needs to be described by six real-valued variables (for its three position components and three velocity components), and each real-valued variable will cost ~24 byte storage mount. For a realistic beam with a total charge at * pC*level, the number of realistic particles it contains will be about 10

^{−12 + 19}/1.6~6.3 × 10

^{7}and hence corresponds to 1.5 GB storage mount. If numerical experiment is conducted through a single-CPU computer, according to the most advanced personal computer currently available, 1.5 GB can be contained in the memory which is commercially available at 4 GB level. Thus, if all data can be stored in the memory, time-consuming data exchange between the memory, a high-speed storage medium, and the disk, a low-speed storage medium, can be avoided and the time cost of updating these data per round will be determined by the time cycle of CPU, which is at

*level. Because updating a real-valued variable will spend several cycles (and hence tens*ns

*), the time cost for updating 1.5 GB data recording 6.3 × 10*ns

^{7}real-valued variables will be at minute level (if not taking into account the time cost for updating fields information). Because the time step is chosen to be sufficiently small even for explicit difference scheme, usually at least updating hundreds of times is needed for obtaining a snapshot of the beam at a specified time point. This implies at least hour-level time cost through the above-described most advanced computer condition currently. Of course, the larger the total charge is, the more the time cost is (if the data for the beam is still able to be contained in a memory).

Above discussion has clearly revealed that only for low-charge beam, the numerical experiment, which is based on explicit difference scheme, can be conducted on a single-CPU computer. Therefore, for more general cases with high-charge beam, people have to resort to computer group and parallel code. In such a situation, if data are not exchanged between high-speed memory and low-speed disk, the bottleneck of the experiment is not the time cycle of a CPU but that of the main board which might be several folds of that of the CPU and affect the dispatch of data bus responsible for data dispatch among CPUs. Sufficient CPUs can offset the effect of the time cycle of the main board. But the fact that the larger the total charge is, the more the time cost is still exists. Thus, for * nC*-level beam and stricter implicit-difference-scheme of updating fields, CPUs’ number in thousand levels is still unable to do as one would wish.

The contradiction between feasible computers’ condition and large amount of data describing realistic beams often force researchers to make some compromises. Merging * N* > 1 realistic particles (each is of a mass

*and a charge*m

_{e}

*) into a macroparticle (of a mass*e

*and a charge*Nm

_{e}

*) is a common compromise. Merging can cause less data mount for describing a beam and hence can speed up numerical experiment. Therefore, it is broadly adopted in popular scheme of simulating particle dynamics, such as particle-in-cell (PIC) simulation [15, 16].*Ne

Although merging can speed up the numerical experiment, it is at the cost of the reliability of the experiment. Let us analyze what will happen when * N* = 2. If there are

*realistic particles in a beam, describing the beam will need 6*l

*functions: {*l

*(*x

_{i}

*),*t

*(*y

_{i}

*),*t

*(*z

_{i}

*),*t

*(*d

_{t}x

_{i}

*),*t

*(*d

_{t}y

_{i}

*),*t

*(*d

_{t}z

_{i}

*)} and 1 = <*t

*= <*i

*. Usually, the merging is based on the following principle: at*l

*= 0, each realistic particle merges the nearest neighbor particle. Thus, no matter how large the difference between the initial velocities of any two merged particles, denoted as*t

*,*d

_{t}x

*,*y

z

_{2k}(

*= 0) −*t

*,*d

_{t}x

*,*y

z

_{2k + 1}(

*= 0), is,*t

*,*d

_{t}x

*,*y

z

_{2k}−

*,*d

_{t}x

*,*y

z

_{2k + 1}is always taken as 0 or the 2

*th realistic particle is always bound with the 2*k

*+ 1th one (their relative motion is ignored completely). This is a distorted description. The 2*k

*th realistic particle and the 2*k

*+ 1th one, if they have the same initial positions*k

*,*x

*,*y

z

_{2k}(

*= 0) =*t

*,*x

*,*y

z

_{2k + 1}(

*= 0), tend to move to different destinations at the next time point 0 + Δ*t

*(where Δ*t

*is the time step), because of their different initial velocities*t

*,*d

_{t}x

*,*y

z

_{2k}(

*= 0) and*t

*,*d

_{t}x

*,*y

z

_{2k + 1}(

*= 0). Namely, actual picture should be described as follows: at every time point*t

*, a macroparticle will break into*t

*equal pieces having their own destinations at*N

*+ Δ*t

*, rather than globally move into a destination at*t

*+ Δ*t

*or being equivalently expressed as: each macroparticle at*t

*is a gathering of*t

*equal pieces from different sources at*N

*− Δ*t

*. Because of the distorted description, we briefly summarize the merging as the rigid-macroparticle approximation which refers to a macroparticle having a fixed mass*t

*and a fixed charge*Nm

_{e}

*.*Ne

The direct result of the rigid-macroparticle approximation is that the charge density profile * n*of the beam at next time point

*+ Δ*t

*is distorted, and hence the self-consistent electric field*t

*(meeting ∇ ·*E

*=*E

*) is inexact. If the dynamics calculation cannot be satisfactory even over a short time scale down to the time step Δ*ne

*, it is hopeless to expect calculation over longer time scale which is multifold of Δ*t

*to be reliable.*t

Actually, even if computer condition is sufficiently advanced to directly calculate realistic particles, Newton equations (NEs) and Maxwell equations (MEs), complicated mathematical relation between * E*and

*, which is represented by*B

leads to considerable difficulty in setting up difference scheme of each NE

This is because that at any time * t*, although

*can be known from all particles’ information at*E

*,*t

*cannot. Due to the term ∂*B

*in Eq. (1), the information of*

_{t}E

*at*B

*have dependence on all particles’ information at*t

*+ Δ*t

*. This implies that the NE is a complicated differential equation of*t

*(*r

_{i}

*), and its difference scheme is difficult to be established. Namely, each difference version of Newton equation involves indeed all particles’ coordinates at*t

*+ Δ*t

*, i.e., {*t

*(*r

_{i}

*+ Δ*t

*); 1 = <*t

*= <*i

*}. Thus,*N

*difference versions form a linear equation set of {*N

*(*r

_{i}

*+ Δ*t

*); 1 = <*t

*= <*i

*} whose solutions involve inevitably a*N

*×*N

*matrix. The larger*N

*is, the more hopeless exact solution is.*N

Clearly, an exact or reliable dynamics calculation on any V-M system needs more in-depth exploring its universal properties, which can be favorable to avoid above-mentioned contradictions. In the following paragraph, we reveal some universal properties of the V-M system. Based on these universal properties, we establish a universal and practical scheme of exact dynamics calculation of any V-M system.

## 2. Universal properties of Vlasov-Maxwell system

It is well known that Vlasov equation (VE) * LF* =

_{υ}

*[*e

*(*E

*,*r

*) +*t

*×*υ

*(*B

*,*r

*)] represents the Lorentz force and*t

*(*p

*) =*υ

*Γ(*υ

*) and*υ

fd

^{3}

rd

^{3}

*=*υ

*tan*cons

*. We should notice an important fact: if a beam is a particle number conserved system, its any portion or subsystem is not always also particle number conserved. For an unconserved subsystem, its distribution function*t

*does not meet the VE. An unconserved subsystem means there are always realistic particles leaving it. A macroparticle is analogous to such an unconserved subsystem because it will break into equal pieces having different destinations at next time point*g

*+ Δ*t

*. Namely, there are always pieces leaving the macroparticle.*t

According to Maxwell equations (MEs), (* E*,

*) couples with (*B

M

_{0},

M

_{1}), where

*= ∫*M

_{i}

υ

^{i}fd

^{3}

*, and formally decouples with all*υ

M

_{i > = 2}. According to open fluid equations set

*, ∇*

_{t}M

_{i}

M

_{i + 1}and at least

M

_{i − 1}. This seems that exact solutions of all higher order moments

M

_{i > = 2}are necessary for that of (

*,*E

*). On the other hand, because*B

*(*p

*) and Γ(*υ

*) are nonlinear functions of*υ

*and hence − ∫*υ

*· ∂*υ

^{i}LF

_{υ}

_{p}fd

^{3}

*, a term in the equation*υ

*from*M

_{m}

*=*m

*to*i

*= ∞, each equation*m

*from*M

_{m}

*=*m

*to*i

*= ∞, and thus all equations*m

*= 1 to*i

*= ∞ will mean a ∞ × ∞ matrix describing the relation among all moments*i

*from*M

_{m}

*= 1 to*m

*= ∞. Clearly, obtaining exact solutions of (*m

*,*E

*) from such an open equation set*B

Another open set {* D*, 0 = <

_{i}

*< ∞}, where*i

*-set. Clearly,*M

D

_{0}= 0 and

D

_{1}= 0 automatically exist. Each equation

*-set*D

and coefficients * A*,

_{i}

*,*B

_{i}

*are known functionals of (*C

_{i}

*,*E

*,*B

M

_{0},

M

_{1}). Starting from the

*= 1 case, we can formally obtain an expression of*i

D

_{2}in all terms

D

_{i > = 3}and then substitute it into the

*= 2 case and formally obtain an expression of*i

D

_{3}in all terms

D

_{i > = 4}, etc. Finally, we will find that all

D

_{i > = 2}are determined by

D

_{∞}and all coefficients

*,*A

_{i}

*,*B

_{i}

*. Namely, the open equation set*C

_{i}

*,*E

*,*B

M

_{0},

M

_{1}).

According to MEs, (* E*,

*) depends on (*B

M

_{0},

M

_{1}) and is independent of the

*-set. Therefore, the exact solutions of the*D

*-set are not a necessary condition for those of (*D

*,*E

*). The open equation set*B

*and cannot have an effect on (*D

_{i}

*,*E

*,*B

M

_{0},

M

_{1}).

Two universal properties of any V-M system are favorable to achieve exact dynamics calculation. One is that the * f*of any V-M always has a thermal spread [18], or in stricter mathematical language, functions in a general form

*(*ɡ

*,*r

*)∗*t

*(*δ

*−*υ

*(*u

*,*r

*)), where*t

*and*ɡ

*are two functions of (*u

*,*r

*) and*t

*is Dirac function, cannot meet the VE or*δ

*, 0 = <*M

_{i}

*< ∞} has a closed subset {*i

M

_{0},

M

_{1}}, which meets a closed equation set. Detailed proof of the second universal property is presented below.

Due to the first universal property, the whole system can be viewed as a superposition of a cold subsystem denoted by * δ*is Dirac function, and a thermal subsystem denoted by

*−*f

*(*F

*). The cold subsystem inherits a part of each moment ∫*f

*(*υ

^{i}f

*,*r

*,*υ

*)*t

d

^{3}

*, so does the thermal subsystem. Namely, the cold subsystem has its own self-consistent field (*υ

*,*E

^{F}

*), where ∇ ·*B

^{F}

*~ ∫*E

^{F}

*(*F

*,*r

*,*υ

*)*t

d

^{3}

*and ∇ ×*υ

*~ ∫*B

^{F}

*(*υF

*,*r

*,*υ

*)*t

d

^{3}

*. Likewise, the thermal subsystem has its own self-consistent field (*υ

E

^{f − F},

B

^{f − F}), where

*=*E

*+*E

^{F}

E

^{f − F}and

*=*B

*+*B

^{F}

B

^{f − F}. (

*,*E

^{F}

*) plays a role of external fields to the thermal subsystem and so does (*B

^{F}

E

^{f − F},

B

^{f − F}) to the cold subsystem. In particular, two subsystems have a common fluid velocity:

*has a known dependence on*F

*, its higher order moments ∫*υ

υ

^{i > 1}

Fd

^{3}

*are of simple forms*υ

u

^{i > 1}∗ ∫ [

*∗*f

*(*δ

*−*υ

*)]*u

d

^{3}

*. The thermal subsystem inherits the thermal spread of*υ

*and hence all off-center moments, the dependence of*f

*−*f

*on*F

*is still unknown, and its higher-order moments ∫*υ

υ

^{i > 1}[

*−*f

*]*F

d

^{3}

*still obey a set of equations in infinite number. The equations of these higher-order moments ∫*υ

υ

^{i > 1}

Fd

^{3}

*in infinite number are found, as proven later, to be equivalent to an equation of*υ

Detailed strict proof has been made elsewhere [17, 18] (see the appendix of Ref. [17]).

Here, for convenience of readers, we briefly present the kernel of strict proof. For simplicity of symbols, we denote * F*as

n

_{0}

*(*δ

*−*υ

*), where*u

n

_{0}≡ ∫ [

*∗*f

*(*δ

*−*υ

*)]*u

d

^{3}

*< ∫*υ

fd

^{3}

*=*υ

M

_{0}. From the definition of

*, there is always*F

*(*d

_{υ}δ

*−*υ

*)*u

d

^{3}

*= 0, ∫ [*υ

*−*υ

*]∗*u

*(*δ

*−*υ

*)*u

d

^{3}

*= 0, ∫ [*υ

*−*υ

*]∗[*u

*· ∇ + (*υ

*· ∇*υ

*)∂*u

*]*

_{υ}

*(*δ

*−*υ

*)*u

d

^{3}

*= 0, and ∫ [*υ

*−*υ

*]∗*u

*(*W

*,*r

*,*υ

*)∗*t

*(*d

_{υ}δ

*−*υ

*)*u

d

^{3}

*= ∫ [*υ

*−*υ

*]∗*u

*(*W

*,*r

*,*υ

*)∣*t

_{ υ = u}∗

*(*d

_{υ}δ

*−*υ

*)*u

d

^{3}

*, where*υ

*(*W

*,*r

*,*υ

*) is the arbitrary function, the definition of Ω can be directly written as*t

which has a strict solution Ω = 0. Therefore, there is a theorem: For any V-M system, its * F*(

*) meets Ω = 0. Namely,*f

Due to 0 = ∫ ^{0}Ω^{3} * υ*, ∫

υ

^{1}Ω

d

^{3}

*= 0 will be be equivalent to [17, 18]*υ

For equations in infinite number 0 = ∫ ^{i > = 2}Ω^{3} * υ*, the Dirac function dependence of

*on*F

*makes all these equations indeed to be equivalent to a same equation, Eq. (5). This can be easily verified by simple algebra.*υ

Few authors use Eq. (5) to calculate (* E*,

*) in plasmas [17, 18, 19, 20, 21, 22]. As previously pointed out, the equation*B

D

_{i > = 2}. To determine these

D

_{i > = 2}, the whole set

The whole system is described by

Likewise, the cold subsystem by

and the thermal subsystem by

Two universal properties imply a universal scheme of exact dynamics calculation of any V-M system. That is, the VE * υ*Ω

^{i}

d

^{3}

*= 0, 0 = <*υ

*< ∞}, which implies a relation between*i

*,*E

*), which is also a relation between*B

*,*E

*). On the other hand, with the help of the CE*B

D

_{i > = 2}in terms of (

*,*E

*,*B

M

_{0},

M

_{1}). After obtaining exact solutions of (

*,*E

*,*B

M

_{0},

M

_{1}) from Eq. (2) and MEs, all

D

_{i > = 2}can be known through

This universal scheme gets rid of inevitable shortcomings of other methods. For example, well-known PIC simulation is to introduce macroparticle representation of initial distribution function and to calculate coupled evolution of these macroparticles and * E*and

*. As analyzed above, such a macroparticle is unrealistic because it approximates that all contained realistic particles always stay in it and completely ignore the fact that realistic particles can leave it. Moreover, because the coupled evolution is calculated in an alternatively updating manner, this makes calculated*B

*and*E

*to be dependent of the grainness parameter which reflects how many realistic particles are contained in a macroparticle and hence are not exact solutions of*B

*and*E

*. Thus, even if*B

*can be expressed through those macroparticles’ positions and velocities, inexact solutions of*f

*and*E

*make such an expression of*B

*to be inexact.*f

Therefore, even though advanced computer group is applied to PIC simulation, its abovementioned inherent shortcoming cannot warrant more advanced computer condition corresponding to Exacter solutions of * f*(because

*and*E

*are inexact solutions). Namely, advanced computer condition does not get reasonable usage. In contrast, if the phase space dynamics is conducted according to above-described manner based on six-equation set, the power of the advanced computer condition can be fully utilized to get higher resolution of exact solutions of*B

*(because*f

*and*E

*are exact solutions).*B

## 3. Universal properties of Newton-Maxwell system

Eq. (5) can also be derived from Newton-Maxwell (N-M) system, which contains * N*relativistic Newton equations (RNEs) and four MEs. Actually, for a group of electrons {

*,*r

_{i}

*}, we can always define two fields (in Lagrangian expression) [19]:*d

_{t}r

_{i}

which are fluid velocity field and relative velocity field, respectively. Especially, there is always a formula

where ≡ means the formula is automatically valid for any * r*(

_{i}

*). If applying ∇*t

_{ ri(t)}to this automatically valid formula, we will obtain another automatically valid formula:

Because * N*electrons are described by four MEs and

*RNEs, this automatically valid formula enables each RNE to be written as*N

where * RV*field, of course including a common value

*= 0, is that the following equation is valid:*RV

Its Euler expression reads

which is just Eq. (5). This motion equation of * u*(

*,*r

*) and four MEs form a closed five-equation set. No matter how large*t

*is, it merely means more*N

*-field fluid elements being calculated. Finer description of the*RV

*field will lead to Exacter information on thermal distribution, but the*RV

*-field has no contribution to the electric current and hence*RV

*and*E

*. Thus, the exact solutions of the*B

*+ 4 equation set (*N

*RNEs and four MEs) can be obtained from an*N

*+ 5 equation set (*N

*equations of*N

*(*RV

*(*r

_{i}

*),*t

*) and a closed five-equation set of (*t

*,*u

*,*E

*). Examples of electron density profile based on this closed five-equation set have been presented elsewhere [17, 18, 19, 20].*B

## 4. Examples of exact solution of phase space distribution

From Eq. (5) and MEs, we can find that * W* ≡ ∂

*(*

_{t}p

*) +*u

*/3 and*ZN

_{i}r

*×*u

*meeting a same equation [17, 18]. Further strict analysis reveals that this will lead to a self-consistent equation of*B

*[17, 18]:*u

where * Z*is ionic charge,

*is ionic density, and*N

_{i}

*is a constant vector determined by initial conditions. After solving*POT

*(*u

*,*r

*) from this equation,*t

*(*B

*,*r

*) will be known from a formula ∂*t

*+*

_{t}p

*/3 = −*ZN

_{i}r

*[*λ

*×*u

*] [17, 18], where*B

*≠ 1 is a constant, and then*λ

*(*E

*,*r

*) from*t

*= ∂*E

*+*

_{t}p

*×*u

*[17, 18].*B

Here, we give some typical exact solutions of the distribution of * f*over the

*-space [17, 19, 20, 21]. If*υ

*is an exact solution of the VE, any monovariable function of*f

*, or*f

*(*ɡ

*), is also an exact solution. Because Eq. (5) and MEs can have exact solutions of (*f

*,*E

*) in running-wave form,*B

*and*E

*,*B

*= − ∂*E

*. Here,*

_{t}B

It is easy to verify that any function of

where we have used the property

On the other hand, for more general ∇Φ, we can find that any monovariable function of

Therefore, for running-wave form, * u*:

Likewise, same procedure exists for more general ∇Φ and

Actually, a set of macroscopic functions (* E*,

*,*B

*) can have multiple microscopic solutions of the VE. Therefore, usually we know the distribution of*u

*over the*f

*-space from the initial condition*υ

*(*f

*,*r

*,*p

*= 0). From the function dependence of*t

*(*f

*,*r

*,*p

*= 0) on*t

*, we can obtain the function dependence of*p

*on*ɡ

*.*ɡ

Detailed procedure of determining the function form of * ɡ*is described as follows [9, 11]: we can seek for special space position

*in which*R

*, 0)|*r

_{ r = R}= 0, exists. The initial distribution at

*, i.e.,*R

*(*f

*,*R

*,*p

*= 0), is thus a monovariable function*t

*. At the same time, two expressions are equivalent, and hence there is*p

*(*f

*,*R

*,*p

*= 0) =*t

*(*ɡ

*+ Φ(*K

*, 0)) =*R

*(*ɡ

*), where*K

*, 0) = 0 (if ∇Φ(*R

*, 0)|*r

_{ r = R}= 0). Because of certain relations between

*and*p

*, once the expansion coefficient*K

*in*c

_{i}

*(*f

*,*R

*,*p

*= 0) = ∑*t

**

_{i}

*is known, the expansion coefficient*c

_{i}p

^{i}

*in*d

_{i}

*(*ɡ

*) = ∑*K

**

_{i}

*are also easy to be calculated.*d

_{i}K

^{i}

Clearly, BGK modes [23] are analytic exact solutions of the VE in * B* ≡ 0 case:

whose solutions are monovariable functions of * ϕ*is scalar potential and

*= − ∇*E

*. Moreover, there is a similar procedure of determining function form of*ϕ

*.*ɡ

We should note that * K*is a nonlinear function of

*and the maximum value of*υ

*or*K

K

_{max}is reached at

*is a Dirac function of*ɡ

*+ Φ,*K

*cannot be a Dirac function of*ɡ

*, i.e.,*υ

*~*ɡ

*(*δ

*−*υ

*(*u

*,*r

*)). The nonlinear function relation between*t

*and*K

*determines that*υ

*is at least a summation of two Dirac components:*ɡ

*=*ɡ

f

_{1}(

*,*r

*)*t

*(*δ

*−*υ

u

_{1}(

*,*r

*)) +*t

f

_{2}(

*,*r

*)*t

*(*δ

*−*υ

u

_{2}(

*,*r

*)) + …. This agrees with previous conclusion that functions of a general form*t

F

_{1}(

*,*r

*)*t

*(*δ

*−*υ

F

_{2}(

*,*r

*)) cannot meet the VE.*t

We should also note that, because of nonlinear function relation between * ɡ*and

*+ Φ, the maximum of*K

*, or*ɡ

ɡ

_{max}, is usually reached at

*+ Φ ≠*K

K

_{max}+ Φ. Namely, if

ɡ

_{max}is reached at

*=*K

K

_{ɡmax}, this

K

_{ɡmax}usually corresponds to two values of

*. In contrast,*υ

K

_{max}merely corresponds to a value of

*. Thus, the contour plot of*υ

*in the phase space will take on complicated structures, such as hole, island, etc. [17, 19].*ɡ

## 5. Summary

By analyzing the bottleneck of numerical study the 6D phase space dynamics of a V-M system, we present, based on two universal properties, a universal and practical scheme of exact dynamics calculation of any V-M system. Our scheme is to harness, to the largest extent, available computer group condition to obtain as exact as possible solution. It gets rid of some inherent factors (of other methods), which yield incorrect physical results.