Hostname: page-component-5c6d5d7d68-tdptf Total loading time: 0 Render date: 2024-08-06T22:51:55.972Z Has data issue: false hasContentIssue false

The PIERNIK MHD code – a multi-fluid, non-ideal extension of therelaxing-TVD scheme (I)

Published online by Cambridge University Press:  19 April 2010

M. Hanasz*
Affiliation:
Toruń Centre for Astronomy, Nicolaus Copernicus University, Toruń, Poland
K. Kowalik
Affiliation:
Toruń Centre for Astronomy, Nicolaus Copernicus University, Toruń, Poland
D. Wóltański
Affiliation:
Toruń Centre for Astronomy, Nicolaus Copernicus University, Toruń, Poland
R. Pawłaszek
Affiliation:
Toruń Centre for Astronomy, Nicolaus Copernicus University, Toruń, Poland
Get access

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.

Type
Research Article
Copyright
© EAS, EDP Sciences, 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Brandenburg, A., & Dobler, W., 2002, Comp. Phys. Comm., 147, 471 CrossRef
Evans, C.R., & Hawley, J.F., 1988, ApJ, 332, 659 CrossRef
Gammie, C.F., 2001, ApJ, 553, 174 CrossRef
Hawley, J.F., Gammie, C.F., & Balbus, S.A., 1995, ApJ, 440, 742 CrossRef
Jin, S., & Xin, Z., 1995, Comm. Pure Appl. Math., 48, 235 CrossRef
Johnson, B.M., Guan, X., & Gammie, C.F., 2008, ApJS, 177, 373 CrossRef
Kowalik, K., 2008, Gravitational Instability in Protoplanetary Disks, Master's thesis at Nicolaus Copernicus University
Masset, F., 2000, A&AS, 141, 165
Pen, U.-L., Arras, P., & Wong, S., 2003, ApJS, 149, 447 CrossRef
Trac, H., & Pen, U.-L., 2003, PASP, 115, 303 CrossRef