Calphad Databases

Calphad database files contain model parameters for Gibbs energy and thermophysical properties of indvididual phases. They are commonly stored and distributed in the following formats:

  • Thermodynamic DataBase (.tdb) format (most common for open databases)

  • ChemSage (.dat) format

  • Commercial encrypted databases (not able to be read by PyCalphad)

  • Emerging XML-based formats (PyCalphad-XML, XTDB, ThermML)

PyCalphad natively has ability parse databases saved with the file extension .tdb or .dat. It can be extended via a plugin system to understand other formats (see PyCalphad-XML, which is deployed as a plugin that allows PyCalphad to understand the .xml extension). These files are read by PyCalphad by importing and creating an instance of the Database class:

from pycalphad import Database
db = Database("path/to/database.tdb")

Obtaining Calphad Databases

It is increasingly common (and required by some journals) for authors to publish their database files in Calphad assessment papers. In the case they are not published, they can usually be constructed by hand from tables of model parameters in the assessment papers.

Many database files have been indexed and made availale through various community efforts (in no particular order):

If you would like to perform your own Calphad assessments using PyCalphad, check out ESPEI!