SET_REFERENCE_STATE

This command is available for the POLY, ED-EXP and POST modules.

The reference state for a component is important when calculating activities, chemical potentials, and enthalpies and is determined by the database being used. For each component the data must be referred to a selected phase, temperature, and pressure, i.e. the reference state.

All data in all phases where this component dissolves must use the same reference state. However, different databases can use different reference states for the same element/component. It is important to be careful when combining data obtained from different databases.

By default, activities, chemical potentials, and so forth are computed relative to the reference state used by the database. If the reference state in the database is not suitable for your purposes, use this command to set the reference state for a component using SER, i.e. the Stable Element Reference (which is usually set as default for a major component in alloys dominated by the component). In such cases, the temperature and pressure for the reference state is not needed.

In order to specify conditions in the specific reference state, you can append an R to the state variables. Thus, AC is the activity (of a system component or of a species in a phase) with respect to the default reference state, and ACR is the activity with respect to the selected reference state; MU is the chemical potential of a system component with respect to the default reference state, and MUR stands for the chemical potential with respect to the selected reference state. The AC and ACR variables, for both components in a system and species in a phase, can be specified in natural logarithm, e.g. LNAC(Fe), LNACR(C), LNAC(O2,GAS), LNACR(O2,GAS).

For the POST module, and after calculating with the STEP_WITH_OPTIONS or MAP commands, the reference state for a component can also be changed to plot various properties of the component in the entire system or in a specific phase. Then you can set the diagram axes as the chemical potential or activity quantities with the R suffix, i.e. MUR(comp), MUR(comp,ph), ACR(comp),  ACR(comp,ph) or the common logarithms [e.g. LNACR(comp,ph)].

Syntax

set_reference_state

Prompts

Component: <Name of the component>

The name of the component must be given.

 

Reference phase: <Name of a phase used as the new reference state>

Enter the Name of a phase for the system.

For a phase to be usable as a reference for a component, the component needs to have the same composition as an end member of the phase. The reference state is an end member of a phase. The selection of the end member associated with the reference state is only performed once this command is executed.

If a component has the same composition as several end members of the chosen reference phase, then the end member that is selected at the specified temperature and pressure will have the lowest Gibbs energy.

The following are example using temperature. Pressure is used in the same way:

  • In the Fe-C system, BCC can be a reference state for Fe but not for C since BCC can exist as pure Fe but cannot exist as pure C.
  • If GAS is chosen as the reference phase of component O at such a high temperature that O1 has the lowest energy, then O1 remains the reference state even at calculations performed at lower temperatures where O2 has a lower energy than O1.
  • Setting the reference state for component O as gas (one sublattice) with constituents O1, O2 and O3 results in O2 being the reference state if, at the present temperature, pure O2 has the lowest energy of O1, O2 and O3. If the reference state is set above a critical higher temperature, then O1 has the lowest energy and consequently becomes the reference state.
 

Temperature /*/: <Temperature for the reference state>

Select the Temperature (in K) for the reference state. The wildcard value * means the current temperature is used at the time of evaluation of the reference energy for the calculation.

The temperature set with this command does not affect the temperature used when evaluating the energy of the reference state during the end member selection process.

 

Pressure /1E5/: <Pressure for the reference state>

Select the Pressure (in Pa) for the reference state. The wildcard value * means the current pressure is used for evaluating the reference energy at the time of calculation.