The manual for the Pencil Code is available in PDF (2.3M) or as gzipped PostScript (1.1M).

Hint: We also have a Quick Start guide for beginners.


Axel Brandenburg gave a general presentation on the Pencil code in Oslo (2003): The Pencil Code: multi-purpose and multi-user maintained. (html, PowerPoint).

Wlad Lyra has written a tutorial for setting up global accretion disk simulations.

Boris Dintrans wrote a comprehensive introduction to Python and postprocessing with Python.

Wolfgang Dobler wrote Git Getting Started (Jun 10, 2016) and Git Best Practises guide (Jun 10, 2016).

Matthias Rheinhardt presented a talk about the Yin-Yang mesh (10 Aug 2016)

Tests and timings

For information how to do benchmark tests and timings, see the benchmark page.


The code has been used for teaching on a number of occasions. Some online material with exercises is available through the Numerical Experiments page.


For code problems, please check this automatically generated excerpt from the manual with FAQs.


Some helpful information are available on our project wiki.