PyVisfile

Pyvisfile allows you to write a variety of visualization file formats, including

  • Kitware's XML-style Vtk data files.
  • Silo visualization files, as introduced by LLNL's MeshTV and more recently used by the VisIt large-scale visualization program.

pyvisfiles supports many mesh geometries, such such as unstructured and rectangular structured meshes, particle meshes, as well as scalar and vector variables on them. In addition, pyvisfile allows the semi-automatic writing of parallelization-segmented visualization files in both Silo and Vtk formats. For Silo files, pyvisfile also supports the writing of expressions as visualization variables.

pyvisfile can write Vtk files without any extra software installed.

To use pyvisfile to create Silo files, you need libsilo as well as Boost.Python and PyUblas. To build pyvisfile's Silo support, please refer to the PyUblas documentation for build instructions first. Check the VisIt source page for the latest Silo source code.

Obtaining PyVisfile

You may download PyVisfile from its Python Package Index page as well as directly from my source control archive. Installation instructions are included in the documentation.

Documentation

PyVisfile has a manual that also contains installation instructions.

Examples

Examples of visualizations resulting from files written by PyVisfile (and its predecessor package, pylo) can be seen on my research gallery page.