OSIRIS: A Three-Dimensional, Fully Relativistic Particle in Cell Code for Modeling Plasma Based Accelerators

  • R. A. Fonseca
  • L. O. Silva
  • F. S. Tsung
  • V. K. Decyk
  • W. Lu
  • C. Ren
  • W. B. Mori
  • S. Deng
  • S. Lee
  • T. Katsouleas
  • J. C. Adam
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2331)

Abstract

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.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Dawson, J.M.: Particle simulation of plasmas. Rev. Mod. Phys., vol. 55, no. 2, April 1983, p. 403–47.CrossRefGoogle Scholar
  2. 2.
    Birdsall, C.K., Langdon, A.B.: Plasma physics via computer simulation. Bristol, UK: Adam Hilger, 1991, xxvi+479 pp.Google Scholar
  3. 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. 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. 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
  6. 6.
    Morse, R.L., Nielson, C.W.: Numerical simulation of the Weibel instability in one and two dimensions. Phys. Fluids, vol. 14, no. 4, April 1971. pp. 830–40.CrossRefGoogle Scholar
  7. 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. 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
  9. 9.
  10. 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. 11.
    Gropp, W., Lusk, E., Skjellum, A.: Using MPI. MIT Press, 1999. xxii+371 pp.Google Scholar
  12. 12.
  13. 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. 14.
    Muggli, P. et al.: Nature, vol. 411, 3 May 2001Google Scholar
  15. 15.
    Tajima, T., Dawson, J. M.: Laser Electron Accelerator, Phys. Rev. Lett., vol. 43, 1979, pp. 267–270CrossRefGoogle Scholar
  16. 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. 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. 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
  19. 19.

Copyright information

© Springer-Verlag Berlin Heidelberg 2002

Authors and Affiliations

  • R. A. Fonseca
    • 1
  • L. O. Silva
    • 1
  • F. S. Tsung
    • 2
  • V. K. Decyk
    • 2
  • W. Lu
    • 2
  • C. Ren
    • 2
  • W. B. Mori
    • 2
  • S. Deng
    • 3
  • S. Lee
    • 3
  • T. Katsouleas
    • 3
  • J. C. Adam
    • 4
  1. 1.Instituto Superior TécnicoGoLP/CFPLisboaPortugal
  2. 2.University of CaliforniaLos AngelesUSA
  3. 3.University of Southern CaliforniaLos AngelesUSA
  4. 4.Ecole PolytechniqueParisFrance

Personalised recommendations