Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.

Analysis Tools

Kengo TOMIDA edited this page Feb 29, 2016 · 10 revisions

Visualization Software

Athena++ can output formatted table, VTK and HDF5 data (see also Outputs).

The formatted table (.tab) format is intended for relatively small simulations, in particular 1D and 2D ones. This is just a simple text file which can be plotted by your favorite plotting software. If you have no idea, we recommend gnuplot as it is simple and free. Meaning of each column is described in the file header.

VTK and HDF5 are standard formats commonly used in numerical simulations. Because VTK is non-parallel IO, it is intended for relatively small 2D and 3D simulations. You can merge the VTK files using vis/vtk/join_vtk++.c, but currently this code works only for simulations without mesh refinement. For massively parallel simulations and/or simulations with mesh refinement, HDF5 is strongly recommended.

To visualize VTK or HDF5 files, there are some options publicly available. We rec

Reading the Data into Python

See Reading data into Python.

Reading .athdf Files

The format of .athdf files is HDF5, and can be read from your favorite programming language using the HDF5 library/package/etc. The data structure is pretty self-explanatory, and you can see it using HDFVIEW provided by the HDF Group.

Clone this wiki locally