Field initialization for relativistic species

As explained in PIC algorithms, if a net charge is present at the beginning of the simulation, the initial electromagnetic fields are computed. For static charge distributions, the solution of Poisson’s equation will be necessary to find the initial electrostatic field. If the initial charge has a non-zero initial speed, in general the electric and magnetic field should be computed solving the full set of Maxwell’s equations or equivalently the potentials equations. In some physical setups of interest, one or more relativistic species are injected in a plasma. In these cases, the computation of the initial electromagnetic fields can be reduced to the solution of a modified version of Poisson’s equation.


The relativistic Poisson’s equation

From the continuity equation tρ+J=0 and Maxwell’s equations, it can be shown that the quantities B and Eρ do not change over time:

t(B)=0,t(Eρ)=tEtρ=(×BJ)tρ=(J+tρ).

Thus, if a simulation starts with ρ0, the electromagnetic fields must be properly initialized.

In the case of a static charge distribution, i.e. ρ0, J=0, the initial electrostatic potential Φ can be computed solving Poisson’s equation:

2Φ=ρ,

and then be integrated to find the initial electric field: E=Φ. The initial magnetic field B will be zero.

In general when the initial current J is not zero, the full set of fields equations should be solved to correctly initialize the electromagnetic fields.

However, if a species is already relativistic when the simulation starts, e.g. a relativistic electron bunch, its initial electromagnetic fields can be computed through a simplified procedure, described in [Vay2008], [Londrillo2014], [Massimo2016] and [Marocchino2018].

An important assumption of this calculation is that the species is highly relativistic, moving in the positive x direction, with negligible momentum spread. Under this hypothesis, the transverse components of the species current density are neglected and the four-current quadrivector can be written as:

(J,ρ)=(ρβ0,0,0,ρ),

where β0 is the initial mean velocity of the relativistic species. At least locally, the potentials A, Φ in the laboratory frame will be only function of xβ0t, as they are propagating with the species at uniform relativistic velocity.

In the relativistic species rest frame S, the charge distribution is static and the electrostatic potential in that reference frame Φ is related to the charge density in that reference frame ρ through Poisson’s equation:

(68)2Φ=ρ,

where the Laplacian operator is computed in the reference frame S:

2=x2+y2+z2.

The vector potential in the species rest frame can be set to zero: A=0. Through the above mentioned assumptions, it is possible to rewrite Eq. (68) only in terms of laboratory frame quantities.

Lorentz transformation of the four-vector (J,ρ) yields ρ=ρ/γ0, where γ0=1/1β02 is the average Lorentz factor of the relativistic species. Similarly, the potential Φ can be rewritten in terms of the potential in the laboratory frame: Φ=Φ/γ0. The Lorentz back-transformation of coordinates

x=γ0(x+β0t),t=γ0(t+β0x),y=y,z=z

allows to transform the derivatives in Eq. (68) as

x=γ0(x+β0t),y=y,z=z.

The partial derivative along the x direction can be further simplified, through the hypothesis of temporary dependence of all quantities on xβ0t, implying t=β0x:

x=1γ0x.

Equation (68) can thus be rewritten as

(69)(1γ02x2+2)Φ=ρ,

here informally referred to as the relativistic Poisson’s equation. In Smilei, as for Eq. (68), the solution of the relativistic Poisson’s equation is performed through the conjugate gradient method.

Once the potential Φ is found, we can compute all the components of the electromagnetic field, using again the relations t=β0x, Φ=Φ/γ0 and the Lorentz back-transformation of the vector potential A:

Ax=γ0(Ax+β0Φ)=γ0β0Φ=β0Φ,Ay=Ay=0,Az=Az=0.

From all these relations, the electromagnetic field can be computed as usual, through the definitions of potentials E=ΦtA, B=×A:

Ex=xΦtAx=xΦ+β02xΦ=1γ02xΦ,Ey=yΦtAy=yΦ,Ez=zΦtAz=zΦ,Bx=yAzzAy=0,By=zAxxAz=zAx=β0zΦ=β0Ez,Bz=xAyyAx=yAx=β0yΦ=β0Ey,

or in more compact form: E=(1γ02xΦ,yΦ,zΦ), B=β0x^×E.

From the previous equations, it can be inferred that, in a 1D cartesian geometry, the fields computed through this procedure equal those obtained through the standard Poisson’s problem. This can also be inferred from the relativistic transformations of fields, which conserve the x components of the electromagnetic fields for boosts in the x direction.


Recommendations for relativistic species field initialization

In Smilei, each species can independently benefit from this field initialization procedure. Its field will be initialized when the species will start to move, in order not to interfere with the other species’ dynamics. The initialized fields will be superimposed to the electromagnetic fields already present in the simulation. To have physically meaningful results, we recommend to place a species which requires this method of field initialization far from other species, otherwise the latter could experience instantaneous unphysical forces by the relativistic species’ fields.

Remember that the transverse field of a moving charge with relativistic factor γ is greater than the electrostatic transverse field of that charge, by a factor γ. This means that for highly relativistic particles, you will need to use a transversely large simulation window to let the field decrease enough to reduce border effects during its propagation. A complete absence of boundary effects in this case would be provided by perfectly absorbing boundary conditions, which are not implemented yet in the code. If the relativistic species propagates in a plasma, these border effects could be partially screened by the plasma.

A relativistic mean velocity in the x or x direction and a negligible energy spread are assumed for each species in the hypotheses of this procedure. In particular it is assumed that all px of the macro-particles of a species are of the same sign. The user must ensure these conditions when defining the species requiring field initialization in the namelist. In order to describe a non-monoenergetic species, it is necessary to divide it into into several sub-species for which the assumptions hold.


References