The particleincell (PIC) method refers to a technique used to solve a certain class of partial differential equations. In this method, individual particles (or fluid elements) in a Lagrangian frame are tracked in continuous phase space, whereas moments of the distribution such as densities and currents are computed simultaneously on Eulerian (stationary) mesh points.
PIC methods were already in use as early as 1955,^{[1]} even before the first Fortran compilers were available. The method gained popularity for plasma simulation in the late 1950s and early 1960s by Buneman, Dawson, Hockney, Birdsall, Morse and others. In plasma physics applications, the method amounts to following the trajectories of charged particles in selfconsistent electromagnetic (or electrostatic) fields computed on a fixed mesh. ^{[2]}
Contents

Technical aspects 1

Basics of the PIC plasma simulation technique 2

Applications 3

See also 4

References 5

External links 6
Technical aspects
For many types of problems, the PIC method is relatively intuitive and straightforward to implement. This probably accounts for much of its success, particularly for plasma simulation, for which the method typically includes the following procedures:

Integration of the equations of motion.

Interpolation of charge and current source terms to the field mesh.

Computation of the fields on mesh points.

Interpolation of the fields from the mesh to the particle locations.
Models which include interactions of particles only through the average fields are called PM (particlemesh). Those which include direct binary interactions are PP (particleparticle). Models with both types of interactions are called PPPM or P^{3}M.
Since the early days, it has been recognized that the PIC method is susceptible to error from socalled discrete particle noise. ^{[3]} This error is statistical in nature, and today it remains lesswell understood than for traditional fixedgrid methods, such as Eulerian or semiLagrangian schemes.
Basics of the PIC plasma simulation technique
Inside the plasma research community, systems of different species (electrons, ions, neutrals, molecules, dust particles, etc.) are investigated. The set of equations associated with PIC codes are therefore the Lorentz force as the equation of motion, solved in the socalled pusher or particle mover of the code, and Maxwell's equations determining the electric and magnetic fields, calculated in the (field) solver.
Superparticles
The real systems studied are often extremely large in terms of the number of particles they contain. In order to make simulations efficient or at all possible, socalled superparticles are used. A superparticle (or macroparticle) is a computational particle that represents many real particles; it may be millions of electrons or ions in the case of a plasma simulation, or, for instance, a vortex element in a fluid simulation. It is allowed to rescale the number of particles, because the Lorentz force depends only on the charge to mass ratio, so a superparticle will follow the same trajectory as a real particle would.
The number of real particles corresponding to a superparticle must be chosen such that sufficient statistics can be collected on the particle motion. If there is a significant difference between the density of different species in the system (between ions and neutrals, for instance), separate real to superparticle ratios can be used for them.
The particle mover
Even with superparticles, the number of simulated particles is usually very large (> 10^{5}), and often the particle mover is the most time consuming part of PIC, since it has to be done for each particle separately. Thus, the pusher is required to be of high accuracy and speed and much effort is spent on optimizing the different schemes.
The schemes used for the particle mover can be split into two categories, implicit and explicit solvers. While implicit solvers calculate the particle velocity from the already updated fields, explicit solvers use only the old force from the previous time step, and are therefore simpler and faster, but require a smaller time step. Two frequently used schemes are the leapfrog method,^{[4]} and the Boris scheme,^{[5]} ^{[6]}which are explicit solvers.
For plasma applications, the leapfrog method takes the following form:

\frac{\mathbf{x}_{k+1}  \mathbf{x}_{k}}{\Delta t} = \mathbf{v}_{k+1/2},

\frac{\mathbf{v}_{k+1/2}  \mathbf{v}_{k1/2}}{\Delta t} = \frac{q}{m} \left( \mathbf{E}_k + \frac{\mathbf{v}_{k+1/2} + \mathbf{v}_{k1/2}}{2} \times \mathbf{B}_{k} \right),
where the subscript k refers to "old" quantities from the previous time step, k+1 to updated quantities from the next time step (i.e. t_{k+1} = t_k + \Delta t), and velocities are calculated inbetween the usual time steps t_k.
In comparison, the equations of the Boris scheme are:

\mathbf{x}_{k+1} = \mathbf{x}_{k} + {\Delta t} \mathbf{v}_{k+1/2},

\mathbf{v}_{k+1/2} = \mathbf{u}' + q' \mathbf{E}_k,
with

\mathbf{u}' = \mathbf{u} + (\mathbf{u} + (\mathbf{u} \times \mathbf{h})) \times \mathbf{s},

\mathbf{u} = \mathbf{v}_{k1/2} + q' \mathbf{E}_k,

\mathbf{h} = q' \mathbf{B}_k,

\mathbf{s} = 2 \mathbf{h}/(1 + h^2)
and q' = \Delta t \times (q/2m).
Because of its excellent long term accuracy, the Boris algorithm is the de facto standard for advancing a charged particle. It was recently realized that the excellent long term accuracy of Boris algorithm is due to the fact it conserves phase space volume, even though it is not symplectic. The global bound on energy error typically associated with symplectic algorithms still holds for the Boris algorithm, making it an effective algorithm for the multiscale dynamics of plasmas.
The field solver
The most commonly used methods for solving Maxwell's equations (or more generally, partial differential equations (PDE)) belong to one of the following three categories:
With the FDM, the continuous domain is replaced with a discrete grid of points, on which the electric and magnetic fields are calculated. Derivatives are then approximated with differences between neighboring gridpoint values and thus PDEs are turned into algebraic equations.
Using FEM, the continuous domain is divided into a discrete mesh of elements. The PDEs are treated as an eigenvalue problem and initially a trial solution is calculated using basis functions that are localized in each element. The final solution is then obtained by optimization until the required accuracy is reached.
Also spectral methods, such as the fast Fourier transform (FFT), transform the PDEs into an eigenvalue problem, but this time the basis functions are high order and defined globally over the whole domain. The domain itself is not discretized in this case, it remains continuous. Again, a trial solution is found by inserting the basis functions into the eigenvalue equation and then optimized to determine the best values of the initial trial parameters.
Particle and field weighting
The name "particleincell" originates in the way that plasma macroquantities (number density, current density, etc.) are assigned to simulation particles (i.e., the particle weighting). Particles can be situated anywhere on the continuous domain, but macroquantities are calculated only on the mesh points, just as the fields are. To obtain the macroquantities, one assumes that the particles have a given "shape" determined by the shape function

S(\mathbf{x}\mathbf{X}),
where \mathbf{x} is the coordinate of the particle and \mathbf{X} the observation point. Perhaps the easiest and most used choice for the shape function is the socalled cloudincell (CIC) scheme, which is a first order (linear) weighting scheme. Whatever the scheme is, the shape function has to satisfy the following conditions: ^{[7]} space isotropy, charge conservation, and increasing accuracy (convergence) for higherorder terms.
The fields obtained from the field solver are determined only on the grid points and can't be used directly in the particle mover to calculate the force acting on particles, but have to be interpolated via the field weighting:

\mathbf{E}(\mathbf{x}) = \sum_{i}\mathbf{E}_i S(\mathbf{x}_i\mathbf{x}),
where the subscript i labels the grid point. To ensure that the forces acting on particles are selfconsistently obtained, the way of calculating macroquantities from particle positions on the grid points and interpolating fields from grid points to particle positions has to be consistent, too, since they both appear in Maxwell's equations. Above all, the field interpolation scheme should conserve momentum. This can be achieved by choosing the same weighting scheme for particles and fields and by ensuring the appropriate space symmetry (i.e. no selfforce and fulfilling the actionreaction law) of the field solver at the same time ^{[7]}
Collisions
As the field solver is required to be free of selfforces, inside a cell the field generated by a particle must decrease with decreasing distance from the particle, and hence interparticle forces inside the cells are underestimated. This can be balanced with the aid of Coulomb collisions between charged particles. Simulating the interaction for every pair of a big system would be computationally too expensive, so several Monte Carlo methods have been developed instead. A widely used method is the binary collision model,^{[8]} in which particles are grouped according to their cell, then these particles are paired randomly, and finally the pairs are collided.
In a real plasma, many other reactions may play a role, ranging from elastic collisions, such as collisions between charged and neutral particles, over inelastic collisions, such as electronneutral ionization collision, to chemical reactions; each of them requiring separate treatment. Most of the collision models handling chargedneutral collisions use either the direct MonteCarlo scheme, in which all particles carry information about their collision probability, or the nullcollision scheme,^{[9]}^{[10]} which does not analyze all particles but uses the maximum collision probability for each charged species instead.
Accuracy and stability conditions
As in every simulation method, also in PIC, the time step and the grid size must be well chosen, so that the time and length scale phenomena of interest are properly resolved in the problem. In addition, time step and grid size have an impact on the speed and accuracy of the code.
For an electrostatic plasma simulation using an explicit time integration scheme (e.g. leapfrog, which is most commonly used), two important conditions regarding the grid size \Delta x and the time step \Delta t should be fulfilled in order to ensure the stability of the solution:

\Delta x < 3.4 \lambda_D,

\Delta t \leq 2 \omega_{pe}^{1},
which can be derived considering the harmonic oscillations of a onedimensional unmagnetized plasma. The latter conditions is strictly required but practical considerations related to energy conservation suggest to use a much stricter constraint where the factor 2 is replaced by a number one order of magnitude smaller. The use of \Delta t \leq 0.1 \omega_{pe}^{1}, is typical.^{[7]}^{[11]} Not surprisingly, the natural time scale in the plasma is given by the inverse plasma frequency \omega_{pe}^{1} and length scale by the Debye length \lambda_D.
For an explicit electromagnetic plasma simulation, the time step must also satisfy the CFL condition:

\Delta t < \Delta x / c ,
where \Delta x \sim \lambda_D, and c is the speed of light.
Applications
Within plasma physics, PIC simulation has been used successfully to study laserplasma interactions, electron acceleration and ion heating in the auroral ionosphere, magnetohydrodynamics, magnetic reconnection, as well as iontemperaturegradient and other microinstabilities in tokamaks, furthermore vacuum discharges, and dusty plasmas.
Hybrid models may use the PIC method for the kinetic treatment of some species, while other species (that are Maxwellian) are simulated with a fluid model.
PIC simulations have also been applied outside of plasma physics to problems in solid and fluid mechanics. ^{[12]} ^{[13]}
See also
References

^

^

^ Hideo Okuda (1972). "Nonphysical noises and instabilities in plasma simulation due to a spatial grid". Journal of Computational Physics 10 (3): 475.

^ Birdsall, Charles K.; A. Bruce Langdon (1985). Plasma Physics via Computer Simulation. McGrawHill.

^ Boris, J.P. (November 1970). "Relativistic plasma simulationoptimization of a hybrid code". Proceedings of the 4th Conference on Numerical Simulation of Plasmas. Naval Res. Lab., Washington, D.C. pp. 3–67.

^ Hong Qin; et al. (2013). "Why is Boris algorithm so good?". Physics of Plasmas 20 (5): 084503.

^ ^{a} ^{b} ^{c} Tskhakaya, David (2008). "Chapter 6: The ParticleinCell Method". In Fehske, Holger; Schneider, Ralf; Weiße, Alexander. Computational ManyParticle Physics. Lecture Notes in Physics 739. Springer, Berlin Heidelberg.

^ Takizuka, Tomonor; Abe, Hirotada (1977). "A binary collision model for plasma simulation with a particle code". Journal of Computational Physics 25 (3): 205–219.

^ Birdsall, C.K. (1991). "Particleincell chargedparticle simulations, plus Monte Carlo collisions with neutral atoms, PICMCC". IEEE Transactions on Plasma Science 19 (2): 65–85.

^ Vahedi, V.; Surendra, M. (1995). "A Monte Carlo collision model for the particleincell method: applications to argon and oxygen discharges". Computer Physics Communications 87 (1–2): 179–198.

^ Tskhakaya, D.; Matyash, K.; Schneider, R.; Taccogna, F. (2007). "The ParticleInCell Method". Contributions to Plasma Physics 47 (89): 563–594.

^ Liu, G.R.; M.B. Liu (2003). Smoothed Particle Hydrodynamics: A Meshfree Particle Method. World Scientific.

^ Byrne, F. N.; Ellison, M. A.; Reid, J. H. (1964). "The particleincell computing method for fluid dynamics". Methods Comput. Phys. 3 (3): 319–343.

Birdsall, Charles K.; A. Bruce Langdon (1985). Plasma Physics via Computer Simulation. McGrawHill.

Hockney, Roger W.; James W. Eastwood (1988). Computer Simulation Using Particles. CRC Press.
External links

ParticleInCell and Kinetic Simulation Software Center (PICKSC), UCLA.

Open source 3D ParticleInCell code for spacecraft plasma interactions (mandatory user registration required).

Simple ParticleInCell code in MATLAB

Plasma Theory and Simulation Group (Berkeley) Contains links to freelyavailable software.

Introduction to PIC codes (Univ. of Texas)

OpenPIC3D  3D Hybrid ParticleInCell simulation of plasma dynamics
This article was sourced from Creative Commons AttributionShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, EGovernment Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a nonprofit organization.