The FiPy source code is now hosted at

This site is no longer active


FiPy is an object oriented, partial differential equation (PDE) solver, written in Python , based on a standard finite volume approach. The framework has been developed in the Metallurgy Division and Center for Theoretical and Computational Materials Science (CTCMS), in the Material Measurement Laboratory (MML) at the National Institute of Standards and Technology (NIST).

The solution of coupled sets of PDEs is ubiquitous to the numerical simulation of science problems. Numerous PDE solvers exist, using a variety of languages and numerical approaches. Many are proprietary, expensive and difficult to customize. As a result, scientists spend considerable resources repeatedly developing limited tools for specific problems. Our approach, combining the finite volume method and Python, provides a tool that is extensible, powerful and freely available. A significant advantage to Python is the existing suite of tools for array calculations, sparse matrices and data rendering.

The FiPy framework includes terms for transient diffusion, convection and standard sources, enabling the solution of arbitrary combinations of coupled elliptic, hyperbolic and parabolic PDEs. Currently implemented models include phase field treatments of polycrystalline, dendritic, and electrochemical phase transformations as well as a level set treatment of the electrodeposition process .

The primary homepage for FiPy is at

To ask questions, please join FiPy's mailing list.

Other wiki pages:

  • Examples provided by FiPy users:

This MatForge Trac site provides:


Starting Points

For a complete list of local wiki pages, see TitleIndex.


Any mention of commercial products within NIST web pages on MatForge is for information only; it does not imply recommendation or endorsement by NIST.

Use of NIST Information

These World Wide Web pages are provided as a public service by the National Institute of Standards and Technology (NIST). With the exception of material marked as copyrighted, information presented on these pages is considered public information and may be distributed or copied. Use of appropriate byline/photo/image credits is requested.

Last modified 4 months ago Last modified on 09/22/14 16:47:13