VTK

class openpnm.io.VTK[source]

The Visualization Toolkit (VTK) format defined by Kitware and used by Paraview.

Notes

Because OpenPNM data is unstructured, the actual output format is VTP, not VTK.

Methods

export_data(network[, phases, filename, ...])

Save network and phase data to a single vtp file for visualizing in Paraview.

import_data(filename[, project, delim])

Read in pore and throat data from a saved VTK file.