to_comsol(network, filename=None)[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.


network (GenericNetwork) – The network containing the desired data


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.