next up previous
Next: Review of Linear Results Up: Particle-In-Cell (PIC) Simulations of Previous: Introduction

PIC Simulation Models

The simulation model assumes that the beam electron dynamics is fully relativistic. The equations of motion of the particles are thus written as

  equation25

where tex2html_wrap_inline816 is the particle momentum, tex2html_wrap_inline818 is the relativistic factor, m and q are respectively the mass and the charge of the simulation particle and c is the velocity of light.

In the electrostatic approximation, the electric field is expressed in terms of an electric potential tex2html_wrap_inline826 and tex2html_wrap_inline828 is a static magnetic field imposed externally. tex2html_wrap_inline830 can, for example, be computed from a set of coils, using the Biot-Savart equations. Each particle is pushed using Eq. (1) which is time-discretized by the usual second order leapfrog scheme [5, 6]. Using the axisymmetry of the geometry and cylindrical coordinates in which the azimuthal coordinate tex2html_wrap_inline832 is an ignorable variable, the particle phase space coordinates are tex2html_wrap_inline834 and the charge density can be constructed from the ensemble of tex2html_wrap_inline836 electrons as

  equation52

The variational form of the Poisson equation, using the charge density as defined by Eq. (2), is then

  equation59

where the integration is performed over the 2D computational domain tex2html_wrap_inline838 , and tex2html_wrap_inline840 is an arbitrary weight function from the same function space as tex2html_wrap_inline842 . The Finite Element discretization of the Poisson equation is then completely defined by choosing the bilinear basis functions tex2html_wrap_inline844 , tex2html_wrap_inline846 on a (r,z) mesh of N grid points [7]. The discretized potential can thus be expressed as tex2html_wrap_inline852 , where the coefficients tex2html_wrap_inline854 are obtained by solving the following linear matrix equation:     mathletters77 Dirichlet boundary conditions, tex2html_wrap_inline856 , are specified on perfectly conducting walls by modifying the matrix tex2html_wrap_inline858 and the charges tex2html_wrap_inline860 in a standard manner. Natural boundary conditions (normal derivative tex2html_wrap_inline862 ) are automatically included in the matrix formulation above. The latter conditions are utilized for the field at the symmetry axis r=0 and to model the open sides of the boundaries. The electric field at the particle position is finally calculated from tex2html_wrap_inline866 Noe that, by the choice of the bilinear basis functions tex2html_wrap_inline844 , the charge deposited on the grid tex2html_wrap_inline860 , as defined in Eq. (4b), is computed by an linear assignment, while the electric field interpolation on the particle is stepwise constant (linear) in r and linear (constant) in z for tex2html_wrap_inline876 ( tex2html_wrap_inline878 ). This scheme is similar to the energy-conserving scheme described in [5].

At every simulation time step, the beam is continuously injected at the left end of the computational domain, z=0, with a prescribed constant current I, a given number of injected particles tex2html_wrap_inline884 and a distribution function of guiding centers tex2html_wrap_inline886 , where tex2html_wrap_inline888 are respectively the momenta perpendicular and parallel to tex2html_wrap_inline828 , tex2html_wrap_inline892 and F is uniform in the pitch angles tex2html_wrap_inline896 . Finite spreads in the guiding center radius tex2html_wrap_inline898 as well as in the velocities tex2html_wrap_inline888 can be prescribed. The charge of these particles is given by tex2html_wrap_inline902 while their mass m is such that the charge to mass ratio is that of an electron tex2html_wrap_inline906 . At both ends of the domain, free boundary conditions are applied for particles with tex2html_wrap_inline908 at z=0 and tex2html_wrap_inline912 at tex2html_wrap_inline914 . The total number of particles tex2html_wrap_inline836 is thus a time varying function with tex2html_wrap_inline918 . It increases linearly with time up to approximately one transit of the beam electrons across the computational domain.

Electrons of a non-drifting plasma could also be simulated together with the beam electrons. The simulated charge of these tex2html_wrap_inline920 plasma electrons is then tex2html_wrap_inline922 , where tex2html_wrap_inline924 and tex2html_wrap_inline926 is the constant plasma density. At both ends of the domain, either periodic or reflecting boundary conditions are applied to these plasma electrons so as to keep tex2html_wrap_inline920 constant.

The equations (1) and (4) form a complete electrostatic model for the self-consistent evolution of the electron beam. It has been implemented on a massively parallel computer, using the domain decomposition technique to parallelize the particles as well as the electrostatic field. The parallel direct matrix solver described in [8] is utilized for solving the discretized Poisson equation (4).

The extension of this model to include electromagnetic effects consists of solving the Maxwell equations for the fields tex2html_wrap_inline930 and tex2html_wrap_inline932 . In the axisymmetric case considered here, the electromagnetic fields can be decomposed into the decoupled TM polarization tex2html_wrap_inline934 and the TE polarization tex2html_wrap_inline936 . The particle equations (1) remain unchanged but the current density has to be calculated:

  equation158

The detailed description of this electromagnetic model and its implementation is given in [9].


next up previous
Next: Review of Linear Results Up: Particle-In-Cell (PIC) Simulations of Previous: Introduction

Trach-Minh Tran
Fri Aug 8 12:06:25 MEST 1997