The PIERNIK MHD code - a multi-fluid, non-ideal extension of the relaxing-TVD scheme (I)
Abstract
We present a new multi-fluid, grid-based magnetohydrodynamics (MHD) code PIERNIK, which is based on the Relaxing Total Variation Diminishing (RTVD) scheme. The original scheme has been extended by an addition of dynamically independent, but interacting fluids: dust and a diffusive cosmic ray (CR) gas, described within the fluid approximation, with an option to add other fluids in an easy way. The code has been equipped with shearing-box boundary conditions, a selfgravity module, an Ohmic resistivity module, as well as other facilities which are useful in astrophysical fluid-dynamical simulations. The code is parallelized by means of an MPI library. In this paper we briefly introduce the basic elements of the RTVD MHD algorithm, following Trac & Pen (2003) and Pen et al. (2003), and then focus on a conservative implementation of the shearing-box model, constructed with the aid of Masset's (2000) method. We present the results of a test example of the formation of a gravitationally bound object (a planet) in a self-gravitating and differentially rotating fluid.
- Publication:
-
EAS Publications Series
- Pub Date:
- April 2010
- DOI:
- 10.1051/eas/1042029
- arXiv:
- arXiv:0812.2161
- Bibcode:
- 2010EAS....42..275H
- Keywords:
-
- Astrophysics
- E-Print:
- 6 pages, 3 figures, conference proceedings of the Torun Exoplanets 2008