TABULATE_SUBSTANCE

This command is for the TABULATE_REACTION (TAB) module.

Tabulate thermodynamic properties of a substance (with a given chemical formula but it is not certain in which phase/state it may form) or a pure stoichiometric phase (getting data from a specific substance database such as SSUB, or from a specific solution database such as SSOL and TCFE), or of a solution phase with a fixed composition (getting data from a specific solution database such as SSOL and TCFE), under a constant pressure and various temperatures.

In case of a pure stoichiometric phase or a solution phase with a fixed composition, you must already define the system and get thermodynamic data from an appropriate solution database in the TDB module before using this TAB command. The phase name can be given either upper or lower or mixed cases, and can be abbreviated until it is unique, e.g. fcc, BCC, Liq, cem, Al5Fe2, etc. as the SSOL database is used for the tabulations, or GAS, FE-S, wustite, Fe2O3-hem, etc. as the SSUB database is used. The module then optionally goes through a specific sublattice or all the possible sublattices for the specified phase, as well as through the whole framework of a currently defined system (including all the defined elements/species, as well as the default defined vacancy and electron if necessary for the current database), when it prompts for inputs of site fractions for various species possibly occupying such sublattices. Therefore, you can tabulate thermodynamic properties for a pure phase, or for a solution phase as a pure end-member (with a composition definition for the corresponding non-interacting species on all necessary sublattices in the end-member), or for a solution phase as a real solution (with a composition definition for related interacting species on all necessary sublattices in the solution).

Moreover, the variation for one of the tabulated properties for a substance, a pure stoichiometric phase, or a solution phase with a fixed composition can be plotted against temperature as a graph or saved as an experimental file (with an extension of .EXP).

Syntax

tabulate_substance

Prompt

Substance (phase): <Name of the species or phase>

In case of a substance, give its chemical formula, e.g. Fe, H2, C1H6, FeC1, CaC1O3, MgSiO3, etc. When the TABULATE_SUBSTANCE <substance> command sequence is used for the first time in the TAB module, it always uses the SSUB Substances database as the default. If SSUB is not available and a specific database has not been switched on yet, it may prompt to specify an appropriate substance or solution database (e.g. typing SSUB<version number>; SSOL<version number>; TCFE<version number> etc.). Prior to this command, you can also use SWITCH_DATABASE to set the current database. If a solution database is set as the current database, only the neutral species that are valid substance standing by themselves as phases can be tabulated.

Before other prompts, a list of the used database, defined elements, getting-data sequence, references, etc. is displayed on screen. From such information, you know what the TAB module is performing.

In case of a pure stoichiometric phase or a solution phase, give its phase name, e.g. FCC, CEMENTITE, LIQUID, SLAG, AQUEOUS, GAS, Al5Fe2, Fe-S, Wustite, Fe2O3-Hematite, etc.

REMEMBER: It is important that you have already defined the system and gotten thermodynamic data from an appropriate solution database in the TDB module before using this TAB_SUB command. It automatically prompts for other options and necessary inputs for the definition of the composition of the specified phase.

For a pure stoichiometric phase defined with one single sublattice (such as Fe-S, Wustite, and Fe2O3-Hematite), no further composition definition is needed.

For a solution phase defined with one sublattice (such as AQUEOUS solution, GAS mixture and SLAG solution), it requests n-1 site-fraction inputs for the phase constituents (if there are n species in the defined phase within the whole framework of currently defined system, including all the defined elements/species, as well as the default defined vacancy and electron if necessary for the current database); the nth species is automatically assigned as the rest.

The sum of input site fractions must not exceed unity. For example, the following prompts and inputs can be seen for a LIQUID solution phase (from the SSOL database) within the Fe-Cr-Ni-C-N-O framework (Note that by default, the unprompted Ni species is assigned as the rest):

 

Fraction of constituent (return for prompt): <Return>

C /1/: .05

CR /1/: .1

FE /1/: <RETURN>

 

Sum of fractions exceed unity, please reenter

FE /1/: .8

N /1/: .005

For a pure stoichiometric phase defined with two or more sublattices (such as Al5Fe2 inter-metallic stoichiometric phase) and for a solution phase defined with two or more sublattices (such as FCC alloy solution, and ION_LIQ ionic liquid solution, Al5Fe4 inter-metallic solution phase), it first asks for which sublattice the site-fractions of constituents shall be specified: the default value 0 for all possible sublattices, and a given positive number for a specific sublattice (this number must be reasonable for the currently specified phase, i.e. it must be smaller than the total sublattice number of the phase). Then, for the given sublattice or for all sublattices, it prompts for all the necessary inputs of site-fractions for the possible constituents on each sublattice n-1 times if there are n species on such a sublattice in the defined phase; the nth species on each of the sublattices are automatically assigned as the rest. For example, these prompts and inputs can be seen for an FCC solution phase (from the SSOL database) within the Fe-Cr-Ni-C-N-O framework (Note that by default, the unprompted O species on its sublattice 1 and VA on its sublattice 2 is assigned as the rest):

 

Specify sublattice (0 for all) /0/:

FRACTIONS IN SUBLATTICE            1

CR /1/: .1

FE /1/: .8

NI /1/: .0995

FRACTIONS IN SUBLATTICE            2

C /1/: .05

N /1/: .05

 

Pressure /100000/: <Pressure of interest, in pa>

Specify the constant pressure condition in Pa.

 

Low temperature limit /298.15/: <T-low, in K>

Specify the starting temperature K.

 

High temperature limit /298.15/: <T-high, in K>

Specify the ending temperature K.

 

Step in temperature /100/: <T-step> Specify the temperature step for the tabulation.

 

Output file /Screen/: <Return for screen, or type a file name>

If you type Return for screen a list of basic thermodynamic functions for the chosen substance or for the specified pure or solution phase with the fixed composition is shown up as a table (which is demonstrated in the example outputs given below), and the command is terminated.

If typing a file name, the table is both displayed on screen and saved as an *.EXP or a *.TAB file, and the program further prompts:

 

Graphical output /Y/:

  • For N a table is output to the screen, and the same table is saved as a basic text file with the default extension .TAB under the current working directory. In this case, the graph cannot be plotted.
  • For Y a table is created with all the thermodynamic functions as normal (which is displayed on screen) as well as generates a graph with temperature on the X-axis and a chosen property on a certain column in the table on the Y-axis (which is plotted on screen and saved as an *.EXP file), and it also ask which column is to be plotted on the resulting graph:
 

Plot column ? /2/: <1 or 2 or 3 or 4 or 5 or 6>

Specify which property (as column number) to be plotted as the Y-axis (versus temperature as X-axis) as a graph on the screen. Simultaneously, all tabulated properties and the Y-axis setting (i.e. the plotted column) for the graph is written into an *.EXP file using the DATAPLOT format. The default column 2 is heat capacity, 3 enthalpy, 4 entropy and 5 Gibbs energy, and the additional column 6 is a user-entered function. The table displays on the screen. The plot then displays on the screen, followed by a POST: prompt. The POST module (postprocessor) automatically opens, and all types of the POST-module commands to refine the plotted diagram may be used. Possibilities include scaling the X/Y-axis, changing the X/Y-axis texts, etc. The command BACK or EXIT at the POST: prompt always takes you back to the TAB module.