Pencil News

The next Pencil Code User Meeting will be in spring 2015. [more...]

Get Pencil

There are several ways how to get the code. [more...]

Learn Pencil

Quick start guide for beginners, samples, manual & [more...]

The Pencil Code is a high-order finite-difference code for compressible hydrodynamic flows with magnetic fields. It is highly modular and can easily be adapted to different types of problems. The code runs efficiently under MPI on massively parallel shared- or distributed-memory computers.

Attention: Pencil Code has moved to Github! [more details...]

The Pencil Code or equivalent codes have been used for many different applications in a (more or less) astrophysical context. Examples are

[Alpha-effect in box] [Outflow from accretion disc] [Perm dynamo experiment]
Turbulence
simulations
Outflows from
accretion discs
Dynamo
experiments
Available as open source: https://github.com/pencil-code (formerly, before 18 April 2015, under Pencil-Code.googlecode.com)