pyvisfile is a Python library that 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.