The Pencil Code, a modular MPI code for partial differential equations and particles: multipurpose and multiuser-maintained
A. Brandenburg
A. JohansenP. A. BourdinW. DoblerW. LyraM. RheinhardtS. BingertN. E. L. HaugenA. MeeF. GentN. BabkovskaiaC.-C. Yang +25 A. Brandenburg

A. Johansen
P. A. Bourdin
W. Dobler
W. Lyra
M. Rheinhardt
S. Bingert
N. E. L. Haugen
A. Mee
F. Gent
N. Babkovskaia
C.-C. Yang
+37
The Pencil Code is a modular, MPI-based simulation framework built around solving partial differential equations (PDEs) for compressible hydrodynamics, with extensive add-ons for magnetohydrodynamics, cloud microphysics, and combustion. Its core contribution is a highly modular design that allows physicists to adapt the same code across diverse PDE and non-PDE applications, including the evolution of Lagrangian particles with coagulation and condensation, making it multipurpose and maintained by a multiuser community.

arXiv ·
· September 17, 2020