Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorials:t2 [2019/07/18 15:48] – [T2: Calculating a single equilibrium] pwarczoktutorials:t2 [2023/07/28 18:11] – [Using the 'Options' window to modify the display] pwarczok
Line 2: Line 2:
  
 //This tutorial was tested on \\ //This tutorial was tested on \\
-MatCalc version 6.02 rel 1.003 \\+MatCalc version 6.03 rel 1.000 \\
 license: free \\ license: free \\
 database: mc_fe.tdb // database: mc_fe.tdb //
Line 10: Line 10:
 Click {{:tutorials:t2:script:t2_6021003.mcs|here}} to view the script for this tutorial. Click {{:tutorials:t2:script:t2_6021003.mcs|here}} to view the script for this tutorial.
    
-This tutorial explains how to determine the equilibrium phases at a given temperature, and their phase fractions and compositions.+This tutorial explains how to determine the equilibrium phases at a given temperature, their phase fractions and compositions.
  
 ==== Contents ==== ==== Contents ====
Line 27: Line 27:
  
 ===== Setting up the system ===== ===== Setting up the system =====
 +
 +The system setup is the very first operation that needs to be performned by MatCalc user.
  
 ==== Opening a thermodynamic database and selecting elements and phases ==== ==== Opening a thermodynamic database and selecting elements and phases ====
Line 32: Line 34:
 In the **'Global'** menu, select **'Databases'**. In the **'Global'** menu, select **'Databases'**.
  
-{{:tutorials:t2:img:t2_global_database_6021003.png|Open databases window}}+{{:tutorials:t2:img:t2_global_database_6041000.png|Open databases window}}
  
 A window will appear as shown below. A window will appear as shown below.
Line 49: Line 51:
 In the **'Global'** menu, select **'Composition'**. In the **'Global'** menu, select **'Composition'**.
  
-{{:tutorials:t2:img:t2_global_composition_6021003.png| Open composition window}}+{{:tutorials:t2:img:t2_global_composition_6041000.png| Open composition window}}
  
 This opens the **'Nominal composition'** box. The lower part of the box gives options for the units in which the composition is to be displayed: mole fraction, weight fraction, u-fraction or weight percent. One of the elements, usually the one with the highest mole fraction, is designated as the **'reference element'**, and the amount of this element is calculated as **1-(sum of the amounts of all other elements)** for compositions expressed in fractional form, or **100-(sum of the amounts of all other elements)** for compositions expressed as percentages. \\ This opens the **'Nominal composition'** box. The lower part of the box gives options for the units in which the composition is to be displayed: mole fraction, weight fraction, u-fraction or weight percent. One of the elements, usually the one with the highest mole fraction, is designated as the **'reference element'**, and the amount of this element is calculated as **1-(sum of the amounts of all other elements)** for compositions expressed in fractional form, or **100-(sum of the amounts of all other elements)** for compositions expressed as percentages. \\
 Iron is set as the reference element by default in the 'mc_fe.tdb' database, as can be seen from the **'Ref. Elem'** column in the composition dialogue box. Another element can be set as the reference by selecting the element name and clicking on the **'Set reference element'** button on the right, or by double-clicking in the **'Ref. Elem'** column by the side of the element name. \\ Iron is set as the reference element by default in the 'mc_fe.tdb' database, as can be seen from the **'Ref. Elem'** column in the composition dialogue box. Another element can be set as the reference by selecting the element name and clicking on the **'Set reference element'** button on the right, or by double-clicking in the **'Ref. Elem'** column by the side of the element name. \\
-To enter a composition of **0.4 wt.% C**, select **'weight percent'** as the unit, then highlight element C. Double-click in the **'Amount'** column or click on the **'Change'** button to modify the composition, then type in **'0.4'** and press **'Enter'**. \\+To enter a composition of **0.4 wt.% C**, put a checkmark in **'in percent'** box and select **'weight percent'** as the unit, then highlight element **'C'**. Double-click in the **'Amount'** column or click on the **'Change'** button to modify the composition, then type in **'0.4'** and press **'Enter'**. \\
 The system is now ready to perform an equilibrium calculation. The system is now ready to perform an equilibrium calculation.
  
-{{:tutorials:t2:img:t2_system_composition_6021003.png| System composition setup}}+{{:tutorials:t2:img:t2_system_composition_6041000.png| System composition setup}}
  
 Click on **'OK'** to close this window Click on **'OK'** to close this window
Line 63: Line 65:
 From the **'Calc'** menu, select **'Set start values'**. This initializes the calculation variables with reasonable values in order to help the Gibbs free energy minimizer to find a solution which satisfies all the boundary conditions. This command is useful if the solution algorithm seems to be 'stuck' and unable to find an equilibrium. From the **'Calc'** menu, select **'Set start values'**. This initializes the calculation variables with reasonable values in order to help the Gibbs free energy minimizer to find a solution which satisfies all the boundary conditions. This command is useful if the solution algorithm seems to be 'stuck' and unable to find an equilibrium.
  
-{{:tutorials:t2:img:t2_set_start_values_6021003.png|Set start values}}+{{:tutorials:t2:img:t2_set_start_values_6041000.png|Set start values}}
    
 Once one valid equilibrium has been found, solutions at other temperatures or boundary conditions are much easier to obtain. From the **'Calc'** menu, select **'Equilibrium'**, or click on the {{:tutorials:t2:img:icon_equilibrium.png| MatCalc icon equilibrium}} icon in the toolbar. Once one valid equilibrium has been found, solutions at other temperatures or boundary conditions are much easier to obtain. From the **'Calc'** menu, select **'Equilibrium'**, or click on the {{:tutorials:t2:img:icon_equilibrium.png| MatCalc icon equilibrium}} icon in the toolbar.
  
-{{:tutorials:t2:img:t2_equilibrium_6021003.png|Equilibrium settings}}+{{:tutorials:t2:img:t2_equilibrium_6041000.png|Equilibrium settings}}
  
 The following window appears: The following window appears:
Line 95: Line 97:
 The **'Options'** window provides display options for the currently highlighted window. In the case of the **'Phase details'** window, the composition can be displayed as a mole fraction, a weight fraction or a u-fraction, and can also be expressed as a percentage if required. The **'Options'** window provides display options for the currently highlighted window. In the case of the **'Phase details'** window, the composition can be displayed as a mole fraction, a weight fraction or a u-fraction, and can also be expressed as a percentage if required.
  
-{{:tutorials:t2:img:t2_options_window_6001000.png| MatCalc options window}}+{{:tutorials:t2:img:t2_options_window_6041000.png| MatCalc options window}}
  
 ==== Phase status: suspended and fixed phase fraction ==== ==== Phase status: suspended and fixed phase fraction ====
tutorials/t2.txt · Last modified: 2023/08/01 14:43 by pwarczok
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki