The main change concerns the possibility to extrapolate the specific heat at constant volume ($C_P$) in the high temperature range, by imposing the Dulong-Petit limit for $C_V$ at some chosen high temperature value. The extrapolation is used to get high temperature values of $C_P$ (specific heat at constant pressure) and $\alpha$ (thermal expansion).
The affected functions are
Documentation is provided below, with reference to the pyrope mineral.
%matplotlib inline
%run bm3_thermal_2.py
The thermodynamic information concerning pyrope as stored in the Holland & Powell database, are:
py.info()
These data are used to compute the equilibrium curve for the reaction
$${\rm 3/2 \ Mg_2Si_2O_6 + Al_2O_3 \ \leftrightarrow \ Mg_3Al_2Si_3O_{12}}$$(entirely from Holland & Powell data)
equilib(300,1000,12)
Now, thermodynamic data for pyrope are computed from quantum-mechanical properties as specified in the input file of the program. For the purpose, the upload_mineral function is used:
help(upload_mineral)
Here we issue the command by specifying
The other parameters are identical to those of the older upload_mineral function.
upload_mineral(200,450,12,HT_lim=4000, deg=1, g_deg=1, model=2, extra_alpha=True, volc=True)
The computed thermodynamic data, at the QM level, for pyrope are:
py.info()
The computed equilibrium curve for the afore mentioned reaction is now:
equilib(300,1000,12)
where te relevant thermodynamic data for enstatite ($\rm Mg_2Si_2O_6$) and corundum ($\rm Al_2O_3$) are still from the Holland & Powell database