Athena: Grid-based code for astrophysical MHD

The largest collection of astrophysics codes anywhere
Forum rules
The ASCL code entries have moved to; this forum is now read-only.

Athena: Grid-based code for astrophysical MHD

Postby owlice » Mon Oct 11, 2010 3:33 am

Athena: Grid-based code for astrophysical magnetohydrodynamics (MHD)

Abstract: Athena is a grid-based code for astrophysical magnetohydrodynamics (MHD). It was developed primarily for studies of the interstellar medium, star formation, and accretion flows. The code has been designed to be easily extensible for use with static and adaptive mesh refinement. It combines higher-order Godunov methods with the constrained transport (CT) technique to enforce the divergence-free constraint on the magnetic field. Discretization is based on cell-centered volume-averages for mass, momentum, and energy, and face-centered area-averages for the magnetic field. Novel features of the algorithm include (1) a consistent framework for computing the time- and edge-averaged electric fields used by CT to evolve the magnetic field from the time- and area-averaged Godunov fluxes, (2) the extension to MHD of spatial reconstruction schemes that involve a dimensionally-split time advance, and (3) the extension to MHD of two different dimensionally-unsplit integration methods. Implementation of the algorithm in both C and Fortran95 is detailed, including strategies for parallelization using domain decomposition. Results from a test suite which includes problems in one-, two-, and three-dimensions for both hydrodynamics and MHD are given, not only to demonstrate the fidelity of the algorithms, but also to enable comparisons to other methods. The source code is freely available for download on the web.

Credit: James M. Stone, Thomas A. Gardiner, Peter Teuben, John F. Hawley, Jacob B. Simon


ID: ascl:1010.014
A closed mouth gathers no foot.
User avatar
Guardian of the Codes
Posts: 8234
Joined: Wed Aug 04, 2004 4:18 pm
Location: Washington, DC

Re: Athena: Grid-based code for astrophysical MHD

Postby teuben » Tue Feb 19, 2013 4:42 am

See also: Minerva (Cylindrical coordinate extension for Athena) ascl:1302.006
Posts: 21
Joined: Thu Jan 20, 2011 11:28 pm

Return to The Engineering Deck: Astrophysics Source Code Library

Who is online

Users browsing this forum: CommonCrawl [Bot] and 1 guest