General remarks

The examples here are focused on the calculation of Gibbs energy using the main thermolab function tl_gibbs_energy. The purpose is to show various ways of using the function and what the input and output variables are. It assumes that the user is familiar with how to use Gibbs energy in thermodynamic calculations. The documentation behind the tl_gibbs_energy function is described in Vrijmoed and Podladchikov (2022).

Example 1

Code

Example 2

Code

A small modification of Example 1 to calculate Gibbs energy of multiple phases for a list of temperatures (T) pressures (P).

Exercise: Plot coesite-quartz reaction. Add other SiO2 polymorphs.

Example 3

Code

Calculate Gibbs energy of multiple phases including solid solutions for a list of temperatures (T) pressures (P).

References