- freely available
- re-usable

*Crystals*
**2012**,
*2*(3),
845-860;
doi:10.3390/cryst2030845

## Abstract

**:**Hydrogen desorption from hydride matrix is still an open field of research. By means of accurate first-principle molecular dynamics (MD) simulations an Mg–MgH

_{2}interface is selected, studied and characterized. Electronic structure calculations are used to determine the equilibrium properties and the behavior of the surfaces in terms of structural deformations and total energy considerations. Furthermore, extensive ab-initio molecular dynamics simulations are performed at several temperatures to characterize the desorption process at the interface. The numerical model successfully reproduces the experimental desorption temperature for the hydride.

## 1. Introduction

The remarkable hydrogen capacity of magnesium has fostered intense research efforts in the last years in view of its future applications where light and safe hydrogen-storage media are needed. Magnesium can reversibly store about 7.6 wt% hydrogen, has light weight and is a low-cost material. However, further research is needed since Mg has a high operation temperature and slow absorption kinetics that prevent for the moment the use in practical applications. Two separate reasons could explain this problem: (a) hydrogen molecules do not readily dissociate on Mg surfaces; and (b) magnesium hydride is very stable up to high temperatures. Improvements on H_{2} absorption and desorption kinetics can be obtained by mechanically milling MgH_{2} and adding catalysts to magnesium and magnesium hydrides. The addition of small amounts of catalytic metals such as Pd or Ni to Mg hydride has been indicated as a promoting factor in the surface dissociation of the H_{2} molecule (the clean Mg surface alone being unable to catalyse the dissociation). Moreover, other metallic additives, such as Al, Li, Mn, Ti etc., have been suggested to improve the hydriding properties of metallic Mg [1,2,3,4,5,6]. However a full understanding of the desorption mechanism at the interface Mg-MgH_{2} is still lacking. From an experimental point of view there is not a clear evidence of which interfaces are involved in the hydrogen diffusion, and which is the atomic dynamics at the interfaces [7].

For these reasons a detailed study of the interface between Mg and MgH_{2} is needed to characterize the dynamics of hydrogen at the interface. Further insights are gained by characterizing Mg–MgH_{2} interfaces which are supposed to play a major role in the hydrogen diffusion during absorption and desorption cycles. By means of accurate ab initio molecular dynamics simulations based on the density-functional theory with norm-conserving pseudopotentials and plane-wave expansion (CPMD code [8,9]), an interface is selected, studied and characterized. Extensive electronic structure calculations are used to determine the equilibrium properties and the behaviour of the surfaces in terms of structural deformations and total energy considerations. Furthermore, the interface is studied at several values of the temperature, thereby characterizing the hydrogen atomic displacement and desorption.

In the next section the computational details are reported and the numerical model is verified on simple atomic system. In the third section free surfaces are both studied and characterized, while in the fourth section an interface is built and geometrically and energetically optimized. In the fifth section the influence of the temperature is studied on the hydrogen diffusion through the interface. In the last section we analyze the reconstitution of the interface after hydrogen diffusion.

## 2. Computational Details

We employed for all the calculations the CPMD (Car–Parrinello Molecular Dynamics) code based on Density Functional Theory and plane wave basis pseudopotential method [10,11]. Goedecker–Teter–Hutter pseudopotentials for magnesium and hydrogen together with Padé approximant LDA exchange-correlation potentials were used [12,13,14]. The LDA functional has well-known drawbacks as discussed in Ref. [15], especially for energy calculations, but it can reliably simulate structural properties (lattice size, equilibrium positions, elastic constants). Despite the high accuracy of Mg pseudopotentials which include semicore states, as required for example in studies like Ref. [16], the structural characterization of an interface requires large atomic systems to mimic bulk behavior on both sides. Thus in view of large-scale simulations, the pseudopotential with fewer valence electrons has been chosen, in order to save computational time and simulate the largest system. The electronic wave functions are expanded in a plane-wave basis set with a kinetic energy cut-off equal to 80 Ry. To check the agreement with experimental results, the latter value was optimized by preliminary calculations both on simple molecules (Mg_{2}, MgH and H_{2}) and on the crystalline structures of metallic Mg and magnesium hydride. All the calculations are performed in the supercell approximation, in view of the large-scale molecular dynamics simulation of the interface, with periodic boundary conditions meant to mimic an infinitely extended system.

The calculations for the diatomic molecules Mg_{2}, MgH and H_{2} yield the following interatomic distances in good agreement with experimental values: D_{Mg2} = 3.4056 Å (exp. D_{Mg2} = 3.890 Å), D_{MgH} = 1.7362 Å (exp. D_{MgH} = 1.7297 Å) and D_{H2} = 0.7681 Å (exp. D_{H2} = 0.7414 Å).

The crystal structure of Mg is the hexagonal close-packed with experimental lattice parameter a_{Mg} = 3.2094 Å and c_{Mg} = 1.6327 × a_{Mg} with bonding energy of 1.53 eV/at. Geometry optimization of crystal structure gives a_{Mg} = 3.15 Å and c_{Mg} = 1.62 × a_{Mg} with a bonding energy of 1.59 eV/at.

Crystal MgH_{2} is considered in the β-MgH_{2} atomic structure, TiO_{2}-rutile type, that is observed at the atmospheric pressure and low temperatures [17]. The crystal structure is relaxed over a range of possible cell volumes, varying by hand the cell parameters and minimizing the total energy. The computed values for the cell parameters are in good agreement with experimental ones within 3%. In the case of MgH_{2} we find a_{MgH2} = b_{MgH2} = 4.39 Å, c_{MgH2} = 2.96 Å and u = 0.304 (experimental values: a_{MgH2} = b_{MgH2} = 4.501 Å , c_{MgH2} = 3.02 Å) [18].

A supercell approach is used to simulate the atomic system with the interface. As shown in Figure 1, the Mg-MgH_{2} interface is built by putting nearby two free surfaces obtained cutting both the Mg and MgH_{2} crystals. The Mg part is sketched in Figure 1a and the MgH_{2} one in Figure 1b: these systems can interact through their internal free surfaces forming an interface as shown in Figure 1c. Each internal free surface, selected according to periodic boundary conditions, is severally relaxed without taking into account any possible reconstruction upon changing the temperature (two layers of both external surfaces are kept fixed). Both sides of the whole system are long enough to take into account the structural modifications induced by the interface. Results reported in Ref. [19], on a similar system, confirm that the effects of relaxation propagate to the bulk atoms up to the third or fourth neighbor and that six neighbors are enough to attain bulk behavior on both sides.

**Figure 1.**Mg and MgH

_{2}crystalline systems with free surfaces on both sides in the y direction are reported in part (

**a**) and (

**b**) of the figure, respectively; In part (

**c**) both systems are together to define an interface between them. External surfaces are separated by a void region and do not interact with each other. H atoms are in green, Mg atoms in the magnesium hydride side are in light blue and Mg atoms in the magnesium side are in dark blue.

The total length of the system is L_{y} = 50.3009 Å, while in the x and z direction the system has L_{x}= 6.2115 Å and L_{z}= 15.0939 Å, respectively. On both sides of the system, a void region of length 2 × L_{x} is considered to suppress the interaction, due to periodic boundary conditions, between the external surfaces of Mg and MgH_{2}.

Zero-temperature total energy calculations are used to evaluate interface stability. Subsequently, MD simulations at constant volume and constant temperature are performed by using Nose–Hoover thermostats [20,21]. One key quantity to predict the mechanical properties of the interface and to verify the reliability of our model is the work of adhesion. The latter quantity is defined as the bonding energy per unit area needed to reversibly separate an interface into two free surfaces, neglecting plastic and diffusional degrees of freedom. Through the paper all errors on the work of adhesion are taken as low as possible performing accurate fitting of energy data and a careful application of ab-initio methods for the computation of energies. This procedure ensures that errors are at the level of accuracy allowed by DFT-based calculations [15], i.e., <2% error for the work of adhesion and <10% error for the formation enthalpies.

## 3. Model Interface and Free Surfaces

In literature there are no references describing Mg-MgH_{2} interfaces, neither experimentally nor theoretically. The main constraint in building the interface is in the selection of two commensurate surfaces (one for Mg and one for MgH_{2}) fulfilling a simulation cell with periodic boundary conditions (see Figure 1). Such a constraint narrows the possibilities of finding two suitable free surfaces for a proper interface. Among the low Miller index surfaces of both materials, it is found that the (110) of MgH_{2} is nearly commensurate to either (010) or (100) of Mg, according to periodic boundary conditions in x and y directions, by minimizing the lattice mismatch. In both cases we have and . Keeping fixed the a_{MgH2} lattice constant, a small distortion in the Mg and MgH_{2} cell parameters is needed to obtain fully commensurable surfaces: the a_{Mg} and c_{Mg} parameters are thus scaled of about 1% and 2% respectively.

The interface considered in this work is facing the (010) of Mg and the (110) of MgH_{2}, which is more stable and thus more likely to appear in real situations.

#### 3.1. Magnesium Free Surface

A bulk system composed of 72 Mg atoms is built to obtain two equal surfaces: one to be faced to the MgH_{2} (on the left in Figure 1a) and the other (on the right in Figure 1a), on the opposite side, that will be frozen in presence of a void region. The 72 Mg atoms are in 6 layers exposing on both sides the (010) surface: the external surface (on the right) is the same of the internal one (on the left) but translated by a half lattice parameter (0.5×c_{Mg}) in the z direction. In Figure 2 the Mg system is depicted before and after geometry optimization (residual force on each atom less than 10^{-}^{2} eV/Å), performed by keeping fixed the first two layers on the right. The shadowed atoms represent initial positions of the magnesium before relaxation. The atomic optimization moves inward the atoms on the left in the y direction, reducing the thickness of the slab as it is generally expected for a metal. All the atoms belonging to the same row move together. Longer distance from the fixed atoms results in more displacement of the free layers. The outer layer moves about 0.9 Å, instead the inner layer moves less than 0.1 Å. All the displacements are shown in Table 1. This attenuation of layer displacement indicates that in the y direction the number of planes are enough to get a reliable Mg free surface on the left with bulk Mg atoms in the back. The atomic optimization lowers the total energy of the surface of about 0.03 eV/at. After the atomic optimization, molecular dynamics simulations at fixed temperature and volume are performed to study the thermal stability of the surface. The temperature is gradually raised (in steps of 100 K) till 900 K. At each temperature the system reaches the equilibrium and no reconstruction of the free surface is observed.

**Figure 2.**Magnesium free surface before and after geometry optimization. The shadowed atoms represent initial positions of the magnesium before relaxation. In parenthesis are shown distances in Å between initial and final positions of the Mg rows (see also Table 1).

**Table 1.**Displacements in Å of Mg atoms after ionic relaxations with respect to initial positions, for magnesium free surface, magnesium hydride free surface and, Mg–MgH

_{2}interface. For the free surfaces all the atoms belonging to the same row move together, for the Mg–MgH

_{2}interface we indicated the range and the average of displacements.

Mg Row | Mg free surf. | MgH_{2} free surf. | Mg-MgH_{2} interface | |||
---|---|---|---|---|---|---|

Mg side | MgH_{2} side | |||||

displ. (Å) | displ. (Å) | range (Å) | average (Å) | range (Å) | average (Å) | |

1a | 0.89 | 0.21 | 0.49–0.57 | 0.54 | 0.19–0.31 | 0.25 |

1b | 0.55 | –0.19 | 0.25–0.39 | 0.28 | 0.20–0.59 | 0.42 |

2a | 0.66 | –0.13 | 0.31–0.46 | 0.39 | 0.15–0.23 | 0.20 |

3b | 0.35 | 0.07 | 0.17–0.20 | 0.18 | 0.22–0.36 | 0.27 |

3a | 0.44 | 0.04 | 0.24–0.26 | 0.25 | 0.12–0.16 | 0.14 |

3b | 0.19 | –0.07 | 0.08–0.13 | 0.10 | 0.14–0.19 | 0.17 |

4a | 0.26 | –0.04 | 0.16–0.18 | 0.16 | 0.06–0.07 | 0.07 |

5b | 0.09 | 0.01 | 0.06 | 0.06 | 0.07–0.09 | 0.08 |

#### 3.2. Magnesium Hydride Free Surface

We consider a MgH_{2} crystalline system composed of 6 layers: 60 Mg atoms and 120 H atoms (see Figure 1b). The surface to be faced to the Mg surface is on the right. The external surface (on the left) is the same as the internal one (on the right) but translated by a half lattice parameter (0.5 × α_{MgH2}) in the x direction. As already done for the magnesium part, we performed an ionic relaxation to optimize the atomic geometry (residual force on each atom less than 10^{-}^{2} eV/Å): a void region is left on the left to suppress the interaction, due to the periodic boundary conditions, between the external surfaces of MgH_{2}. In Figure 3 the MgH_{2} system is depicted before and after geometry optimization. The shadowed atoms represent initial positions of the magnesium and the hydrogen before relaxation. This optimization is performed by keeping fixed the first two layers of Mg atoms on the left to impose a bulk behaviour to the left part of the system. All the atoms belonging to the same row move together (in y direction only). Unlike magnesium system, the atom displacements are less pronounced (outer atoms move about 0.2 Å) and are not in only one direction. The upper layers move outward whereas the lower layers move inward. All the displacements are depicted in Table 1, where plus sign means outward movements and minus sign stands for inward movements. The displacements of the H atoms are negligible (less than 0.1 Å, except two rows that move 0.16 Å). Like before, the small displacements of the atoms near the fixed layers assure us that the size of the MgH_{2} system is enough to simulate a reliable free surface. The atomic optimization reduce the total energy of the surface by about 0.01 eV/at. After the atomic optimization, molecular dynamics simulations at fixed temperature are performed to study the thermal stability of the surface. The temperature is gradually raised (in steps of 100 K) till 900 K. At each temperature the system reaches the equilibrium and no reconstruction of the free surface is observed.

**Figure 3.**Magnesium hydride free surface before and after geometry optimization. The shadowed atoms represent initial positions of atoms before relaxation. In parenthesis are shown distances in Å between initial and final positions of the Mg rows (see also Table 1). We indicated with Hr

_{a}, Hr

_{b}, Hr

_{c}, and Hr

_{d}, four groups of H atoms closer to the interface (see Section 5).

## 4. Mg-MgH_{2} Interface

We consider the supercell shown in Figure 1c in which the free surfaces of magnesium and magnesium hydride are facing each other at the distance 0.5×L_{x}. In this configuration the Mg atom (magnesium side) named A_{1} is in front of the Mg atom (magnesium hydride side) named B_{1}. These Mg atoms have the same x and z coordinates and their y coordinates differs by 0.5×L_{x}. The B_{1} atom has the coordinates (x_{B}, y_{B}, z_{B}), instead the A_{1} atom has the coordinates (x_{A}, y_{A}, z_{A}) where x_{A} = x_{B}, y_{A} = y_{B} + 0.5×L_{x} and z_{A} = z_{B}. To find the interface configuration corresponding to the lowest total energy, we perform a geometry optimization moving rigidly by hand the Mg part and keeping fixed the MgH_{2} one. The Mg part is moved in such a way that the coordinates x_{A}, y_{A} and z_{A} of the Mg atom, labelled A_{1} in Figure 1c, are on a tridimensional grid x_{A} = x_{B} + dx, y_{A} = y_{B} + dy and z_{A} = z_{B} + dz, where the increments dx, dy and dz depend upon the integer index i, j, k:

Total energy calculations are performed to minimize the energy of the whole system by varying the distance between the internal surfaces. The total energy of the system is minimized for k = 0, i = 2 and j = 8. The Mg atoms A_{1} and B_{1} are in the same plane xy (atoms of the Mg part are not shifted in z direction; dz_{k}_{=0} = 0), shifted from each other by dx_{i}_{=2} = 0.5 × a_{Mg} in x direction at the distance dy_{j}_{=8} = 0.4 × L_{x} in y direction. A good indicator of the reliability of this interface is the calculation of the work of adhesion W. W can be defined either in terms of the surface and interfacial energies (relative to the respective bulk materials), or by the difference in total energy between the interface and its isolated slabs:

Here σ_{slabi} is the surface energy of slab i, γ_{inter} is the interface energy, E_{slabi} is the total energy of the slab i, and E_{inter} is the total energy of the interface system. The total interface area is fixed by A = L_{x} ×L_{z}.

Figure 4 shows the opposite of work of adhesion (−W), for k = 0 (no shift in z direction between the Mg and MgH_{2} slabs, dz = 0), varying i and j. These values of work of adhesion are calculated using Equation 1: the difference in total energy between the interfaces and the corresponding isolated slabs. Values for dx = 0.25 × a_{Mg} and dx = 0.75 × a_{Mg} are overlapped due to symmetry. The final configuration is characterized by a work of adhesion of W_{ow} = 605 mJ/m^{2}.

In Figure 4 calculated values of work of adhesion are fitted by the Rydberg function

where d^{*} = (dy − dy^{0})/l is the scaled separation, dy measures the separation between Mg and MgH_{2} slabs, W_{0} is the minimum at the equilibrium separation dy^{0} and l is a scaling length. Fitting with the function in Equation 2 the calculated values of work of adhesion by Equation 1, we found the values shown in Table 2. The very good agreement between calculated values of work of adhesion with the Rydberg function make us confident that the interfacial energy follows the universal binding energy relation (UBER) [22,23]. In the configuration with dz = 0 and dx = 0.50 × a_{Mg}, regression yields values for W_{0} and dy^{0} (see third row in Table 2) that are very close to our values W_{ow} = 605 mJ/m^{2} and dy = 0.4 × L_{x}.

**Figure 4.**Work of adhesion for Mg-MgH

_{2}interface with dz = 0 varying both dy and dx, dy is expressed in unit of L

_{x}. Dotted lines are plots of the Rydberg function (2).

**Table 2.**Values yielded by regression fitting with Rydberg function of calculated values of work of adhesion (see Figure 4); dy

^{0}and l are expressed in unit of L

_{x}.

W (mJ/m_{0}^{2}) | dy (^{0}L)_{x} | l (L)_{x} | |

dx = 0 × a_{Mg} | 534 | 0.487 | 0.086 |

dx = 0.25 × a_{Mg} | 540 | 0.463 | 0.098 |

dx = 0.50 × a_{Mg} | 615 | 0.410 | 0.100 |

dx = 0.75 × a_{Mg} | 540 | 0.463 | 0.098 |

Regarding the optimal interface stacking sequences, we find that the Mg atoms prefer sites which continue the hexagonal sequence of the magnesium hcp bulk across the interface. In fact the magnesium atoms on the interface that are on the plane z = 0, i.e., the atoms B_{1} and its imagine in x direction on hydride side, and the atoms A_{1} and its neighbor on magnesium side, take shape of half hexagon with A_{1} and B_{1} at distance of 0.94 × a_{Mg}.

Subsequently, we perform an ionic relaxation to further optimize the atomic geometry (residual force on each atom less than 10^{-}^{2} eV/Å), with reduction of the total energy of the system of 1.92 eV. This optimization has been performed by keeping fixed two layers of Mg atoms on both sides of the system to limit the influence of the external surfaces on the internal atoms near the interface. During the ionic relaxation, the internal surfaces are free to adapt to each other (see Figure 5). Analysing the displacements of the atoms, for the magnesium side, we observed the displacements of the Mg atoms inward to reduce the thickness of the Mg slab, as it is generally expected for a metal. In this case, the displacements are almost halved with respect to the Mg free surface case. Instead, for the magnesium hydride side, the Mg and H atoms move forward the interface with consequent widening of MgH_{2} slab, and with respect to MgH_{2} free surface, the displacements are increased. Atoms near the interface have a larger displacements with respect to bulk atoms. The displacements of the atoms in proximity of the interface are in the order of half angstrom. In particular we emphasize the tendency of the outer layer of Mg atoms on the hydride side to adapt to the saw-tooth shape of the magnesium free surface (see Figure 5b). This causes loss of z symmetry in the displacements of Mg and H atoms. Atoms belonging to the same row do not execute the same displacement (see Figure 5a). We resumed these results in Table 1. After geometry optimization the work of adhesion, computed by using Equation 1, is W_{og} = 395 mJ/m^{2}.

**Figure 5.**Two views of the Mg-MgH

_{2}interface after ionic relaxation. The shadowed atoms represent initial positions of atoms before relaxation. Displacements of the atoms are resumed in Table 1.

To determine which H atoms near the interface are more unstable, we removed in turn each of the five H atoms (h_{1}, h_{2}, h_{3}, h_{4} and, h_{5}) on the outer row (Hr_{a} in Figure 3) and performed total energy calculations for the interfaces and corresponding hydride free surfaces. The values of the work of adhesion calculated by Equation 1 are lined up on second row of the Table 3.

h_{1} | h_{2} | h_{3} | h_{4} | h_{5} | |
---|---|---|---|---|---|

