TC-Python is a Python-based SDK introduced in Thermo-Calc 2018a that allows users to couple Thermo-Calc calculations with other software in an open way. The SDK was built in the popular language PythonTM 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. Key features of TC-Python include:
Built in Python™ to give users access to many other programs. The language is also easier to start with than, for example, FORTRAN or C.
Uses Intellisense to help you 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 you 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 minimises the occurrence of errors and makes it an easy option even for those who do not have experience working with APIs.
Couples with other software programs such as numerical packages like NumPy and SciPy in a very open way, making it an integral part of the ICME framework .
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.
Once you have a license for TC-Python, the other software components are open source and have good developing tools.
The first release of TC-Python focuses on two calculations types:
Single equilibrium calculations
Precipitation calculations - All of the precipitation calculations available in the Precipitation Module (TC-PRISMA) can now be integrated into your own programming workflow with TC-Python. This is the first Thermo-Calc SDK that can be used for precipitation calculations.
NOTE: Users who do not have a Precipitation module (TC-PRISMA) license can make precipitation calculations with up to three elements using the Precipitation module DEMO included in your software.
We will continue to develop TC-Python and plan to add several additional calculation types in the upcoming releases:
Free Trial License
We are offering a free trial license of TC-Python to all users with a valid Maintenance & Support Subscription until the end of 2018. If you have Thermo-Calc 2018a or newer, simply fill out the form below and we will contact you about your free trial license.
To access your basic license information:
From the Thermo-Calc menu, select Help>Show License Info.
Copy all of the information in the License Information window. Make sure to scroll to the end as lot of information may be shown below the initial screen. In Console Mode, you can also copy the same information by using the SYS module command DISPLAY_LICENSE_INFO.
Paste the copied information in the form above.
In order to run TC-Python, you must have Thermo-Calc 2018a or newer and you must install additional software programs. There are various ways to do this, but we recommend the following open source programs: