export_data

classmethod COMSOL.export_data(network, phases=[], filename='')[source]

Saves the network and geometry data from the given objects into the specified file. This exports in 2D only where throats and pores have rectangular and circular shapes, respectively.

Parameters
  • network (GenericNetwork) – The network containing the desired data

  • phases (list[GenericPhase]s (optional, default is none)) –

Notes

This method only saves the network and geometry data, not any of the pore-scale models or other attributes. To save an actual OpenPNM Project use the Workspace object.