Skip to main content

Tips and Tricks: Speeding Up TTP and CCT Calculations

For a general precipitation calculation, the precipitates are divided into a large number of size groups in order to get a good size distribution, for example. However, this can make multi-component calculations slow. There are some cases when this is not necessary, such as when performing Time-Temperature-Precipitation (TTP) and Continuous Cooling Transformation (CCT) calculations. You can therefore speed up these calculations by changing the settings.

 

How to Speed Up TTP and CCT Calculations in Graphical Mode

When performing TTP calculations in the Precipitation Module (TC-PRISMA) of Thermo-Calc, the default parameters for particle size distribution make the TTP calculation slow. The same applies to CCT calculations. However, since we are only interested in the TTP/CCT curves, there is no need to have a detailed description of particle size distributions when performing these calculations. You can therefore speed up your TTP and CCT calculations by decreasing the particle size distribution parameters. This is done with these simple steps: 

  1. In Graphical Mode, select the Precipitation Simulation template and set up your TTP or CCT calculation as usual. 
  2. Within the Precipitation Calculator node, go to the Options tab.
  3. Lower the default values for the three following parameters by one order of magnitude (as shown in the figure below): 
    • No. of grid points over one order of magnitude in radius
    • Max no. of grid points over one order of magnitude in radius
    • Min no. of grid points over one order of magnitude in radius
  4. Perform your calculation.
settings_speeding-up-ttt-calculations

The recommended settings for TTP and CCT calculations in Graphical Mode

Applying the Method to TC-Python and TC-Toolbox for MATLAB®

The same settings changes can be used to speed up the TTP and CCT calculations for the Precipitation Module (TC-PRISMA) in TC-Python and TC-Toolbox for MATLAB®. To change these settings, you can write the following code when setting up your calculation:

.with_numerical_parameters(NumericalParameters().set_radius_points_per_magnitude(15))

.with_numerical_parameters(NumericalParameters().set_min_radius_points_per_magnitude(10))

.with_numerical_parameters(NumericalParameters().set_max_radius_points_per_magnitude(20))

It is important to note that these settings only are valid when calculating small fractions of the particle phase. Additionally, only spherical geometry is necessary in these cases.

If you have tips and tricks you have found particularly useful, share them with us and we may include them in a future post.

This article is a part of a blog series of tips and tricks to help users get the most out of Thermo-Calc. Read the other blog posts in the series by clicking the button below.

Let Us Help You

Is Thermo-Calc Right for You?

Talk to one of our experts to learn whether our tools fit your needs.