Journal of Open Research Software (Apr 2019)

pydiffusion: A Python Library for Diffusion Simulation and Data Analysis

  • Zhangqi Chen,
  • Qiaofu Zhang,
  • Ji-Cheng Zhao

DOI
https://doi.org/10.5334/jors.255
Journal volume & issue
Vol. 7, no. 1

Abstract

Read online

pydiffusion is a free and open-source Python library designed to solve diffusion problems for both single-phase and multi-phase binary systems. The key features of pydiffusion include fast simulation of multi-phase diffusion and extraction of diffusion coefficients from experimental concentration profiles using forward simulation analysis. pydiffusion also provides various mathematical models for diffusion profile smoothing, diffusion coefficient evaluation, and data optimization. In pydiffusion, diffusion profiles and various phases are easy to define or read from the experimental datasets. Visualization tools based on Matplotlib are also provided to help users present or refine their simulations and analysis. Funding statement: The development of pydiffusion is supported by the US National Science Foundation (NSF) under Grant number CMMI-1333999, and it is part of an NSF Designing Materials to Revolutionize and Engineer our Future (DMREF) project.

Keywords