This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | tutorials:t3 [2019/05/08 16:36] – [Complimentary files] pwarczok | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== T3: Stepped equilibrium calculations ===== | ||
+ | //This tutorial was tested on \\ | ||
+ | MatCalc version 6.01 rel 1.003 \\ | ||
+ | license: free \\ | ||
+ | database: mc_fe.tdb // | ||
+ | |||
+ | ==== Complimentary files ==== | ||
+ | |||
+ | Click {{: | ||
+ | |||
+ | |||
+ | ==== Contents ==== | ||
+ | |||
+ | * Re-opening a saved file and loading a calculation state | ||
+ | * Calculating a stepped equilibrium with varying temperature | ||
+ | * Understanding the results in the Output window | ||
+ | * Working with multiple buffers | ||
+ | * Calculating a stepped equilibrium with varying composition | ||
+ | * The "Edit buffer states" | ||
+ | |||
+ | ===== Before starting... ===== | ||
+ | |||
+ | Re-open the file saved from [[tutorials: | ||
+ | |||
+ | ===== Stepped equilibrium calculation with varying temperature ===== | ||
+ | |||
+ | ==== Running the stepped calculation ==== | ||
+ | |||
+ | In phase status window, remove graphite phase. Select **' | ||
+ | In the **' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Output ==== | ||
+ | |||
+ | The **' | ||
+ | |||
+ | < | ||
+ | 1, 0,00 s, 600,00 C (873,15 K), its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 2, 0,00 s, 625,00 C (898,15 K), its 4, BCC_A2 CEMENTITE - OK - | ||
+ | 3, 0,00 s, 650,00 C (923,15 K), its 4, BCC_A2 CEMENTITE - OK - | ||
+ | 4, 0,00 s, 675,00 C (948,15 K), its 4, BCC_A2 CEMENTITE - OK - | ||
+ | 5, 0,00 s, 700,00 C (973,15 K), its 4, BCC_A2 CEMENTITE - OK - | ||
+ | 6, 0,00 s, 725,00 C (998,15 K), its 4, BCC_A2 CEMENTITE - OK - | ||
+ | Tsol ' | ||
+ | Tsol ' | ||
+ | 7, 0,01 s, 750,00 C (1023,15 K), its 5, FCC_A1 BCC_A2 - OK - | ||
+ | 8, 0,00 s, 775,00 C (1048,15 K), its 5, FCC_A1 BCC_A2 - OK - | ||
+ | Tsol ' | ||
+ | 9, 0,00 s, 800,00 C (1073,15 K), its 4, FCC_A1 - OK - | ||
+ | 10, 0,00 s, 825,00 C (1098,15 K), its 2, FCC_A1 - OK - | ||
+ | 11, 0,00 s, 850,00 C (1123,15 K), its 2, FCC_A1 - OK - | ||
+ | 12, 0,00 s, 875,00 C (1148,15 K), its 2, FCC_A1 - OK - | ||
+ | 13, 0,00 s, 900,00 C (1173,15 K), its 2, FCC_A1 - OK - | ||
+ | 14, 0,00 s, 925,00 C (1198,15 K), its 2, FCC_A1 - OK - | ||
+ | 15, 0,00 s, 950,00 C (1223,15 K), its 2, FCC_A1 - OK - | ||
+ | 16, 0,00 s, 975,00 C (1248,15 K), its 2, FCC_A1 - OK - | ||
+ | 17, 0,00 s, 1000,00 C (1273,15 K), its 2, FCC_A1 - OK - | ||
+ | 18, 0,00 s, 1025,00 C (1298,15 K), its 2, FCC_A1 - OK - | ||
+ | 19, 0,00 s, 1050,00 C (1323,15 K), its 2, FCC_A1 - OK - | ||
+ | 20, 0,00 s, 1075,00 C (1348,15 K), its 2, FCC_A1 - OK - | ||
+ | 21, 0,00 s, 1100,00 C (1373,15 K), its 2, FCC_A1 - OK - | ||
+ | 22, 0,00 s, 1125,00 C (1398,15 K), its 2, FCC_A1 - OK - | ||
+ | 23, 0,00 s, 1150,00 C (1423,15 K), its 2, FCC_A1 - OK - | ||
+ | 24, 0,00 s, 1175,00 C (1448,15 K), its 2, FCC_A1 - OK - | ||
+ | 25, 0,00 s, 1200,00 C (1473,15 K), its 2, FCC_A1 - OK - | ||
+ | 26, 0,00 s, 1225,00 C (1498,15 K), its 2, FCC_A1 - OK - | ||
+ | 27, 0,00 s, 1250,00 C (1523,15 K), its 2, FCC_A1 - OK - | ||
+ | 28, 0,00 s, 1275,00 C (1548,15 K), its 2, FCC_A1 - OK - | ||
+ | 29, 0,00 s, 1300,00 C (1573,15 K), its 2, FCC_A1 - OK - | ||
+ | 30, 0,00 s, 1325,00 C (1598,15 K), its 2, FCC_A1 - OK - | ||
+ | 31, 0,00 s, 1350,00 C (1623,15 K), its 2, FCC_A1 - OK - | ||
+ | 32, 0,00 s, 1375,00 C (1648,15 K), its 2, FCC_A1 - OK - | ||
+ | 33, 0,00 s, 1400,00 C (1673,15 K), its 2, FCC_A1 - OK - | ||
+ | 34, 0,00 s, 1425,00 C (1698,15 K), its 2, FCC_A1 - OK - | ||
+ | 35, 0,00 s, 1450,00 C (1723,15 K), its 2, FCC_A1 - OK - | ||
+ | Tsol ' | ||
+ | 36, 0,00 s, 1475,00 C (1748,15 K), its 3, LIQUID FCC_A1 - OK - | ||
+ | Tsol ' | ||
+ | Tsol ' | ||
+ | 37, 0,00 s, 1500,00 C (1773,15 K), its 5, LIQUID BCC_A2 - OK - | ||
+ | Tsol ' | ||
+ | 38, 0,00 s, 1525,00 C (1798,15 K), its 4, LIQUID - OK - | ||
+ | 39, 0,00 s, 1550,00 C (1823,15 K), its 2, LIQUID - OK - | ||
+ | 40, 0,00 s, 1575,00 C (1848,15 K), its 2, LIQUID - OK - | ||
+ | 41, 0,00 s, 1600,00 C (1873,15 K), its 2, LIQUID - OK - | ||
+ | changing step direction ... | ||
+ | 42, 0,00 s, 575,00 C (848,15 K), its 5, BCC_A2 CEMENTITE - OK - | ||
+ | 43, 0,00 s, 550,00 C (823,15 K), its 5, BCC_A2 CEMENTITE - OK - | ||
+ | 44, 0,00 s, 525,00 C (798,15 K), its 5, BCC_A2 CEMENTITE - OK - | ||
+ | 45, 0,00 s, 500,00 C (773,15 K), its 5, BCC_A2 CEMENTITE - OK - | ||
+ | 46, 0,00 s, 475,00 C (748,15 K), its 5, BCC_A2 CEMENTITE - OK - | ||
+ | 47, 0,00 s, 450,00 C (723,15 K), its 5, BCC_A2 CEMENTITE - OK - | ||
+ | 48, 0,00 s, 425,00 C (698,15 K), its 5, BCC_A2 CEMENTITE - OK - | ||
+ | 49, 0,00 s, 400,00 C (673,15 K), its 5, BCC_A2 CEMENTITE - OK - | ||
+ | Steps: 50, CalcTime: 0,11 s | ||
+ | AktStepVal: 673,150000 | ||
+ | - OK - | ||
+ | </ | ||
+ | |||
+ | Each line corresponds to an equilibrium calculated at a single temperature value and comprises a line number, the calculation time, the temperature, | ||
+ | Note that the temperature-stepping starts from the equilibrium at 600°C loaded from the calculation state. Initially, the temperature is increased by the **' | ||
+ | Also note the lines beginning with **' | ||
+ | The final three lines of output give the number of steps and total calculation time, the current value of the stepped variable (673.15 K = 400°C) and an **' | ||
+ | The contents of the **' | ||
+ | |||
+ | ==== Buffers ==== | ||
+ | |||
+ | All the equilibria listed above are stored in a buffer. In other words, a buffer is a collection of calculation states, with each calculation state created at a different temperature. The default buffer is named **' | ||
+ | To be able to keep more than one set of stepped equilibria, additional buffers must be created. Firstly, rename the existing default buffer using **' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Stepped equilibrium calculation with varying carbon content ===== | ||
+ | |||
+ | ==== Running the calculation ==== | ||
+ | |||
+ | Calculate an equilibrium at 500°C. Open the **' | ||
+ | In the **' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The contents of the **' | ||
+ | |||
+ | < | ||
+ | 1, 0,00 s, 0,4, its 9, BCC_A2 CEMENTITE - OK - | ||
+ | 2, 0,00 s, 0,45, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 3, 0,00 s, 0,5, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 4, 0,00 s, 0,55, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 5, 0,00 s, 0,6, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 6, 0,00 s, 0,65, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 7, 0,00 s, 0,7, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 8, 0,00 s, 0,75, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 9, 0,00 s, 0,8, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 10, 0,00 s, 0,85, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 11, 0,00 s, 0,9, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 12, 0,01 s, 0,95, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 13, 0,00 s, 1, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 14, 0,00 s, 1,05, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 15, 0,00 s, 1,1, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 16, 0,00 s, 1,15, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 17, 0,00 s, 1,2, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 18, 0,00 s, 1,25, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 19, 0,00 s, 1,3, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 20, 0,00 s, 1,35, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 21, 0,00 s, 1,4, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 22, 0,00 s, 1,45, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 23, 0,00 s, 1,5, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | changing step direction ... | ||
+ | 24, 0,00 s, 0,35, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 25, 0,00 s, 0,3, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 26, 0,00 s, 0,25, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 27, 0,00 s, 0,2, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 28, 0,00 s, 0,15, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 29, 0,00 s, 0,1, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | 30, 0,00 s, 0,05, its 2, BCC_A2 CEMENTITE - OK - | ||
+ | Xsol ' | ||
+ | X(C): 5, | ||
+ | - OK - | ||
+ | 31, 0,00 s, 1e-012, its 4, BCC_A2 - OK - | ||
+ | Steps: 32, CalcTime: 0,07 s | ||
+ | AktStepVal: 0,000000 | ||
+ | - OK - | ||
+ | </ | ||
+ | |||
+ | Similarly to the temperature-step calculation, | ||
+ | At 500°C, the stable phases are BCC_A2 and CEMENTITE across almost the whole composition range, but between the final two equilibria there is a line beginning with **' | ||
+ | Create a third buffer named **'C=0 to 1.5 at 800°C' | ||
+ | |||
+ | < | ||
+ | 1, 0,00 s, 0,4, its 23, FCC_A1 - OK - | ||
+ | 2, 0,00 s, 0,45, its 3, FCC_A1 - OK - | ||
+ | 3, 0,00 s, 0,5, its 3, FCC_A1 - OK - | ||
+ | 4, 0,00 s, 0,55, its 3, FCC_A1 - OK - | ||
+ | 5, 0,00 s, 0,6, its 3, FCC_A1 - OK - | ||
+ | 6, 0,00 s, 0,65, its 3, FCC_A1 - OK - | ||
+ | 7, 0,00 s, 0,7, its 3, FCC_A1 - OK - | ||
+ | 8, 0,00 s, 0,75, its 3, FCC_A1 - OK - | ||
+ | 9, 0,00 s, 0,8, its 3, FCC_A1 - OK - | ||
+ | 10, 0,00 s, 0,85, its 3, FCC_A1 - OK - | ||
+ | 11, 0,00 s, 0,9, its 3, FCC_A1 - OK - | ||
+ | Xsol ' | ||
+ | X(C): 0, | ||
+ | - OK - | ||
+ | 12, 0,00 s, 0,95, its 4, FCC_A1 CEMENTITE - OK - | ||
+ | 13, 0,00 s, 1, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 14, 0,00 s, 1,05, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 15, 0,00 s, 1,1, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 16, 0,00 s, 1,15, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 17, 0,00 s, 1,2, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 18, 0,00 s, 1,25, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 19, 0,00 s, 1,3, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 20, 0,00 s, 1,35, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 21, 0,01 s, 1,4, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 22, 0,00 s, 1,45, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | 23, 0,00 s, 1,5, its 2, FCC_A1 CEMENTITE - OK - | ||
+ | changing step direction ... | ||
+ | 24, 0,00 s, 0,35, its 3, FCC_A1 - OK - | ||
+ | Xsol ' | ||
+ | X(C): 0, | ||
+ | - OK - | ||
+ | 25, 0,00 s, 0,3, its 4, FCC_A1 BCC_A2 - OK - | ||
+ | 26, 0,00 s, 0,25, its 2, FCC_A1 BCC_A2 - OK - | ||
+ | 27, 0,00 s, 0,2, its 2, FCC_A1 BCC_A2 - OK - | ||
+ | 28, 0,00 s, 0,15, its 2, FCC_A1 BCC_A2 - OK - | ||
+ | 29, 0,00 s, 0,1, its 2, FCC_A1 BCC_A2 - OK - | ||
+ | 30, 0,00 s, 0,05, its 2, FCC_A1 BCC_A2 - OK - | ||
+ | Xsol ' | ||
+ | X(C): 0, | ||
+ | - OK - | ||
+ | 31, 0,00 s, 1e-012, its 4, BCC_A2 - OK - | ||
+ | Steps: 32, CalcTime: 0,07 s | ||
+ | AktStepVal: 0,000000 | ||
+ | - OK - | ||
+ | </ | ||
+ | |||
+ | ==== Edit buffer states ==== | ||
+ | |||
+ | The **' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The upper part of the **' | ||
+ | The next two tutorials demonstrate how to produce graphical plots of phase fractions, compositions and many other quantities as a function of the stepped variable. | ||
+ | |||
+ | ===== To finish... ===== | ||
+ | |||
+ | Save the workspace file - it will be needed again in [[tutorials: | ||
+ | |||
+ | ===== Consecutive articles ===== | ||
+ | |||
+ | The tutorial is continued in article [[tutorials: | ||
+ | |||
+ | Go to [[: |