词条 | Particle-in-cell | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
释义 |
The particle-in-cell (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 self-consistent electromagnetic (or electrostatic) fields computed on a fixed mesh. [2]Technical aspectsFor many types of problems, the classical PIC method invented by Buneman, Dawson, Hockney, Birdsall, Morse and others 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:
Models which include interactions of particles only through the average fields are called PM (particle-mesh). Those which include direct binary interactions are PP (particle-particle). Models with both types of interactions are called PP-PM or P3M. Since the early days, it has been recognized that the PIC method is susceptible to error from so-called discrete particle noise. [3]This error is statistical in nature, and today it remains less-well understood than for traditional fixed-grid methods, such as Eulerian or semi-Lagrangian schemes. Modern geometric PIC algorithms are based on a very different theoretical framework. These algorithms use tools of discrete manifold, interpolating differential forms, and canonical or non-canonical symplectic integrators to guarantee gauge invariant and conservation of charge, energy-momentum, and more importantly the infinitely dimensional symplectic structure of the particle-field system. [4][5]These desired features are attributed to the fact that geometric PIC algorithms are built on the more fundamental field-theoretical framework and are directly linked to the perfect form, i.e., the variational principle of physics. Basics of the PIC plasma simulation techniqueInside 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 so-called pusher or particle mover of the code, and Maxwell's equations determining the electric and magnetic fields, calculated in the (field) solver. Super-particlesThe 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, so-called super-particles are used. A super-particle (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 super-particle will follow the same trajectory as a real particle would. The number of real particles corresponding to a super-particle 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 super-particle ratios can be used for them. The particle moverEven with super-particles, the number of simulated particles is usually very large (> 105), 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(e.g. implicit Euler scheme) 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. In PIC simulation the leapfrog method is used, a second-order explicit method. [6] Also the Boris algorithm is used which cancel out the magnetic field in the Newton-Lorentz equation. [7] [8]. For plasma applications, the leapfrog method takes the following form: where the subscript refers to "old" quantities from the previous time step, to updated quantities from the next time step (i.e. ), and velocities are calculated in-between the usual time steps . The equations of the Boris scheme which are substitute in the above equations are: with and . Because of its excellent long term accuracy, the Boris algorithm is the de facto standard for advancing a charged particle. It was realized that the excellent long term accuracy of nonrelativistic 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 multi-scale dynamics of plasmas. It has also been shown [9]that one can improve on the relativistic Boris push to make it both volume preserving and have a constant-velocity solution in crossed E and B fields. The field solverThe 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 grid-point 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 weightingThe name "particle-in-cell" originates in the way that plasma macro-quantities (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 macro-quantities are calculated only on the mesh points, just as the fields are. To obtain the macro-quantities, one assumes that the particles have a given "shape" determined by the shape function where is the coordinate of the particle and the observation point. Perhaps the easiest and most used choice for the shape function is the so-called cloud-in-cell (CIC) scheme, which is a first order (linear) weighting scheme. Whatever the scheme is, the shape function has to satisfy the following conditions: [10]space isotropy, charge conservation, and increasing accuracy (convergence) for higher-order 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: where the subscript labels the grid point. To ensure that the forces acting on particles are self-consistently obtained, the way of calculating macro-quantities 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 self-force and fulfilling the action-reaction law) of the field solver at the same time[10] CollisionsAs the field solver is required to be free of self-forces, inside a cell the field generated by a particle must decrease with decreasing distance from the particle, and hence inter-particle 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,[11] 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 electron-neutral ionization collision, to chemical reactions; each of them requiring separate treatment. Most of the collision models handling charged-neutral collisions use either the direct Monte-Carlo scheme, in which all particles carry information about their collision probability, or the null-collision scheme,[12][13] which does not analyze all particles but uses the maximum collision probability for each charged species instead. Accuracy and stability conditionsAs 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 affect 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 and the time step should be fulfilled in order to ensure the stability of the solution: which can be derived considering the harmonic oscillations of a one-dimensional 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 is typical.[10][14] Not surprisingly, the natural time scale in the plasma is given by the inverse plasma frequency and length scale by the Debye length . For an explicit electromagnetic plasma simulation, the time step must also satisfy the CFL condition: where , and is the speed of light. ApplicationsWithin plasma physics, PIC simulation has been used successfully to study laser-plasma interactions, electron acceleration and ion heating in the auroral ionosphere, magnetohydrodynamics, magnetic reconnection, as well as ion-temperature-gradient 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. [15][16]Electromagnetic particle-in-cell computational applications
See also
References1. ^{{Cite journal|author=F.H. Harlow|author-link=Francis H. Harlow|title=A Machine Calculation Method for Hydrodynamic Problems|publisher=Los Alamos Scientific Laboratory report LAMS-1956|year=1955}} 2. ^{{cite journal|author=Dawson, J.M.|author-link=John M. Dawson|title=Particle simulation of plasmas|journal=Reviews of Modern Physics|year=1983|volume=55|issue=2|pages=403|doi=10.1103/RevModPhys.55.403|bibcode=1983RvMP...55..403D}} 3. ^{{cite journal|author=Hideo Okuda|title=Nonphysical noises and instabilities in plasma simulation due to a spatial grid|journal=Journal of Computational Physics|year=1972|volume=10|issue=3|pages=475|doi=10.1016/0021-9991(72)90048-4|bibcode = 1972JCoPh..10..475O }} 4. ^{{cite journal|author1=Qin, H. |author2=Liu, J. |author3=Xiao, J. |title= Canonical symplectic particle-in-cell method for long-term large-scale simulations of the Vlasov-Maxwell system|journal= Nuclear Fusion|year=2016|volume=56|issue=1|pages=014001|doi=10.1088/0029-5515/56/1/014001|bibcode= 2016NucFu..56a4001Q|display-authors=etal|arxiv = 1503.08334 }} 5. ^{{cite journal|author1=Xiao, J. |author2=Qin, H. |author3=Liu, J. |title= Explicit high-order non-canonical symplectic particle-in-cell algorithms for Vlasov-Maxwell systems|journal= Physics of Plasmas|year=2015|volume=22|issue=11|pages=12504|doi=10.1063/1.4935904|bibcode= 2015PhPl...22k2504X|display-authors=etal|arxiv = 1510.06972 }} 6. ^{{cite book | last1 = Birdsall | first1 = Charles K. | author2 = A. Bruce Langdon | title = Plasma Physics via Computer Simulation | publisher = McGraw-Hill | year = 1985 | isbn = 0-07-005371-5}} 7. ^{{Cite conference| title = Relativistic plasma simulation-optimization of a hybrid code| last = Boris| first = J.P.|date=November 1970| booktitle = Proceedings of the 4th Conference on Numerical Simulation of Plasmas| publisher = Naval Res. Lab., Washington, D.C.| pages = 3–67}} 8. ^{{cite journal|author1=Qin, H. |display-authors=etal |title=Why is Boris algorithm so good? |journal=Physics of Plasmas|year=2013|volume=20|issue=5|pages=084503 |doi=10.1063/1.4818428 |bibcode = 2013PhPl...20h4503Q }} 9. ^{{cite journal| author1=Higuera, Adam V.| author2=John R. Cary| title=Structure-preserving second-order integration of relativistic charged particle trajectories in electromagnetic fields| journal=Physics of Plasmas| volume=24| issue=5| year=2017| pages=052104| doi=10.1016/j.jcp.2003.11.004| bibcode=2004JCoPh.196..448N}} 10. ^1 2 {{cite book| last = Tskhakaya | first = David| editor1-last = Fehske| editor1-first = Holger| editor2-last = Schneider| editor2-first = Ralf| editor3-last = Weiße| editor3-first = Alexander| title = Computational Many-Particle Physics| series = Lecture Notes in Physics 739| year = 2008| publisher = Springer, Berlin Heidelberg| isbn = 978-3-540-74685-0| doi = 10.1007/978-3-540-74686-7| chapter = Chapter 6: The Particle-in-Cell Method}} 11. ^{{Cite journal | last1 = Takizuka | first1 = Tomonor | last2 = Abe | first2 = Hirotada | title = A binary collision model for plasma simulation with a particle code | journal = Journal of Computational Physics | volume = 25 | issue = 3 | year = 1977 | pages = 205–219 | doi = 10.1016/0021-9991(77)90099-7|bibcode = 1977JCoPh..25..205T }} 12. ^{{Cite journal | author = Birdsall, C.K. | title = Particle-in-cell charged-particle simulations, plus Monte Carlo collisions with neutral atoms, PIC-MCC | journal = IEEE Transactions on Plasma Science | volume = 19 | issue = 2 | year = 1991 | pages = 65–85 | doi = 10.1109/27.106800 | issn = 0093-3813|bibcode = 1991ITPS...19...65B }} 13. ^{{Cite journal | last1 = Vahedi | first1 = V. | last2 = Surendra | first2 = M. | title = A Monte Carlo collision model for the particle-in-cell method: applications to argon and oxygen discharges | journal = Computer Physics Communications | volume = 87 | issue = 1–2 | year = 1995 | pages = 179–198 | doi = 10.1016/0010-4655(94)00171-W | issn = 0010-4655|bibcode = 1995CoPhC..87..179V }} 14. ^{{Cite journal | last1 = Tskhakaya | first1 = D. | last2 = Matyash | first2 = K. | last3 = Schneider | first3 = R. | last4 = Taccogna | first4 = F. | title = The Particle-In-Cell Method | journal = Contributions to Plasma Physics | volume = 47 | issue = 8–9 | year = 2007 | pages = 563–594 | doi = 10.1002/ctpp.200710072|bibcode = 2007CoPP...47..563T }} 15. ^{{cite book | last1 = Liu | first1 = G.R. | author2 = M.B. Liu | title = Smoothed Particle Hydrodynamics: A Meshfree Particle Method | publisher = World Scientific | year = 2003 | isbn = 981-238-456-1}} 16. ^{{Cite journal | author1 = Byrne, F. N. | author2 = Ellison, M. A. | author3 = Reid, J. H. | title = The particle-in-cell computing method for fluid dynamics | journal = Methods Comput. Phys. | volume = 3 | year = 1964 | issue = 3 | pages = 319–343 | doi = 10.1007/BF00230516 | bibcode = 1964SSRv....3..319B | id = | postscript = }} 17. ^{{cite journal|title=SHARP: A Spatially Higher-order, Relativistic Particle-in-Cell Code|first1=Mohamad|last1=Shalaby|first2=Avery E.|last2=Broderick|first3=Philip|last3=Chang|first4=Christoph|last4=Pfrommer|first5=Astrid|last5=Lamberts|first6=Ewald|last6=Puchwein|date=23 May 2017|journal=The Astrophysical Journal|volume=841|issue=1|pages=52|doi=10.3847/1538-4357/aa6d13|arxiv=1702.04732|bibcode=2017ApJ...841...52S}} 18. ^{{cite web|url=https://aladyn.github.io/ALaDyn/|title=ALaDyn|website=ALaDyn|accessdate=1 December 2017}} 19. ^{{cite web|url=https://github.com/ALaDyn/ALaDyn|title=ALaDyn: A High-Accuracy PIC Code for the Maxwell-Vlasov Equations|date=18 November 2017|accessdate=1 December 2017|website=GitHub.com}} 20. ^{{cite web|url=http://www.ccpp.ac.uk/codes.html|title=Codes|website=Ccpp.ac.uk|accessdate=1 December 2017}} 21. ^{{cite web|url=https://cfsa-pmw.warwick.ac.uk|title=Sign in|website=GitLab|accessdate=1 December 2017}} 22. ^{{cite web|url=https://fbpic.github.io/|title=FBPIC documentation — FBPIC 0.6.0 documentation|website=fbpic.github.io|accessdate=1 December 2017}} 23. ^{{cite web|url=https://github.com/fbpic/fbpic|title=fbpic: Spectral, quasi-3D Particle-In-Cell code, for CPU and GPU|date=8 November 2017|accessdate=1 December 2017|website=GitHub.com}} 24. ^{{cite web|url=http://www.mrcwdc.com/lsp|title=Orbital ATK|website=Mrcwdc.com|accessdate=1 December 2017}} 25. ^{{cite web|url=http://www.mrcwdc.com/magic|title=Orbital ATK|website=Mrcwdc.com|accessdate=1 December 2017}} 26. ^{{cite web|url=http://picksc.idre.ucla.edu/software/software-production-codes/osiris|title=OSIRIS - PICKSC|website=Picksc.idre.ucla.edu|accessdate=1 December 2017}} 27. ^{{cite web|url=https://aladyn.github.io/piccante/|title=Piccante|website=Aladyn.github.io|accessdate=1 December 2017}} 28. ^{{cite web|url=https://github.com/ALaDyn/piccante|title=piccante: a spicy massively parallel fully-relativistic electromagnetic 3D particle-in-cell code|date=14 November 2017|accessdate=1 December 2017|website=GitHub.com}} 29. ^{{cite web|url=http://www.irs.uni-stuttgart.de/forschung/numerische_modellierung_und_simulation/PICLas.en.html|title=PICLas}} 30. ^{{cite web|url=http://picongpu.hzdr.de/|title=PIConGPU - A Many-GPGPU Particle-in-Cell Code - Helmholtz-Zentrum Dresden-Rossendorf, HZDR|website=picongpu.hzdr.de|accessdate=1 December 2017}} 31. ^{{cite web|url=https://github.com/ComputationalRadiationPhysics/picongpu|title=picongpu: A particle-in-cell code for GPGPUs :sparkles:|date=28 November 2017|accessdate=1 December 2017|website=GitHub.com}} 32. ^{{cite web|url=http://www.maisondelasimulation.fr/smilei/|title=Home — Smilei v3.3-32-g0d0bd90 documentation|website=Maisondelasimulation.fr|accessdate=1 December 2017}} 33. ^{{cite web|url=http://www2.mpq.mpg.de/lpg/research/RelLasPlas/Rel-Las-Plas.html|title=Relativistic Laser Plasma|first=Matthias|last=Dreher|website=2.mpq.mpg.de|accessdate=1 December 2017}} 34. ^{{cite web|url=http://esgeetech.com/products/vizgrain-particle-modeling/|title=VizGrain|website=esgeetech.com|accessdate=1 December 2017}} 35. ^{{cite web|url=https://txcorp.com/vsim|title=Tech-X - VSim|website=Txcorp.com|accessdate=1 December 2017}} 36. ^{{cite web|url=http://warp.lbl.gov/|title=Warp|website=warp.lbl.gov|accessdate=1 December 2017}} 37. ^{{cite web|url=https://bitbucket.org/berkeleylab/warp|title=berkeleylab / Warp — Bitbucket|website=bitbucket.org|accessdate=1 December 2017}} Bibliography
| last1 = Birdsall | first1 = Charles K. | author2 = A. Bruce Langdon | title = Plasma Physics via Computer Simulation | publisher = McGraw-Hill | year = 1985 | isbn = 0-07-005371-5}}
| last1 = Hockney | first1 = Roger W. | author2 = James W. Eastwood | title = Computer Simulation Using Particles | publisher = CRC Press | year = 1988 | isbn =0-85274-392-0}} External links
3 : Numerical differential equations|Computational fluid dynamics|Scientific modeling |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。