|
|
Line 1: |
Line 1: |
| 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 and Eulerian coordinates|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 (mathematics)|mesh]] points.
| |
|
| |
|
| PIC methods were already in use as early as 1955,<ref>
| |
| {{Cite journal
| |
| |author=[[Francis H. Harlow|F.H. Harlow]]
| |
| |title=A Machine Calculation Method for Hydrodynamic Problems
| |
| |publisher=Los Alamos Scientific Laboratory report LAMS-1956
| |
| |year=1955}}
| |
| </ref>
| |
| even before the first [[Fortran]] compilers were available. The method gained popularity for plasma simulation in the late 1950s and early 1960s by [[Oscar Buneman|Buneman]], [[John M. Dawson|Dawson]], Hockney, Birdsall, Morse and others. In [[Plasma (physics)|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.
| |
| <ref>
| |
| {{cite journal
| |
| |author=[[John M. Dawson|Dawson, J.M.]]
| |
| |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}}
| |
| </ref>
| |
|
| |
|
| == Technical aspects ==
| | When the query is about picking out footwear that is exceedingly at ease but fashionable, Ugg boots are the variety one decision. You can decide on in between womens ugg boots, uggs for men and even for children. On the other hand, if you are thinking of introducing uggs to your wardrobe, it advisable to go for authentic sheepskin footwear hand crafted in Australia from the finest grade Australian sheepskin. This is a mark of authenticity.<br>Uggs can be worn on all instances, no matter whether it is a casual night out or a supper day. These boots double up as higher vogue or casual dress in, extended or brief. What much more, if you would like to appreciate the very same comfort at residence, there usually an choice of picking out sheepskin ugg slippers and scuffs. These can be worn all over the property to keep your feet comfortably cozy and warm. Some of the finest Uggs in the globe are made in Australia so if you see the Ugg boots Sydney tag on boots, you can blindly belief their top quality.<br>In the earlier several several years, womens Ugg boots have been in fantastic need for their extraordinary features. These boots are thoroughly lined with legitimate sheepskin generating them relaxed substantially outside of your anticipations. This also points out why a range of celebs have been spotted wearing Ugg boots on a number of instances. They have a genuinely intercontinental charm. <br>The smartest way to shop for Uggs is by seeking for Ugg boots sale on the net. There are selected highly regarded manufacturers that market refreshing stock at discounted charges. This aids you conserve some pounds though you purchase a genuine pair of Uggs. Ugg boots Sydney is identified to be the most authentic as individuals produced in other sections of the globe might not be crafted from real sheepskin.<br>Regardless of whether you are a male or woman, its under no circumstances far too late to make investments in a classy and fashionable pair to increase zing to your persona. In the latest past, womens Ugg boots have turn into a have to have accent for all trendy girls simply because of these incredibly causes. These boots are just what you will need for an picture makeover. Apparently, you can often blend and match them with unique outfits whether or not it is a pair of skinny denims to a short skirt to leggings for a adorable and sporty seem. <br>At any Ugg boots sale, you can find a selection of variations. Dependent on your human body style, you can choose from nomad lace up boots or traditional very long boots or cunning small boots among the several other folks. Just log onto the web and get quick access to a thoughts-boggling wide range of womens Ugg boots on-line to make heads transform.<br><br>In the event you loved this information and you would love to receive much more information regarding [http://tinyurl.com/k7shbtq ugg outlet] generously visit our own page. |
| | |
| 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''' (particle-mesh). Those which include direct binary interactions are '''PP''' (particle-particle). Models with both types of interactions are called '''PP-PM''' or '''P<sup>3</sup>M'''.
| |
| | |
| Since the early days, it has been recognized that the PIC method is susceptible to error from so-called ''discrete particle noise''.
| |
| <ref>
| |
| {{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 }}
| |
| </ref> | |
| This error is statistical in nature, and today it remains less-well understood than for traditional fixed-grid methods, such as [[Numerical partial differential equations|Eulerian]] or [[semi-Lagrangian scheme|semi-Lagrangian]] 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 so-called ''pusher'' or ''particle mover'' of the code, and [[Maxwell's equations]] determining the [[electric field|electric]] and [[magnetic field|magnetic]] fields, calculated in the ''(field) solver''.
| |
| | |
| === Super-particles ===
| |
| | |
| 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, 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 mover ===
| |
| | |
| Even with super-particles, the number of simulated particles is usually very large (> 10<sup>5</sup>), 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]],<ref>{{cite book
| |
| | last = Birdsall
| |
| | first = Charles K.
| |
| | coauthors = A. Bruce Langdon
| |
| | title = Plasma Physics via Computer Simulation
| |
| | publisher = McGraw-Hill
| |
| | year = 1985
| |
| | isbn = 0-07-005371-5
| |
| }}</ref> and the ''Boris scheme'',<ref>{{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
| |
| }}</ref> which are explicit solvers.
| |
| | |
| For plasma applications, the [[leapfrog method]] takes the following form:
| |
| :<math>\frac{\mathbf{x}_{k+1} - \mathbf{x}_{k}}{\Delta t} = \mathbf{v}_{k+1/2},</math>
| |
| :<math>\frac{\mathbf{v}_{k+1/2} - \mathbf{v}_{k-1/2}}{\Delta t} = \frac{q}{m} \left( \mathbf{E}_k + \frac{\mathbf{v}_{k+1/2} + \mathbf{v}_{k-1/2}}{2} \times \mathbf{B}_{k} \right),</math>
| |
| | |
| where the subscript <math>k</math> refers to "old" quantities from the previous time step, <math>k+1</math> to updated quantities from the next time step (i.e. <math>t_{k+1} = t_k + \Delta t</math>), and velocities are calculated in-between the usual time steps <math>t_k</math>.
| |
| | |
| In comparison, the equations of the Boris scheme are:
| |
| :<math>\mathbf{x}_{k+1} = \mathbf{x}_{k} + {\Delta t} \mathbf{v}_{k+1/2},</math>
| |
| :<math>\mathbf{v}_{k+1/2} = \mathbf{u}' + q' \mathbf{E}_k,</math>
| |
| | |
| with | |
| :<math>\mathbf{u}' = \mathbf{u} + (\mathbf{u} + (\mathbf{u} \times \mathbf{h})) \times \mathbf{s},</math>
| |
| :<math>\mathbf{u} = \mathbf{v}_{k-1/2} + q' \mathbf{E}_k,</math>
| |
| :<math>\mathbf{h} = q' \mathbf{B}_k,</math>
| |
| :<math>\mathbf{s} = 2 \mathbf{h}/(1 + h^2)</math>
| |
| and <math>q' = \Delta t \times (q/2m)</math>.
| |
| | |
| === The field solver ===
| |
| | |
| The most commonly used methods for solving Maxwell's equations (or more generally, [[partial differential equation]]s (PDE)) belong to one of the following three categories:
| |
| * [[Finite difference method]]s (FDM)
| |
| * [[Finite element method]]s (FEM)
| |
| * [[Spectral method]]s
| |
| | |
| With the FDM, the continuous domain is replaced with a discrete grid of points, on which the [[electric field|electric]] and [[magnetic field|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, eigenvector and eigenspace|eigenvalue problem]] and initially a trial solution is calculated using [[basis function]]s 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 "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
| |
| :<math>S(\mathbf{x}-\mathbf{X}),</math>
| |
| | |
| where <math>\mathbf{x}</math> is the coordinate of the particle and <math>\mathbf{X}</math> 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:
| |
| <ref name=Fehske>{{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
| |
| }}</ref>
| |
| 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'':
| |
| :<math>\mathbf{E}(\mathbf{x}) = \sum_{i}\mathbf{E}_i S(\mathbf{x}_i-\mathbf{x}),</math>
| |
| | |
| where the subscript <math>i</math> 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 [[Newton's laws of motion|action-reaction law]]) of the field solver at the same time <ref name="Fehske"/>
| |
| | |
| === Collisions ===
| |
| | |
| As 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 collision]]s between charged particles. Simulating the interaction for every pair of a big system would be computationally too expensive, so several [[Monte Carlo method]]s have been developed instead. A widely used method is the ''binary collision model'',<ref>{{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
| |
| | url = http://www.sciencedirect.com/science/article/B6WHY-4DD1NNB-G5/2/899fb361478619ffb0fa27276202650e
| |
| |bibcode = 1977JCoPh..25..205T }}</ref> 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,<ref>{{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 }}</ref><ref>{{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 }}</ref> 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 shortest time and length scale phenomena are properly resolved in the problem. In addition, time step and grid size have also an impact on the speed and accuracy of the code.
| |
| | |
| As a rule of thumb, two important conditions regarding the grid size <math>\Delta x</math> and the time step <math>\Delta t</math> should be fulfilled in order to ensure the stability of the solution:
| |
| :<math>\Delta x < 3.4 \lambda_D,</math>
| |
| :<math>\Delta t \leq 2 \omega_{pe}^{-1},</math>
| |
| | |
| 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 <math>\Delta t \leq 0.1 \omega_{pe}^{-1},</math> is typical.<ref name=Fehske/><ref>{{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 }}</ref> Not surprisingly, the natural time scale in the plasma is given by the inverse [[plasma oscillation|plasma frequency]] <math>\omega_{pe}^{-1}</math> and length scale by the [[Debye length]] <math>\lambda_D</math>.
| |
| | |
| == Applications ==
| |
| | |
| Within 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 [[tokamak]]s, furthermore [[vacuum arc|vacuum discharges]], and [[dusty plasma]]s.
| |
| | |
| Hybrid models may use the PIC method for the kinetic treatment of some species, while other species (that are [[Maxwell-Boltzmann distribution|Maxwellian]]) are simulated with a fluid model.
| |
| | |
| PIC simulations have also been applied outside of plasma physics to problems in [[solid mechanics|solid]] and [[fluid mechanics]].
| |
| <ref>{{cite book
| |
| | last = Liu
| |
| | first = G.R.
| |
| | coauthors = M.B. Liu
| |
| | title = Smoothed Particle Hydrodynamics: A Meshfree Particle Method
| |
| | publisher = World Scientific
| |
| | year = 2003
| |
| | isbn = 981-238-456-1}}
| |
| </ref>
| |
| <ref>{{Cite journal
| |
| | last1 = Harlow
| |
| | author1 = Byrne, F. N.
| |
| | first = F. H.
| |
| | 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 = <!--None-->
| |
| }}</ref>
| |
| | |
| == See also ==
| |
| * [[Plasma modeling]]
| |
| * [[Multiphase particle-in-cell method]]
| |
| | |
| == References ==
| |
| <div class="references">
| |
| {{Reflist}}
| |
| </div>
| |
| | |
| * {{cite book
| |
| | last = Birdsall
| |
| | first = Charles K.
| |
| | coauthors = A. Bruce Langdon
| |
| | title = Plasma Physics via Computer Simulation
| |
| | publisher = McGraw-Hill
| |
| | year = 1985
| |
| | isbn = 0-07-005371-5}}
| |
| | |
| * {{cite book
| |
| | last = Hockney
| |
| | first = Roger W.
| |
| | coauthors = James W. Eastwood
| |
| | title = Computer Simulation Using Particles
| |
| | publisher = CRC Press
| |
| | year = 1988
| |
| | isbn =0-85274-392-0}}
| |
| | |
| == External links ==
| |
| * [http://dev.spis.org/projects/spine/home/picup Open source 3D Particle-In-Cell code for spacecraft plasma interactions (mandatory user registration required).]
| |
| * [http://www.particleincell.com/2011/particle-in-cell-example/ Simple Particle-In-Cell code in MATLAB]
| |
| * [http://ptsg.eecs.berkeley.edu/ Plasma Theory and Simulation Group (Berkeley)] Contains links to freely-available software.
| |
| * [http://farside.ph.utexas.edu/teaching/329/lectures/node96.html Introduction to PIC codes (Univ. of Texas)]
| |
| * [http://comphys.narod.ru OpenPIC3D - 3D Hybrid Particle-In-Cell simulation of plasma dynamics]
| |
| | |
| {{Numerical PDE}}
| |
| | |
| {{DEFAULTSORT:Particle-In-Cell}}
| |
| [[Category:Computational physics]]
| |
| [[Category:Numerical differential equations]]
| |
| [[Category:Computational fluid dynamics]]
| |