The OpenPNM design paper is now In-Press

The Authors of OpenPNM have spent the last year working on a paper that outlines the underlying design and principles of OpenPNM, and it is now finally “in-press” in Computing in Science and Engineering.  This is a peer-reviewed journal that focuses on research software, published by IEEE.  A DOI has been assigned and the paper can be viewed here.  The final polished version should be available very soon.

New publication using OpenPNM

Some of the OpenPNM developers from McGill and Juelich have recently published a new paper using OpenPNM in the Journal of the Electrochemical Society, which is available open-access.  This paper is an important milestone for several reasons.  Firstly, it couples multiple transport processes into a single ‘multiphysics’ simulation of a fuel cell electrode.  Specifically, it includes diffusion of O2 and H2, conduction of electrons, conduction of protons, and reaction kinetics via the Bulter-Volmer model.  The paper outlines the algorithm we developed to couple these equations and iteratively solve the resulting non-linear system.  Second, this model treats the membrane and catalyst layers as continua, while modeling the diffusion layers as pore networks.  Combining pore network and continua representations into a single framework opens up many possibilities for modeling multi-scale domains with minimal computational cost.

Version 1.4 Released

The OpenPNM Team is pleased to announce the release of Version 1.4.  The main features of this release are (a) an improved drainage algorithm that is easier to work with, and allows late pore filling, trapping and residual wetting phase; as well as (b) an expanded set of import/export tools including the ability to import networks from NetworkX and Statoil formats.  There are a number of other useful features and improvement as well, which are listed in the release notes.

This release is available on the Python Package Index so can be installed into your Python environment with pip install openpnm.  Be sure to add –upgrade if you’ve installed an earlier version.  Visit the documentation for more information on installation and getting started.

Version 1.3 Released

This release follows fast on the heels of v1.2. Some valuable changes that were in-progress at during the v1.2 release are now complete. The main upgrades have been in the Delaunay Network generation class, and the related Voronoi Geometry class and related models. These changes center around the use of image analysis to determine pore and throat sizes, and creating a voxelized representation of the solid structure for visualization. A detailed example has been created on the use of the Delaunay-Voronoi class and will be posted to Additionally, this version now has much more extensive test coverage exceeding 80%.

Special thanks to Tom Tranter for his huge efforts on this one, and the rest of the team of course.

Version 1.1 Released

The OpenPNM Team is pleased to announce the release of OpenPNM-v1.1.  This updated package can be downloaded from the Python Package Index (PyPI) using pip install openpnm –upgrade (drop the –upgrade for first time installs).

This new release adds several key functionalities to the code:

  • The ability to effortlessly save and load simulations using the new Controller object
  • The ability to clone Networks
  • The ability nonlinear add source/sink/reaction terms to any transport calculation
  • Improved interaction with the pore scale models that are stored each object.  They are no longer hidden in a private dictionary, and are now easily accessed, viewed, changed, etc using a customized dictionary.  The documentation on the website as been fully updated to reflect all these changes.
  • Refined object interaction and data exchange, meaning that the geometric properties of ALL pores can be accessed directly from the Network object, and Physics properties from the Phase object.
  • And of course, many new methods and tweaks to make working with the data and objects more friendly and efficient.

OpenPNM in Cancun

Prof. Jeff Gostick gave a talk to full room during the plenary session of the Fuel Cell symposium at the Fall meeting of the Electrochemical Society in Cancun this past October. The talk was focused on the use of pore network models to simulate complete fuel cell operation, include both anode and cathode GDLs, catalyst layers and ionomer separator. The talk illustrated the important impact of the discrete nature of water clusters in the fuel cell electrode, which leads to localized reactant starvation, hindered proton production, and an overall increase in ohmic losses. The work was entirely performed in OpenPNM. The slides for the talk are available here.