to_csv#

to_csv(network, phases=[], filename='', delim=' | ')[source]#

Save all the pore and throat property data on the Network (and optionally on any Phases objects) to CSV files.

Parameters
  • network (OpenPNM Network) – The Network containing the data to be stored

  • phases (list of OpenPNM Phases (optional)) – The Phases whose data should be stored.

  • filename (str or path object) – The name of the file to store the data

Notes

The data from all Geometry objects is added to the file automatically.