Software Development Kit

TC-Python

Easily couple Thermo-Calc calculations with other software or your own code using the popular programming language Python™.

About TC-Python

TC-Python is a Python™ language-based SDK available with Thermo-Calc which allows for easy and flexible coupling of Thermo-Calc calculations with other software programs. It was built in the popular language Python™ to give Thermo-Calc users access to many other programs, such as numerical packages like NumPy and SciPy, which can now be used in combination with our calculations. It can also be used from within Jupyter notebooks or comparable interactive Python™ consoles.

Many outstanding open source programs are written in Python, so users who have a license for TC-Python have countless options for coupling with free, high-quality development tools. It is truly a tool for Integrated Computational Materials Engineering (ICME).

Designed to Be Easy to Use

The Python language is easier to start with than many other programming languages, for example, Fortran or C, making it a good option even for those unfamiliar with programming languages. TC-Python was designed to be easy to learn and easy to use. For example, it:

  • Uses intelligent code completion to help users more easily navigate through the available classes and methods.
  • Allows users to easily do parallel computations.
  • Takes an object-oriented approach, which makes it easier to reuse information (classes/methods) and more quickly run your calculations when you need to change the compositions.
  • Guides users through the process of setting up the simulation, using good default values when you are unsure of what to use and prompting you to add missing information, for example. This minimizes the occurrence of errors and makes it an easy option even for those who do not have experience working with APIs.
  • Includes several examples with the installation which can be used to both learn about the use of TC‑Python and as a way to build your own calculation simulation.

Includes All Calculation Types from Thermo-Calc

TC-Python includes all the powerful functionality available from within Thermo-Calc Graphical Mode and the majority of the features available in the classic Console Mode. It is the only Thermo-Calc SDK that couples with the Precipitation Module (TC-PRISMA). From TC-Python, users have access to all Thermo-Calc calculations, as well as Add-on Modules, including:

  • Single equilibrium
  • Phase (map) diagrams
  • Property (step) diagrams
  • Scheil Solidification Simulations
  • Batch equilibrium - This is similar to single equilibrium calculations, but offers significant performance improvements when calculating a lot of fast single equilibria, which are systems with few or non-complicated phases
  • Property Models - This includes both pre-installed libraries and custom property models built using the Property Model Development Framework*
  • Precipitation simulations** - All of the precipitation calculations available in the Precipitation Module (TC-PRISMA) can be integrated into your own programming workflow with TC-Python. This is the first Thermo-Calc SDK that can be used for precipitation calculations.
  • Diffusion simulations** - All of the functionality available with the Diffusion Module (DICTRA) in Graphical Mode, and the majority of the commands available with Console Mode, are implemented for use in TC-Python

*Property Model Development Framework
**Users who do not have a Precipitation Module (TC-PRISMA) or Diffusion Module (DICTRA) license can make calculations with up to three elements using the DEMO versions of the Add-on Modules that are included in all Thermo-Calc installations.

Availability

TC-Python is available as an add-on to a Thermo-Calc license. In order to run TC-Python, it is necessary to have Thermo-Calc and at least one thermodynamic and properties database installed. If you are interested in purchasing a license for TC-Python, please contact us to discuss which license is right for you.

Learn More about TC-Python

A collection of videos teaching about TC-Python and demonstrating its capabilities.

Watch now

Modeling the precipitation processes and the formation of hierarchical microstructures in a single crystal high entropy superalloy

Read now

Develop Digital Twins with TC-Python

Read now

A convenient, searchable online help system for TC-Python

Read now

TC-Python API Programmer Guide

Read now

An overview of available Software Development Kits (SDKs).

Read now

Let Us Help You

Find the Right Products