W (mJ/m^{2} | 1120 | 1160 | 1100 | 1160 | 1120 |

ΔH (eV) | 0.71 | 0.53 | 0.88 | 0.53 | 0.71 |

Moreover, to establish the preferred desorption site of the H atoms, energy cost for the various positions were calculated from the total energies according to the following Equation:

where E_{inter-H} is total energy for the Mg-MgH_{2} interface without one atom of hydrogen, is half total energy for the hydrogen molecule and E_{inter} is total energy for the Mg-MgH_{2} interface after geometry optimization. The calculated values of ΔH are shown on third row of the Table 3. From these data we observe the inverse relation between the work of adhesion (W) and the formation energy (ΔH). The central position is the most energetically favourable for the desorption (the biggest ΔH and the lowest W) and moreover there is symmetry with respect to that central position.

## 5. Hydrogen Diffusion

To understand the atomic level dynamics of hydrogen displacement at the interface, MD simulations are performed at constant volume and constant temperature. Starting from a temperature of T= 300 K the system with interface is analyzed and characterized up to the temperature T = 900 K. Firstly the temperature is gradually raised (in steps of 100 K) till 600 K. Experimentally it is known that there is no hydrogen diffusion till 600 K. At each temperature the system reaches the equilibrium and no diffusion is observed. From this point on, the T = 600 K configuration is used as the starting configuration for higher temperature simulations at 700 K, 750 K, 800 K and 900 K. It is interesting to note that in this system, the hydrogen diffusion is clearly already started at the temperature T = 750 K, which is in very good agreement with experimental observations for unmilled MgH_{2} without catalyst where hydrogen diffusion starts at T = 670 K [24]. This result makes us confident on the reliability of the numerical system. Hydrogen diffusion is complex phenomena that can be studied from analyzing the atomic dynamics in the temperature range T = 700–800 K.

Figure 6 depicts three atomic configurations, from which the influence of the temperature on the displacement of hydrogen atoms is clear. Diffusion of hydrogen atoms starts at T = 700 K (Figure 6a). At this temperature there is a tendency of hydrogen atoms to move towards the interface. This movement involves only the outer row of hydrogens. The internal hydrogen atoms move around their positions of equilibrium with a decreasing average width as the distance from the interface increases. At higher temperature, T = 750 K (Figure 6b), the tendency of hydrogens to move toward interface involves also internal rows of atoms. Moreover, the hydrogen atoms belonging to these rows diffuse by jumping from one lattice site to the nearest lattice site. At even higher temperature, T = 800 K (Figure 6c), the movement of the rows of hydrogens toward the interface is still present but the diffusion by jumping between lattice sites is replaced by hydrogen diffusion toward the interface. To quantify these observations, we report in Figure 7 the displacements d_{i }(t) =|**r**_{i}(t)- **r**_{i}(0)| of the hydrogen atoms from their initial positions during the molecular dynamics simulation, whereas **r**_{i }(0) and **r**_{i }(t) are the initial position of the i-th hydrogen atom and its position at time t, respectively.

**Figure 6.**Snapshots of Mg-MgH

_{2}interface during molecular dynamics for (

**a**) T = 700 K; (

**b**) T = 750 K; and (

**c**) T = 800 K. H atoms are in green, Mg atoms in the magnesium hydride side are in light blue and Mg atoms in the magnesium side are in dark blue.

**Figure 7.**Average displacements ⟨d(t)⟩ of the group of H atoms Hr

_{a }(blue line), Hr

_{b }(red line), Hr

_{c }(green line), Hr

_{d }(orange line) and, Hr

_{bulk}(black line) for MD simulations at (

**a**) T= 700 K; (

**b**) T = 750 K; and (

**c**) T = 800 K.

To better characterize the hydrogen dynamics at the interface, as shown in Figure 3, five groups of atoms are considered: hydrogen atoms belonging to the outer row Hr_{a}, those that belong to the Hr_{b} Hr_{c} and Hr_{d} rows respectively, and all the others Hr_{bulk}. Averaging the displacements over these group of atoms, the quantities ⟨d(t)⟩_{Hra}, ⟨d(t)⟩_{Hrb}, ⟨d(t)⟩_{Hrc}, ⟨d(t)⟩_{Hrd} and ⟨d(t)⟩_{Hrbulk} are drawn in Figure 7 in blue line, red line, green line, orange line and black line, respectively. In panels (a), (b) and (c) of Figure 7 are reported these quantities for T= 700 K, T = 750 K and T = 800 K. For all temperatures the main contribution for hydrogen diffusion is due to the outer atoms (row Hr_{a}) and ⟨d(t)⟩_{Hra} increases with time. Instead, displacements of the "bulk" hydrogens ⟨d(t)⟩_{Hrbulk} are approximately constant (are about 0.5 Å). At T = 700 K displacements ⟨d(t)⟩_{Hrb}, ⟨d(t)⟩_{Hrc} and ⟨d(t)⟩_{Hrd} are oscillating but do not increase with time. They start to improve with time at higher temperature, and at T = 750 K the growth is faster and greater with respect to T = 800 K. We associate this behaviour to the pronounced feature of hydrogen atoms to jump from one lattice site to the nearest lattice site at T = 750 K. At these temperatures, diffusion of hydrogen atoms in the interface is clearly visible in the MD simulations. It is worth noting that no H atoms diffuse into the Mg lattice, which is in agreement with experimental evidence [6].

## 6. Evolution of the Desorption

To understand the behaviour of the system after the desorption of the outer hydrogen atoms, starting from the last configuration of MD simulation of the interface at T= 750 K, shown in Figure 8a, we removed by hand the hydrogens belonging to the rows Hr_{a}, Hr_{b} Hr_{c} and Hr_{d} (see Figure 3). These atoms are shadowed in panel (a) of Figure 8. Then, from this new system, a new ionic relaxation is performed as shown in Figure 8b. The ionic relaxation picks out how the magnesium atoms of the hydride deprived of hydrogens adapt to hcp magnesium bulk of the right side of the system. It is worth remarking that two Mg atoms are missing for a complete hcp magnesium free surface. To restore the good stoichiometry of the system, from the former configuration (Figure 8b) we added by hand two Mg atoms (Figure 8c) and performed a geometry optimization again, with the complete reconstruction of the hcp magnesium free surface and the creation of a "new" interface (Figure 8d).

**Figure 8.**Snapshots for the interface reconstitution. (

**a**) Final configuration of MD simulation of the interface at T = 750 K. H atoms removed are shadowed; (

**b**) configuration after geometry optimization without outer hydrogens; (

**c**) configuration with two Mg atoms added (in red); (

**d**) configuration after geometry optimization with two Mg atoms added and reconstruction of the "new" interface; (

**e**) and (

**f**) two snapshots of the MD simulation at T = 750 K.

Subsequently we performed MD simulation at T= 750 K. In panels (e) and (f) of Figure 8 are shown two snapshots of the MD simulation. These snapshots display the diffusion of hydrogen atoms in the "new" interface, with the "old" magnesium atoms of the hydride moving around the lattice position of hcp magnesium slab. Finally, to investigate the hydrogen dynamics at the new interface, in Figure 9 we presented similar graphs of those that are shown in Figure 7. Like previously, displacements of the "bulk" hydrogens (black line) are approximately constant and the main contribution for hydrogen diffusion is still due to the outer atoms (blue line, red line, green line and orange line). In conclusion, it is evident that the two interfaces produce the same results.

**Figure 9.**Average displacements ⟨d(t)⟩ of the group of H atoms Hr

_{a}(blue line), Hr

_{b}(red line), Hr

_{c}(green line), Hr

_{d}(orange line) and, Hr

_{bulk}(black line) for MD simulations at T = 750 K, for the "new" interface.

## 7. Conclusions

In conclusion, a reliable numerical model to understand the H desorption from MgH_{2} is proposed. By ab-initio electronic structure calculations we studied and characterized the Mg–MgH_{2} interface, composed of the (010) surface of magnesium and (110) surface of magnesium hydride. Furthermore, molecular dynamics simulations at several temperatures are performed to study the dynamics of hydrogen atoms at the interface. Desorption temperature is estimated, which is in agreement with experimental results. We have shown that ab-initio calculations are able to discover atomic level phenomena that are critical for the progress in a technologically relevant issue like the one related to the hydrogen storage.

## Acknowledgements

The computing resources and the related technical support used for this work have been provided by CRESCO-ENEAGRID High Performance Computing infrastructure and its staff; see http://www.cresco.enea.it for information. CRESCO-ENEAGRID High Performance Computing infrastructure is funded by ENEA, the "Italian National Agency for New Technologies, Energy and Sustainable Economic Development" and by national and European research programs.

## References

- Sun, D.; Enoki, H.; Gingl, F.; Akiba, E. New approach for synthesizing Mg-based alloys. J. Alloys Compounds
**1999**, 285, 279–283. [Google Scholar] [CrossRef] - Zaluska, A.; Zaluski, L.; Ström–Olsen, J.O. Nanocrystalline magnesium for hydrogen storage. J. Alloys Compounds
**1999**, 288, 217–225. [Google Scholar] [CrossRef] - Montone, A.; Grbovic, J.; Bassetti, A.; Mirenghi, L.; Rotolo, P.; Bonetti, E.; Pasquini, L.; Vittori Antisari, M. Role of organic additives in hydriding properties of Mg-C nanocomposites. Mater. Sci. Forum
**2005**, 494, 137–142. [Google Scholar] [CrossRef] - Bassetti, A.; Bonetti, E.; Pasquini, L.; Montone, A.; Grbovic, J.; Vittori Antisari, M. Hydrogen desorption from ball milled MgH
_{2}catalyzed with Fe. Eur. Phys. J. B**2005**, 43, 19–27. [Google Scholar] [CrossRef] - Cleri, F.; Celino, M.; Montone, A.; Bonetti, E.; Pasquini, L. Experimental and theoretical characterization of the 3D-dopants bias on the H desorption of Mg hydrides. Mater. Sci. Forum
**2007**, 555, 349–354. [Google Scholar] [CrossRef] - Vittori Antisari, M.; Montone, A.; Aurora, A.; Mancini, M.R.; Mirabile Gattia, D.; Pilloni, L. Scanning electron microscopy of partially de-hydrogenated MgH
_{2}powders. Intermetallics**2009**, 17, 596–602. [Google Scholar] [CrossRef] - Schober, T. The magnesium-hydrogen system: Transmission electron microscopy. Metall. Mater. Trans. A
**1981**, 12, 951–957. [Google Scholar] [CrossRef] - Car, R.; Parrinello, M. Unified approach for molecular dynamics and density-functional theory. Phys. Rev. Lett.
**1985**, 55, 2471–2474. [Google Scholar] [CrossRef] - CPMD. Copyright IBM Corp, 1990–2008; Copyright MPI für Festkörperforshung Stuttgart 1997–2001. Available online: http://www.cpmd.org/ (accessed on 16 January 2012).
- Hohenberg, P.; Kohn, W. Inhomogeneous electron gas. Phys. Rev.
**1964**, 136, B864–B871. [Google Scholar] [CrossRef] - Kohn, W.; Sham, L.J. Self-consistent equations including exchange and correlation effects. Phys. Rev.
**1965**, 140, A1133–A1138. [Google Scholar] [CrossRef] - Goedecker, S.; Teter, M.; Hutter, J. Separable dual-space Gaussian pseudopotentials. Phys. Rev. B
**1996**, 54, 1703–1710. [Google Scholar] - Hartwigsen, C.; Goedecker, S.; Hutter, J. Relativistic separable dual-space Gaussian pseudopotentials from H to Rn. Phys. Rev. B
**1998**, 58, 3641–3662. [Google Scholar] - Krack, M. Pseudopotentials for H to Kr optimized for gradient-corrected exchange-correlation functionals. Theor. Chem. Acc.
**2005**, 114, 145–152. [Google Scholar] [CrossRef] - Johnson, B.G.; Gill, P.M.W.; Pople, J.A. The performance of a family of density functional methods. J. Chem. Phys.
**1993**, 98, 5612–5626. [Google Scholar] - Ikeda, T.; Boero, M.; Terakura, K. Hydration properties of magnesium and calcium ions from constrained first principles molecular dynamics. J. Chem. Phys.
**2007**, 127, 074503:1–074503:8. [Google Scholar] - Pelletier, J.F.; Huot, J.; Sutton, M.; Schulz, R.; Sandy, A.R.; Lurio, L.B.; Mochrie, S.G.J. Hydrogen desorption mechanism in MgH
_{2}–Nb nanocomposites. Phys. Rev. B**2001**, 63. [Google Scholar] - Higuchi, K.; Yamamoto, K.; Kajioka, H.; Toiyama, K.; Honda, M.; Orimo, S.; Fujii, H. Remarkable hydrogen storage properties in three-layered Pd/Mg/Pd thin films. J. Alloys Compounds
**2002**, 330–332, 526–530. [Google Scholar] [CrossRef] - Boero, M.; Parrinello, M.; Terakura, K. First principles molecular dynamics study of Ziegler-Natta heterogeneous catalysis. J. Am. Chem. Soc.
**1998**, 120, 2746–2752. [Google Scholar] - Nosé, S. A unified formulation of the constant temperature molecular dynamics methods. J. Chem. Phys.
**1984**, 81, 511–519. [Google Scholar] [CrossRef] - Hoover, W.G. Canonical dynamics: Equilibrium phase-space distributions. Phys. Rev. A
**1985**, 31, 1695–1697. [Google Scholar] [CrossRef] - Banerjea, A.; Smith, J.R. Origins of the universal binding-energy relation. Phys. Rev. B
**1988**, 37, 6632–6645. [Google Scholar] [CrossRef] - Vinet, P.; Rose, J.H.; Ferrante, J.; Smith, J.R. Universal features of the equation of state of solids. J. Phys. Condens. Matter
**1989**, 1, 1941–1963. [Google Scholar] - Hanada, N.; Ichikawa, T.; Orimo, S.; Fujii, H. Correlation between hydrogen storage properties and structural characteristics in mechanically milled magnesium hydride MgH
_{2}. J. Alloys Compounds**2004**, 366, 269–273. [Google Scholar] [CrossRef]

© 2012 by the authors; licensee MDPI, Basel, Switzerland. This article is an open-access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).