OSIRIS: A Three-Dimensional, Fully Relativistic Particle in Cell Code for Modeling Plasma Based Accelerators
We describe OSIRIS, a three-dimensional, relativistic, massively parallel, object oriented particle-in-cell code for modeling plasma based accelerators. Developed in Fortran 90, the code runs on multiple platforms (Cray T3E, IBM SP, Mac clusters) and can be easily ported to new ones. Details on the code’s capabilities are given. We discuss the object-oriented design of the code, the encapsulation of system dependent code and the parallelization of the algorithms involved. We also discuss the implementation of communications as a boundary condition problem and other key characteristics of the code, such as the moving window, open-space and thermal bath boundaries, arbitrary domain decomposition, 2D (cartesian and cylindric) and 3D simulation modes, electron sub-cycling, energy conservation and particle and field diagnostics. Finally results from three-dimensional simulations of particle and laser wakefield accelerators are presented, in connection with the data analysis and visualization infrastructure developed to post-process the scalar and vector results from PIC simulations.
Unable to display preview. Download preview PDF.
- 2.Birdsall, C.K., Langdon, A.B.: Plasma physics via computer simulation. Bristol, UK: Adam Hilger, 1991, xxvi+479 pp.Google Scholar
- 3.Decyk, V. K., Norton, C. D., Szymanski, B. K.: How to express C++ concepts in Fortran 90. Scientific Programming, Vol. 6, no. 4, 1998, p. 363.Google Scholar
- 4.Decyk, V. K., Norton, C. D., Szymanski, B. K.: How to support inheritance and run-time polymorphism in Fortran 90. Comp. Phys. Com., no. 115, 1998, pp. 9–17.Google Scholar
- 5.Gray, M. G., Roberts, R. M.: Object-Based Programming in Fortran 90. Computers in Physics, vol. 11, no. 4, 1997, pp. 355–361.Google Scholar
- 7.Villasenor, J.; Buneman, O.: Rigorous charge conservation for local electromagnetic field solvers. Computer Physics Communications, vol. 69, no. 2–3, March-April 1992.Google Scholar
- 8.Decyk, V.K., Dauger, D.E.: How to Build an AppleSeed: A Parallel Macintosh Cluster for Numerically Intensive Computing. Presented at the International School for Space Simulation ISSS-6, Garching, Germany September 2001; also at http://exodus.physics.ucla.edu/appleseed/appleseed.html
- 10.Message Passing Interface Forum.: MPI: A message-passing interface standard. International Journal of Supercomputer Applications, vol. 8, no. 3–4, 1994.Google Scholar
- 11.Gropp, W., Lusk, E., Skjellum, A.: Using MPI. MIT Press, 1999. xxii+371 pp.Google Scholar
- 13.Fonseca, R. et al.: Three-dimensional particle-in-cell simulations of the Weibel instability in electron-positron plasmas. IEEE transactions in plasma science Special Issues on Images in Plasma Science, 2002Google Scholar
- 14.Muggli, P. et al.: Nature, vol. 411, 3 May 2001Google Scholar
- 16.Vay, J.L.: A new Absorbing Layer Boundary Condition for the Wave Equation. J. Comp. Phys., no. 165, 2000, pp. 511–521.Google Scholar
- 17.Lindmann, E. L.: Free-space boundary conditions for the time dependent wave equation. J. Comp. Phys., no. 18, 1975, pp. 66–78.Google Scholar
- 18.Adam, J. C.; A. Gourdin Serveniere, and A. B. Langdon: Electron sub-cycling in particle simulation of Plasmas J. Comp. Phys., no. 47, 1982, pp. 229–244.Google Scholar