8. Voxel Plot File Format

The current version of the voxel file format is 1.0.


  • filetype (char[]) – String indicating the type of file.

  • version (int[2]) – Major and minor version of the voxel file format.

  • openmc_version (int[3]) – Major, minor, and release version number for OpenMC.

  • git_sha1 (char[40]) – Git commit SHA-1 hash.

  • date_and_time (char[]) – Date and time the summary was written.

  • num_voxels (int[3]) – Number of voxels in the x-, y-, and z- directions.

  • voxel_width (double[3]) – Width of a voxel in centimeters.

  • lower_left (double[3]) – Cartesian coordinates of the lower-left corner of the plot.

  • data (int[][][]) – Data for each voxel that represents a material or cell ID.