What is Piernik?

PIERNIK is an MHD code created at Centre for Astronomy, Nicolaus Copernicus University in Toruń, Poland. Current version of the code uses a simple, conservative numerical scheme, which is known as Relaxing TVD scheme (RTVD). General mathematical context of the relaxation and relaxing systems of hyperbolic conservation laws, and related numerical schemes, was presented by Jin & Xin (1995). A particular realization of the Relaxing TVD was developed by Trac & Pen (2003) and Pen et al. (2003), who presented the numerical method in a pedagogical way, and provided short, publicly available HD and MHD codes. These codes rely on a dimensionally split, second order algorithm in space and time. The Relaxing TVD scheme is easily extendible to account for additional fluid components: multiple fluids, dust, cosmic rays, and additional physical processes, such as fluid interactions and Ohmic resistivity effects. The simplicity and a small number of floating point operations of the basic algorithm is reflected in a performance of 105 zone-cycles/s (on single-core 2 GHz processors).

Download PIERNIK

To download PIERNIK directly from git repo type:

git clone https://github.com/piernik-dev/piernik.git

System requirements

  • python 2.7
  • fortran 2003 compiler (>=gfortran-4.7, >=ifort-13.1)
  • MPI with ROM-IO (any flavour, tested with mpich2, openmpi, mvapich)
  • HDF5 (>=1.8.8, --enable-shared --enable-fortran --enable-fortran2003 --enable-parallel)
  • yt for visualization
  • FFTW (>=3.0, optional, for selfgravity)
  • Lapack (optional, for selfgravity)
  • matplotlib (optional, visualization)
  • IDL (optional, visualization)
Additional remarks

If you are using IDL < 7.2 you'll need newer version of HDF5 DLMs: 32bit DLM or 64bit DLM

homepage.txt · Last modified: 2013/07/02 20:35 by xarth
Recent changes RSS feed Creative Commons License Driven by DokuWiki Powered by Lighty Running on Gentoo