The Pencil Code is primarily designed to deal with weakly compressible turbulent flows, which is why we use high-order first and second derivatives. To achieve good parallelization, we use explicit (as opposed to compact) finite differences. Typical scientific targets include driven MHD turbulence in a periodic box, convection in a slab with non-periodic upper and lower boundaries, a convective star embedded in a fully nonperiodic box, accretion disc turbulence in the shearing sheet approximation, self-gravity, non-local radiation transfer, dust particle evolution with feedback on the gas, etc. A range of artificial viscosity and diffusion schemes can be invoked to deal with supersonic flows. For direct simulations regular viscosity and diffusion is being used.

The code is written in well-commented Fortran90.

For a more detailed description and a full introduction see the manual.pdf file (see under links on the right).

Remember to sign up for the Pencil Code User Meeting (see link on the right)!

Journal Entries

No entries yet. Link your entries with 'pencil-code' to include this project.


Ratings & Reviews

Community Rating
5.0/5.0

Based on 2 user ratings.

Your Rating

Click to rate this project.

Links

0 links submitted so far. Submit your own links.


Who uses pencil-code?

Avatar Avatar Avatar Avatar

Who contributes to pencil-code?

Avatar Avatar Avatar Anon32 Anon32 Anon32 Anon32 Anon32
I'm a contributor

Who manages pencil-code?

Avatar
I'm a manager

Where in the world?



Project Cost

This calculator estimates how much it would cost to hire a team to write this project from scratch. More »
Include
Codebase 199,272
Effort (est.) 51 Person Years
Avg. Salary $ year
$ 2,827,572