Piernik Mhd Code — a Multi–fluid, Non–ideal Extension of the Relaxing–tvd Scheme (ii)
نویسنده
چکیده
We present a new multi–fluid, grid MHD code PIERNIK, which is based on the Relaxing TVD scheme (Jin and Xin, 1995). The original scheme (see Trac & Pen (2003) and Pen et al. (2003)) has been extended by an addition of dynamically independent, but interacting fluids: dust and a diffusive cosmic ray 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, and a selfgravity module, Ohmic resistivity module, as well as other facilities which are useful in astrophysical fluid–dynamical simulations. The code is parallelized by means of the MPI library. In this paper we introduce the multifluid extension of Relaxing TVD scheme and present a test case of dust migration in a two–fluid disk composed of gas and dust. We demonstrate that due to the difference in azimuthal velocities of gas and dust and the drag force acting on both components dust drifts towards maxima of gas pressure distribution. 1 Multifluid extension of the Relaxing TVD scheme The basic set of conservative MHD equations (see Paper I, (Hanasz et al., 2008), this volume) describes a single fluid. The Relaxing TVD scheme by Pen, Arras & Wong (2003) can be easily extended for multiple fluids by concatenation of the vectors of conservative variables for different fluids u = ( ρi,mix,m i y,m i z, e i } {{ } ionized gas , ρn,mnx ,m n y ,m n z , e n } {{ } neutral gas , ρd,mdx,m d y,m d z } {{ } dust ) , (1.1) 1 Toruń Centre for Astronomy, Nicolaus Copernicus University, Toruń, Poland; e-mail: [email protected] 2 School of Physics, University of Exeter, United Kingdom; e-mail: [email protected] c © EDP Sciences 2008 DOI: (will be inserted later) 2 Title : will be set by the publisher representing ionized gas, neutral gas, as well as dust treated as a pressureless fluid. In a short notation this can be written as
منابع مشابه
Piernik Mhd Code — a Multi – Fluid , Non – Ideal Extension of the Relaxing – Tvd Scheme ( I )
We present a new multi–fluid, grid MHD code PIERNIK, which is based on the Relaxing TVD scheme. The original scheme has been extended by an addition of dynamically independent, but interacting fluids: dust and a diffusive cosmic ray 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 new MHD code with adaptive mesh refinement and parallelization for astrophysics
A new code, named MAP, is written in FORTRAN language for magnetohydrodynamics (MHD) calculation with the adaptive mesh refinement (AMR) and Message Passing Interface (MPI) parallelization. There are several optional numerical schemes for computing the MHD part, namely, modified Mac Cormack Scheme (MMC), Lax-Fridrichs scheme (LF) and weighted essentially non-oscillatory (WENO) scheme. All of th...
متن کاملA Primer on Eulerian Computational Fluid Dynamics for Astrophysics
We present a pedagogical review of some of the methods employed in Eulerian computational fluid dynamics (CFD). Fluid mechanics is governed by the Euler equations, which are conservation laws for mass, momentum, and energy. The standard approach to Eulerian CFD is to divide space into finite volumes or cells and store the cell-averaged values of conserved hydro quantities. The integral Euler eq...
متن کاملNumerical Magnetohydrodynamics in Astrophysics: Algorithm and Tests for One-Dimensional Flow
We describe a numerical code to solve the equations for ideal magnetohydrodynamics (MHD). It is based on an explicit finite difference scheme on an Eulerian grid, called the Total Variation Diminishing (TVD) scheme, which is a second-order-accurate extension of the Roe-type upwind scheme. We also describe a nonlinear Riemann solver for ideal MHD, which includes rarefactions as well as shocks an...
متن کاملA High Order Godunov Scheme with Constrained Transport and Adaptive Mesh Refinement for Astrophysical MHD
Aims. In this paper, we present a new method to perform numerical simulations of astrophysical MHD flows using the Adaptive Mesh Refinement framework and Constrained Transport. Methods. The algorithm is based on a previous work in which the MUSCL–Hancock scheme was used to evolve the induction equation. In this paper, we detail the extension of this scheme to the full MHD equations and discuss ...
متن کامل