Skip to content
/ zpic Public
forked from ricardo-fonseca/zpic

ZPIC - Educational Particle-In-Cell code suite

License

Notifications You must be signed in to change notification settings

audunth/zpic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The ZPIC educational code suite

Particle-in-Cell (PIC) codes are used in almost all areas of plasma physics, such as fusion energy research, plasma accelerators, space physics, ion propulsion, and plasma processing, and many other areas. Leveraging on our expertise and experience from the development and use of the OSIRIS PIC code, we have developed a suite of 1D/2D fully relativistic electromagnetic PIC codes, as well as 1D electrostatic. These codes are self-contained and require only a standard laptop/desktop computer with a C compiler to be run. The output files are written in a new file format called ZDF that can be easily read using the supplied routines in a number of languages, such as Python, and IDL. The code suite also includes a number of example problems that can be used to illustrate several textbook and advanced plasma mechanisms, including instructions for parameter space exploration. We also invite contributions to this repository of test problems that will be made freely available to the community provided the input files comply with the format defined by the ZPIC team.

Please see the doc folder for documentation on using the code.

The directory structure is organized as follows:

  • em1d - 1D electromagnetic (finite difference)
  • em1ds - 1D electromagnetic (spectral)
  • em2d - 2D electromagnetic (finite difference)
  • em2ds - 2D electromagnetic (spectral)
  • es1d - 1D electrostatic
  • mods - Modified versions of the base codes
  • python - Python interface to ZPIC codes

About

ZPIC - Educational Particle-In-Cell code suite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 78.6%
  • C 18.1%
  • Python 3.0%
  • Other 0.3%