Phurbas: An Adaptive, Lagrangian, Meshless, Magnetohydrodynamics Code. II. Implementation and Tests
arXiv:1110.0836 · doi:10.1088/0067-0049/200/1/7
Abstract
We present an algorithm for simulating the equations of ideal magnetohydrodynamics and other systems of differential equations on an unstructured set of points represented by sample particles. The particles move with the fluid, so the time step is not limited by the Eulerian Courant-Friedrichs-Lewy condition. Full spatial adaptivity is required to ensure the particles fill the computational volume, and gives the algorithm substantial flexibility and power. A target resolution is specified for each point in space, with particles being added and deleted as needed to meet this target. We have parallelized the code by adapting the framework provided by GADGET-2. A set of standard test problems, including 1e-6 amplitude linear MHD waves, magnetized shock tubes, and Kelvin-Helmholtz instabilities is presented. Finally we demonstrate good agreement with analytic predictions of linear growth rates for magnetorotational instability in a cylindrical geometry. This paper documents the Phurbas algorithm as implemented in Phurbas version 1.1.
arXiv comment14 pages, 14 figures, ApJS accepted, revised in accordance with changes to paper I (arXiv:1110.0835)
References in corpus (21)
- The cosmological simulation code GADGET-2
- E pur si muove: Galiliean-invariant cosmological hydrodynamical simulations on a moving mesh
- PLUTO: a Numerical Code for Computational Astrophysics
- Athena: A New Code for Astrophysical MHD
- Fundamental differences between SPH and grid methods
- FARGO: a fast eulerian transport algorithm for differentially rotating disks
- Smoothed Particle Hydrodynamics in Astrophysics
- Zonal Flows and Long-Lived Axisymmetric Pressure Bumps in Magnetorotational Turbulence
- Modelling discontinuities and Kelvin-Helmholtz instabilities in SPH
- Numerical Magnetohydrodynamics in Astrophysics: Algorithm and Tests for One-Dimensional Flow
- Hydromagnetic turbulence in computer simulations
- Resolving mixing in Smoothed Particle Hydrodynamics
- High-order conservative finite difference GLM-MHD schemes for cell-centered MHD
- Computational Eulerian Hydrodynamics and Galilean Invariance
- Particle hydrodynamics with tessellation techniques
- Kelvin-Helmholtz instabilities with Godunov SPH
- Rarefaction Shocks, Shock Errors and Low Order of Accuracy in ZEUS
- Kelvin-Helmholtz instabilities in Smoothed Particle Hydrodynamics
- Divergence-free Interpolation of Vector Fields From Point Values - Exact divB=0 in Numerical Simulations
- Modelling Shear Flows with SPH and Grid Based Methods
- Phurbas: An Adaptive, Lagrangian, Meshless, Magnetohydrodynamics Code. I. Algorithm
Cited by in corpus (11)
- Simulating cosmic structure formation with the GADGET-4 code
- A Well-Posed Kelvin-Helmholtz Instability Test and Comparison
- Mineral Processing by Short Circuits in Protoplanetary Disks
- Grand challenges in protoplanetary disc modelling
- Pebble trapping in vortices: three-dimensional simulations
- Planet-disc interaction on a freely moving mesh
- The Kelvin-Helmholtz instability and smoothed particle hydrodynamics
- Orbital advection with magnetohydrodynamics and vector potential
- Phurbas: An Adaptive, Lagrangian, Meshless, Magnetohydrodynamics Code. I. Algorithm
- Gas stripping and mixing in galaxy clusters: A numerical comparison study
- Disentangling Planets from Photoelectric Instability in Gas-Rich Optically Thin Dusty Disks