/
background_thermodynamics.txt
228 lines (175 loc) · 10.5 KB
/
background_thermodynamics.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
.. _ref-methods-thermodynamics:
Calculating Thermodynamic Properties
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So far, we have concentrated on the thermoelastic properties of
minerals. There are, however, additional thermodynamic properties which are
required to describe the thermal properties such as the energy,
entropy and heat capacity.
These properties are related by the following expressions:
.. math::
\mathcal{G}= \mathcal{E} - T\mathcal{S} + PV = \mathcal{H} - TS = \mathcal{F} + PV
:label: gibbs
where :math:`P` is the pressure, :math:`T` is the temperature and :math:`\mathcal{E}`, :math:`\mathcal{F}`, :math:`\mathcal{H}`, :math:`\mathcal{S}` and :math:`V` are the molar internal energy, Helmholtz free energy, enthalpy, entropy and volume respectively.
HP2011
""""""
.. math::
\mathcal{G}(P,T) &= \mathcal{H}_{\textrm{1 bar, T}} - T\mathcal{S}_{\textrm{1 bar, T}} + \int_{\textrm{1 bar}}^P V(P,T)~dP, \\
\mathcal{H}_{\textrm{1 bar, T}} &= \Delta_f\mathcal{H}_{\textrm{1 bar, 298 K}} + \int_{298}^T C_P~dT, \\
\mathcal{S}_{\textrm{1 bar, T}} &= \mathcal{S}_{\textrm{1 bar, 298 K}} + \int_{298}^T \frac{C_P}{T}~dT, \\
\int_{\textrm{1 bar}}^P V(P,T)~dP &= P V_0 \left( 1 - a + \left( a \frac{(1-b P_{th})^{1-c} - (1 + b(P-P_{th}))^{1-c}}{b (c-1) P} \right) \right)
:label: gibbs_hp2011
The heat capacity at one bar is given by an empirical polynomial fit to experimental data
.. math::
C_p = a + bT + cT^{-2} + dT^{-0.5}
The entropy at high pressure and temperature can be calculated by differentiating the expression for :math:`\mathcal{G}` with respect to temperature
.. math::
\mathcal{S}(P,T) &= S_{\textrm{1 bar, T}} + \frac{\partial \int V dP }{\partial T}, \\
\frac{\partial \int V dP }{\partial T} &= V_0 \alpha_0 K_0 a \frac{C_{V0}(T)}{C_{V0}(T_\textrm{{ref}})} ((1+b(P-P_{th}))^{-c} - (1-bP_{th})^{-c} )
Finally, the enthalpy at high pressure and temperature can be calculated
.. math::
\mathcal{H}(P,T) = \mathcal{G}(P,T) + T\mathcal{S}(P,T)
SLB2005
"""""""
The Debye model yields the Helmholtz free energy and entropy due to lattice vibrations
.. math::
\mathcal{G} &= \mathcal{F} + PV, \\
\mathcal{F} &= nRT \left(3 \ln( 1 - e^{-\frac{\theta}{T}}) - \int_{0}^{\frac{\theta}{T}}\frac{\tau^3}{(e^{\tau}-1)}d\tau \right), \\
\mathcal{S} &= nR \left(4 \int_{0}^{\frac{\theta}{T}}\frac{\tau^3}{(e^{\tau}-1)}d\tau - 3 \ln(1-e^{-\frac{\theta}{T}}) \right), \\
\mathcal{H} &= \mathcal{G} + T\mathcal{S}
Property modifiers
^^^^^^^^^^^^^^^^^^
The thermodynamic models above consider the effects of strain and quasiharmonic
lattice vibrations on the free energies of minerals at given temperatures and
pressures. There are a number of additional processes, such as isochemical
order-disorder and magnetic effects which also contribute to the total free energy
of a phase. Corrections for these additional processes can be applied in a number
of different ways. Burnman currently includes implementations of the following:
* Linear excesses (useful for DQF modifications for :cite:`HP2011`)
* Tricritical Landau model (two formulations)
* Bragg-Williams model
* Magnetic excesses
In all cases, the excess Gibbs free energy :math:`\mathcal{G}` and first and second partial derivatives with
respect to pressure and temperature are calculated. The thermodynamic properties of each
phase are then modified in a consistent manner; specifically:
.. math::
\mathcal{G} = \mathcal{G}_o + \mathcal{G}_m, \\
\mathcal{S} = \mathcal{S}_o - \frac{\partial \mathcal{G}}{\partial T}_m, \\
\mathcal{V} = \mathcal{V}_o + \frac{\partial \mathcal{G}}{\partial P}_m, \\
K_T = \mathcal{V} / \left( \frac{\mathcal{V}_o}{K_To} - \frac{\partial^2\mathcal{G}}{\partial P^2} \right)_m, \\
C_p = C_po - T \frac{\partial ^2 \mathcal{G}}{\partial T^2}_m, \\
\alpha = \left( \alpha_o \mathcal{V}_o + \frac{\partial^2 \mathcal{G}}{\partial P \partial T}_m \right) / \mathcal{V}, \\
\mathcal{H} = \mathcal{G} + T \mathcal{S}, \\
\mathcal{F} = \mathcal{G} - P \mathcal{V}, \\
C_v = C_p - \mathcal{V} T \alpha^2 K_T, \\
\gamma = \frac{\alpha K_T \mathcal{V}}{C_v}, \\
K_S = K_T \frac{C_p}{C_v}
Subscripts :math:`_o` and :math:`_m` indicate original properties and modifiers respectively.
Importantly, this allows us to stack modifications such as multiple Landau transitions
in a simple and straightforward manner. In the burnman code, we add property modifiers as an attribute to each
mineral as a list. For example::
from burnman.minerals import SLB_2011
stv = SLB_2011.stishovite()
stv.property_modifiers = [
['landau',
{'Tc_0': -4250.0, 'S_D': 0.012, 'V_D': 1e-09}]]
['linear',
{'delta_E': 1.e3, 'delta_S': 0., 'delta_V': 0.}]]
Each modifier is a list with two elements, first the name of the modifier type, and second a dictionary with
the required parameters for that model. A list of parameters for each model is given in the following sections.
Linear excesses (linear)
""""""""""""""""""""""""
A simple linear correction in pressure and temperature. Parameters are 'delta_E', 'delta_S' and 'delta_V'.
.. math::
\mathcal{G} = \Delta \mathcal{E} - T \Delta \mathcal{S} + P \Delta \mathcal{V}, \\
\frac{\partial \mathcal{G}}{\partial T} = - \Delta \mathcal{S}, \\
\frac{\partial \mathcal{G}}{\partial P} = \Delta \mathcal{V}, \\
\frac{\partial^2 \mathcal{G}}{\partial T^2} = 0, \\
\frac{\partial^2 \mathcal{G}}{\partial P^2} = 0, \\
\frac{\partial^2 \mathcal{G}}{\partial T \partial P} = 0
Tricritical Landau model (landau)
"""""""""""""""""""""""""""""""""
Applies a tricritical Landau correction to the properties
of an endmember which undergoes a displacive phase transition. These
transitions are not associated with an activation energy, and therefore
they occur rapidly compared with seismic wave propagation. Parameters are
'Tc_0', 'S_D' and 'V_D'.
This correction follows :cite:`Putnis1992`, and is done relative to
the completely *ordered* state (at 0 K).
It therefore differs in implementation from both :cite:`Stixrude2011` and
:cite:`HP2011`, who compute properties relative to
the completely disordered state and standard states respectively.
The current implementation is preferred, as the excess
entropy (and heat capacity) terms are equal to zero at 0 K.
.. math::
Tc = Tc_0 + \frac{V_D P}{S_D}
If the temperature is above the critical temperature,
Q (the order parameter) is equal to zero, and the Gibbs free energy is simply that of the disordered phase:
.. math::
\mathcal{G}_{\textrm{dis}} = -S_D \left( \left( T - Tc \right) + \frac{Tc_0}{3} \right), \\
\frac{\partial \mathcal{G}}{\partial P}_{\textrm{dis}} = V_D, \\
\frac{\partial \mathcal{G}}{\partial T}_{\textrm{dis}} = -S_D
If temperature is below the critical temperature, Q is between 0 and 1.
The gibbs free energy can be described thus:
.. math::
Q^2 = \sqrt{\left( 1 - \frac{T}{Tc} \right)}, \\
\mathcal{G} = S_D \left((T - Tc) Q^2 + \frac{Tc_0 Q^6}{3} \right) + \mathcal{G}_{\textrm{dis}}, \\
\frac{\partial \mathcal{G}}{\partial P} = - V_D Q^2 \left(1 + \frac{T}{2 Tc} \left(1. - \frac{Tc_0}{Tc} \right) \right) + \frac{\partial \mathcal{G}}{\partial P}_{\textrm{dis}}, \\
\frac{\partial \mathcal{G}}{\partial T} = S_D Q^2 \left(\frac{3}{2} - \frac{Tc_0}{2 Tc} \right) + \frac{\partial \mathcal{G}}{\partial T}_{\textrm{dis}}, \\
\frac{\partial^2 \mathcal{G}}{\partial P^2} = V_D^2 \frac{T}{S_D Tc^2 Q^2} \left( \frac{T}{4 Tc} \left(1. + \frac{Tc_0}{Tc} \right) + Q^4 \left(1. - \frac{Tc_0}{Tc} \right) - 1 \right), \\
\frac{\partial^2 \mathcal{G}}{\partial T^2} = - \frac{S_D}{Tc Q^2} \left(\frac{3}{4} - \frac{Tc_0}{4 Tc} \right), \\
\frac{\partial^2 \mathcal{G}}{\partial P \partial T} = \frac{V_D}{2 Tc Q^2} \left(1 + \left(\frac{T}{2 Tc} - Q^4 \right) \left(1 - \frac{Tc_0}{Tc} \right) \right)
Tricritical Landau model (landau_hp)
""""""""""""""""""""""""""""""""""""
Applies a tricritical Landau correction similar to that described
above. However, this implementation follows :cite:`HP2011`,
who compute properties relative to the standard state. Parameters are
'P_0', 'T_0', 'Tc_0', 'S_D' and 'V_D'.
It is worth noting that the correction described by :cite:`HP2011`
has been incorrectly used throughout the geological literature,
particularly in studies involving magnetite (which includes studies
comparing oxygen fugacities to the FMQ buffer (due to an incorrect
calculation of the properties of magnetite). Note that even if the
implementation is correct, it still allows the order parameter Q to be
greater than one, which is physically impossible.
We include this implementation in order to reproduce the dataset of
:cite:`HP2011`. If you are creating your own minerals, we recommend
using the standard implementation.
.. math::
Tc = Tc0 + \frac{V_D P}{S_D}
If the temperature is above the critical temperature,
Q (the order parameter) is equal to zero. Otherwise
.. math::
Q^2 = \sqrt{\left( \frac{Tc - T}{Tc0} \right)}
.. math::
\mathcal{G} = Tc_0 S_D \left( Q_0^2 - \frac{Q_0 ^ 6}{3} \right) \
- S_D \left( Tc Q^2 - Tc_0 \frac{Q ^ 6}{3} \right) \
- T S_D \left( Q_0^2 - Q^2 \right) + P V_D Q_0^2, \\
\frac{\partial \mathcal{G}}{\partial P} = -V_D \left( Q^2 - Q_0^2
\right), \\
\frac{\partial \mathcal{G}}{\partial T} = S_D \left( Q^2 - Q_0^2
\right), \\
The second derivatives of the Gibbs free energy are only non-zero if
the order parameter exceeds zero. Then
.. math::
\frac{\partial^2 \mathcal{G}}{\partial P^2} = -\frac{V_D^2}{2
S_D Tc_0 Q^2}, \\
\frac{\partial^2 \mathcal{G}}{\partial T^2} =
-\frac{S_D}{2 Tc_0 Q^2}, \\
\frac{\partial^2 \mathcal{G}}{\partial P \partial T} =
\frac{V_D}{2 Tc_0 Q^2}
Bragg-Williams model (bragg_williams)
"""""""""""""""""""""""""""""""""""""
The Bragg-Williams model is essentially a symmetric solid solution
model between endmembers, with an excess configurational entropy term
predicted on the basis of the specifics of order-disorder in the
mineral, multiplied by some empirical factor. Expressions for the
excess Gibbs free energy can be found in :cite:`HP1996`. Parameters are
'deltaH', 'deltaV', 'Wh', 'Wv', 'n' and 'factor'.
Magnetic model (magnetic_chs)
"""""""""""""""""""""""""""""
This model approximates the excess energy due to magnetic ordering. It
was originally described in :cite:`CHS1987`. The expressions used
by BurnMan can be found in :cite:`Sundman1991`. Parameters are
'structural_parameter', 'curie_temperature'[2] (zero pressure value
and pressure dependence) and 'magnetic_moment'[2] (zero pressure value
and pressure dependence).