Astrophysics Source Code Library

Making codes discoverable since 1999

Athena: Grid-based code for astrophysical MHD

Discussion topics for individual codes
User avatar
Guardian of the Codes
Posts: 1066
Joined: Wed Aug 04, 2004 4:18 pm
Location: Washington, DC

Athena: Grid-based code for astrophysical magnetohydrodynamics (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: Stone, James M.; Gardiner, Thomas A.; Teuben, Peter; Hawley, John F.; Simon, Jacob B.


Bibcode: 2010ascl.soft10014S

ID: ascl:1010.014
Last edited by Ada Coda on Sun Apr 01, 2018 7:58 pm, edited 1 time in total.
Reason: Updated code entry.
Code-seeking owl at your service

Posts: 21
Joined: Thu Jan 20, 2011 11:28 pm

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

Return to “Astrophysics Source Code Library”

Who is online

Users browsing this forum: Bing [Bot] and 8 guests