network_to_comsol#

network_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.

Parameters:

network (Network) – The network containing the desired data

Notes

  • The exported files contain COMSOL geometry objects, not meshes.

  • This class exports in 2D only.