• ## Bainite

It's not pearlite or martensite. A blog written by Mathew Peet.

## Thermocalc script to generate GES5 file

Thermocalc script to make a GES5 file – these files contain thermodynamic data and are used with the tq programming interface to thermocalc.

Make_GES5.TCM
``` go database-retrieval switch-database ttni8 define-elements Ni Cr get-data goto gibbs-energy-system save Ni-Cr-Data ```

## Detextify – Find latex symbols

This website (http://detexify.kirelabs.org/classify.html) is really useful if you don’t know the markup/command for the LaTex symbol you want to write. Provided you are able to draw it.

The website talks about the software learning how to recognise the symbols so I guess it is using some neural network scheme.

## NINJA finance modelling

Learn Financial modelling like a Ninja

I saw this advert. From wall street 2 I learned that NINJA stands for, No Income, No Job or Assets.

## MTDATA script – driving force

Here is a quick example script to calculate driving force for formation of ferrite from austenite.

``` mu define system 'Fe,Cr,Ni,Mo,N,C,Mn' source tcfe ! % fe Cr Ni Mo N set w(1) undef w(2) 23.00 w(3) 9.0 w(4) 3.0 w(5) 0.15 ! % C Mn set w(6) 0.02 w(7) 0.8 ! set w 100 ! classify absent p(*) ! step temp 973 1273 10 ! % % calculating for FCC % classify normal p(FCC_A1) ! compute print brief print mol ! compute print graphics_output ! units temperature celsius ! ordinate gibbs system ! plot tabulate spreadsheet ! % % calculating for BCC + FCC % classify normal p(BCC_A2) ! compute print brief print mol ! compute print graphics_output ! units temperature celsius ! ordinate gibbs system ! plot tabulate spreadsheet ! ```

This gives the answer in Joules / 100 kg.

## Mtdata Script example 1

Here is an example macro for use with thermodynamics software mtdata. This script sets up a stepped calculation of equilibrium for a steel composition, it then output a text file of the mass fraction of each phase. Reading the script is made difficult by the use of contracted version of the commands. The first command selects the multiphase modules could have been written ‘mu’ rather than ‘multiphase’. The next command starts ‘def sys…’ is the same as ‘define system’. Note most commands end with an exclamation mark, this is the way to tell mtdata you really mean what you typed.

``` :Macro file to calculate equilibrium phase fractions :Mathew Peet and Hala Salman Hasan 20th June 2007 multiphase def sys "Fe,C,Si,Mn,Cr,Mo,Co,Al" source plus sub_sgte ! :this is a comment :uncomment following line to use tcfe database instead :def sys "Fe,C,Si,Mn,Cr,Mo,Co,Al" source tcfe ! classify absent phase(*) ! classify normal phase(FCC_A1,BCC_A2,M23C6,M6C,cementite,m7c3) ! classify misc(FCC_A1) 1 ! set w 100 ! set w(2) 0.78 w(3) 1.6 w(4) 2.02 w(5) 1.01 w(6) 0.24 w(7) 3.87 w(8) 1.37 ! step temp 773 1373 5 ! :this line is a comment :following 3 lines output a spreadsheet of phase fractions with temperature com pri gra ! ord mass phase ! plot tabu spread ! :uncomment line/ type following to see compositions of phases :compute print brief print mol ! ```

Example output of the above calculation was archived.