Setting Conditions for Equilibrium Calculations

Setting a condition normally involves giving a single state variable a specific value. For example, you can set the temperature to 1273.5 Kelvin (T=1273.5). Alternatively, setting a condition can involve giving a linear expression with more than one state variable a specific value. For example, you can set the mole fraction of the S component to be the same in the liquid and the pyrrohotite phases (X(LIQ,S)-X(PYRR,S)=0).

Example of POLY3 output

The number of state variables that need to set is determined by the Gibbs Phase Rule. Typically, the state variables to give values to are:

  • temperature (in K)
  • pressure (in Pascal)
  • system size in number of moles (in mole) or mass (in grams)
  • the fraction of each component (in number of moles or mass)

If you fix the phase of the equilibrium and all but one of the state variables, you can discover the value of the other state variable at equilibrium.

It is possible to specify a set of conditions that does not have any equilibrium and the program detects this by failing to reach equilibrium during the calculation.