We demonstrate the improvements to an implicit Particle-in-Cell code, iPic3D, on the example of dipolar magnetic field immersed in the flow of the plasma and show the formation of a magnetosphere. We address the problem of modelling multi-scale phenomena during the formation of a magnetosphere by implementing an adaptive sub-cycling technique to resolve the motion of particles located close to the magnetic dipole centre, where the magnetic field intensity is maximum. In addition, we implemented new open boundary conditions to model the inflow and outflow of plasma. We present the results of a global three-dimensional Particle-in-Cell simulation and discuss the performance improvements from the adaptive sub-cycling technique
31 January 2010 in Journal of Quantitative Spectroscopy and Radiative Transfer
We present a method based on unsupervised machine learning to identify and characterize regions of interest using particle velocity distributions as a signature pattern. An automatic density estimation technique is applied to particle distributions provided by particle-in-cell simulations to study magnetic reconnection regions. Its application to magnetic reconnection is new. The key components of the method involve (i) a Gaussian mixture model determining the presence of a given number of subpopulations within an overall population, and (ii) a model selection technique with a Bayesian information criterion to estimate the appropriate number of subpopulations. Thus, this method automatically identifies the presence of complex distributions, such as beams or other non-Maxwellian features, and can be used as a detection algorithm able to identify reconnection regions. The approach is demonstrated for a specific double Harris sheet simulation, but it can in principle be applied to any other type of simulation data on the particle distribution function.