MD method is widely used to study physical processes in liquids and solids 221, but has difficulties in escaping from local energy minima and crossing high energy barriers 222. Metadynamics 219 is an ingenious way to solve this problem and accelerate the activated processes involving barrier crossing, including first-order reconstructive transitions. In metadynamics, one has to specify collective variables that adequately describe the evolution of the system, and then perturb the FES defined in this reduced space of collective variables. Martonak et al. used the cell box h (3 3 matrix) as a collective variable to distinguish different structures 7. For a given system with volume V under external pressure P, the derivative of the free energy G with respect to h is
(1) |
where p is the internal pressure tensor calculated for each given geometry.
The collective variable evolves with a stepping parameter h,
(2) |
here the driving force is from a history-dependent Gibbs potential where a Gaussian has been added to at every point already visited in order to discourage it from being visited again,
(3) |
As the simulation proceeds, the history-dependent term fills the initial well of the FES, and concurrently the collective variables (the cell) undergo a sequence of changes, at each of which the atoms are re-equilibrated. At some critical cell distortion atoms rearrange dramatically, yielding a new crystal structure.
By adding a history-dependent Gaussian potential, metadynamics efficiently reaches and crosses the transition state, thus solving an intrinsic problem of MD simulations. However, it still relies on the ability of MD to equilibrate the system at each value of collective variables. Metadynamics encounters two general problems. First, MD is not a very efficient technique for equilibration involving crossing energy barriers, especially at low temperatures. Second, metadynamics reduces the full energy landscape to a low-dimensional projection, which is not always adequate.
For a crystal with N atoms in the unit cell, the number of degrees of freedom is 3N+3. Metadynamics assumes that the system can be described by 6 collective variables representing the box h. The remaining 3N-3 dimensions describe atomic positions, and we need to determine the global energy minimum with respect to these dimensions at given h. This can be done using MD (as in standard metadynamics), but as discussed above, this encounters certain problems. Here we do it using global optimization techniques based on evolutionary algorithms 4; 23; 79. These algorithms use several variation operators - i.e. recipes for obtaining new structures from the previously sampled ones - for sampling the energy landscape. Here we use the softmutation operator 79, which connects global optimization with lattice dynamics and group theory. Indeed, the 3N-3 variables describing atomic positions can be transformed into a set of normal modes that possess valuable properties. If a structure is not dynamically stable, a more stable structure is obtained by following the eigenvector of the softest vibrational mode. For structures without soft modes, there is a statistically valid Bell-Evans-Polanyi principle that states that low-energy structures are usually connected by low activation barriers 34. Low barriers are, in turn, usually related to the direction of the lowest curvature of the FES - or eigenvectors of the softest vibrational mode. This is the principle behind the minima hopping method 10 and explains the efficiency of the softmutation operator introduced in the evolutionary algorithm USPEX 79. To calculate the vibrational modes, we construct the dynamical matrix from bond hardness coefficients.
(4) |
Here coefficients , denote coordinates ; coefficients describe the atom in the unit cell; coefficients describe the unit cell number; is the distance between atom in the unit cell and atom in the unit cell , while is corresponding bond distance, and is bond hardness coefficient computed from bond distances, covalent radii and electronegativities of the atoms 79; 223.
To perform softmutation, we move the atoms along the eigenvector of the softest calculated mode. One structure can be softmutated many times using different non-degenerate modes and displacements. By properties of normal modes, the original and softmutated structures are linked by group-subgroup symmetry relations, but structure relaxation may result in a symmetry increase. In this case one observes a structural transition with a common subgroup. The magnitude of the displacement () along the mode eigenvector is an input parameter: with relatively small and displacements represented by a random linear mixture of all mode eigenvectors, we obtain a method similar to MD-metadynamics in its ability to cross energy barriers and equilibrate the system. With large along the softest mode eigenvectors, we obtain the softmutation operator 79, capable of efficiently finding the global energy minimum. When needed, other evolutionary variation operators can be used - such as permutation (swaps of atomic identities) or heredity (combination of pieces of two parent structures).
Our algorithm as shown in Fig. 3.1 is in many ways similar to the original version by Martonak et al. 224. We start from one known initial structure at a given external pressure P, and then compute its vibrational modes, which are used to produce typically 20-40 softmutated structures. These are relaxed at constant h, the lowest-enthalpy structure is selected and its pressure tensor p is computed. Its box h is then updated according to Eq. (2), and a new generation of softmutated structures are produced and relaxed in the fixed cell h. Repeated for a number of generations, this computational scheme leads to a series of structural transitions and is stopped when the maximum number of generations is reached. Due to the presence of a population of structures and a selection step, this algorithm is evolutionary, unlike original metadynamics 224.
In addition to , there are two other important parameters - the Gaussian height () and Gaussian width (), for choosing which Martonak et al. 224 proposed a recipe based on the curvature of the FES at the minimum. According to our experience, a good starting point is to set as one tenth of the minimum lattice vector, and as around 8,000 (with the unit of kbar).
Note that Eq. (2) is not invariant with respect to the choice of the unit cell (or supercell) and works best for cells close to cubic shape. To remedy this, we developed a more sophisticated equation based on elasticity theory,
(6) |
where I is the unit stress matrix. Here we use the elastic compliance tensor () corresponding to an elastically isotropic medium with Poisson ratio () of 0.26, which corresponds to the border between brittle and ductile materials 225 and is a good average value to describe both metals and insulators. The choice of the Poisson ratio does not significantly affect the results; the main effect of Eq. (6) is to make the results independent of the simulation cell shape. The Young’s modulus is chosen in such a way that for a cubic cell under uniform stress the original formula Eq. (2) is reproduced. We have implemented and tested the formalism based on Eq. (6) and found it to work extremely well, the efficiency improves compared to Eq. (2).