SearcharxivSearch

arXiv · 0802.4245

VINE -- A numerical code for simulating astrophysical systems using particles I: Description of the physics and the numerical methods

Abstract

We present a Fortran 95 code for simulating the evolution of astrophysical systems using particles to represent the underlying fluid flow. The code is designed to be versatile, flexible and extensible, with modular options that can be selected either at compile time or at run time. We include a number of general purpose modules describing a variety of physical processes commonly required in the astrophysical community. The code can be used as an N-body code to evolve a set of particles in two or three dimensions using either a Leapfrog or Runge-Kutta-Fehlberg integrator, with or without individual timesteps for each particle. Particles may interact gravitationally as $N$-body particles, and all or any subset may also interact hydrodynamically, using the Smoothed Particle Hydrodynamic (SPH) method. Massive point particles (`stars') which may accrete nearby SPH or $N$-body particles may also be included. The default free boundary conditions can be replaced by a module to include periodic boundaries. Cosmological expansion may also be included. An interface with special purpose `GRAPE' hardware may also be selected. If available, forces obtained from the GRAPE coprocessors may be transparently substituted for those obtained from the default tree based calculation. The code may be run without modification on single processors or in parallel using OpenMP compiler directives on large scale, shared memory parallel machines. In comparison to the Gadget-2 code of Springel 2005, the gravitational force calculation is $\approx 3.5 - 4.8$ times faster with VINE when run on 8 Itanium~2 processors in an SGI Altix, while producing nearly identical outcomes in our test problems. We present simulations of several test problems, including a merger simulation of two elliptical galaxies with 800000 particles.

Explore related subjects

Keep this discovery

BibTeXRIS

M. Wetzstein, Andrew F. Nelson, T. Naab, A. Burkert. 2009-07-10. VINE -- A numerical code for simulating astrophysical systems using particles I: Description of the physics and the numerical methods. https://doi.org/10.1088/0067-0049%2F184%2F2%2F298

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Pulsar Magnetic Field Oscillation Model and Verification Methods

We constructed the magnetic field oscillation model (hereafter the MO model) by analogizing the periodically reversing phenomenon of the solar magnetic field to pulsars. Almost all kinds of pulsar radiation phenomena are best explained using the MO model, especially polarization characteristics, glitch, generation rate, the geodetic precession of pulsars and the configuration of pulsar-wind nebula of the Crab. The MO model also provides satisfactory explanation for other characteristics of pulsars, e.g., interpulse, spin-down, pulse nulling, beat and pulse drift, the loss rate of the rotating energy, and the accuracy of frequency. We present eight verification methods for the MO model. In addition to pulsars, our MO model can also be used to explain the pulse emission from non-compact stars such as the ultracool dwarf TVLM 513-46546 and the magnetic chemically peculiar star CU Virginis.

astro-ph

Cosmological parameters from WMAP 5-year temperature maps

I calculate a hybrid cross-power spectrum estimator from the WMAP 5-year CMB temperature maps, discuss the goodness of fit, and then constrain cosmological parameters. The spectrum and results are generally consistent with previous results, though the power spectrum error bars are slightly smaller and there are small shifts at high ell. The small improvement in error bars is obtained at very low numerical cost but does not significantly improve parameter constraints. I discuss the accuracy of the likelihood model and how constraints on the optical depth translate into constraints on the reionization history allowing for helium reionization. In the appendices I propose a simple reionization parameterization that determines the history in terms of a mid-point reionization redshift, and suggest a new likelihood approximation for chi-squared-like distributions with varying skewness.

astro-ph

The Statistics of Radio Astronomical Polarimetry: Bright Sources and High Time Resolution

A four-dimensional statistical description of electromagnetic radiation is developed and applied to the analysis of radio pulsar polarization. The new formalism provides an elementary statistical explanation of the modal broadening phenomenon in single pulse observations. It is also used to argue that the degree of polarization of giant pulses has been poorly defined in past studies. Single and giant pulse polarimetry typically involves sources with large flux densities and observations with high time resolution, factors that necessitate consideration of source-intrinsic noise and small-number statistics. Self noise is shown to fully explain the excess polarization dispersion previously noted in single pulse observations of bright pulsars, obviating the need for additional randomly polarized radiation. Rather, these observations are more simply interpreted as an incoherent sum of covariant, orthogonal, partially polarized modes. Based on this premise, the four-dimensional covariance matrix of the Stokes parameters may be used to derive mode-separated pulse profiles without any assumptions about the intrinsic degrees of mode polarization. Finally, utilizing the small-number statistics of the Stokes parameters, it is established that the degree of polarization of an unresolved pulse is fundamentally undefined; therefore, previous claims of highly polarized giant pulses are unsubstantiated. Unpublished supplementary material is appended after the bibliography.

astro-ph