project_to_paraview#

project_to_paraview(project, filename)[source]#

Exports an OpenPNM network to a paraview state file.

Parameters:
  • network (Network) – The network containing the desired data.

  • filename (str) – Path to saved .vtp file.

Notes

Outputs a pvsm file that can be opened in Paraview. The pvsm file will be saved with the same name as .vtp file