to_paraview#

to_paraview(network, filename)[source]#

Exports an OpenPNM network to a paraview state file.

Parameters
  • network (GenericNetwork) – 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