## Abstract

Solid-state cooling is an energy-efficient and scalable refrigeration technology that exploits the adiabatic variation of a crystalline order parameter under an external field (electric, magnetic, or mechanic). The mechanocaloric effect bears one of the greatest cooling potentials in terms of energy efficiency owing to its large available latent heat. Here we show that giant mechanocaloric effects occur in thin films of well-known families of fast-ion conductors, namely Li-rich (Li_{3}OCl) and type-I (AgI), an abundant class of materials that routinely are employed in electrochemistry cells. Our simulations reveal that at room temperature AgI undergoes an adiabatic temperature shift of 38 K under a biaxial stress of 1 GPa. Likewise, Li_{3}OCl displays a cooling capacity of 9 K under similar mechanical conditions although at a considerably higher temperature. We also show that ionic vacancies have a detrimental effect on the cooling performance of superionic thin films. Our findings should motivate experimental mechanocaloric searches in a wide variety of already known superionic materials.

## Introduction

Conventional cooling methods based on gas-compression cycles present a series of critical drawbacks including the use of environmental hazards and lack of scalability to micro sizes. Solid-state cooling represents an elegant solution to all these issues, with mechanocaloric (MC) effects possibly holding the greatest promise in terms of energy efficiency^{1}. Superelastic shape-memory alloys (SMA) displaying first-order martensitic transformations between a high-*T* martensitic and a low-*T* austenitic phase (e.g., Ni-Ti, Cu-Al-Ni, and Cu-Zn-Sn alloys), are archetypal MC compounds^{2}. For example, a giant adiabatic temperature shift of 25.5 K has been measured in NiTi wires upon a small tensile stress of 0.65 GPa^{3}. Nevertheless, there are still several hurdles that need to be overcome in order to develop successful MC commercial applications. For instance, the first-order nature of the martensitic transformation involves concomitant hysteresis losses, which is detrimental for cooling efficiency^{4}, and as the size of SMA shrinks towards the nanoscale the martensitic phase transformation may be suppressed due to overstabilisation of the high-*T* distorted phase^{5}. Finding novel MC materials with sharp second-order phase transitions occurring near room temperature and which persist down to the nanoscale, therefore, may advance the field of solid-state cooling.

Ferroelectric compounds (FE) like, for instance, BaTiO_{3}
^{6}, PbTiO_{3}
^{7}, and Ba_{1−x
}Ca_{
x
}Ti_{1−y
}Zr_{
y
}O_{3} solid solutions^{8} (generally exploited in sensing, information storage and energy applications), can be synthesised as nano-sized materials and typically exhibit displacive second-order phase transitions^{9}. However, current adiabatic temperature shifts, $\u2223\Delta T\u2223$, estimated in most FE materials near room temperature are about one order of magnitude smaller than those achieved in SMA (made the exception of the ferrielectric compound (NH_{4})_{2}SO_{4}
^{10}), and the involved mechanical stresses appear to be unsuitably too large ($\u2223\sigma \u2223\gg 1$ GPa). Consequently, the MC strengths reported so far for FE are rather poor in general, namely, $\u2223\Delta T\u2223$/$\u2223\sigma \u2223$ < 1 K·GPa^{−1} (again, made the exception of (NH_{4})_{2}SO_{4}
^{10}). Recently, a giant MC effect has been predicted in fluorite-structured fast-ion conductors (FIC), typified by CaF_{2} and PbF_{2}, which is comparable in magnitude to the benchmark adiabatic temperature shifts measured in SMA^{11}. The MC effect disclosed in FIC may be understood in terms of stress-driven changes in ionic diffusivity, which in turn cause large variations in the entropy and dimensions of the material^{11}. The originating superionic transition is of second-order type, in analogy to archetypal FE, and fluorite-structured FIC also can be synthesised as nanomaterials^{12}. Unfortunately, the superionic transition temperatures in fluorite-structured FIC are far above ambient conditions (i.e., *T*
_{
s
} = 1350 in CaF_{2} and 700 K in PbF_{2}
^{11, 13}), thus hindering the development of likely solid-state cooling applications.

Here we demonstrate giant MC effects in other predominant families of FIC, namely Li-rich (Li_{3}OCl) and type-I (AgI) compounds (following Hull’s notation^{14}), some of them at room temperature. We use atomistic computer simulations based on force fields and density functional theory to estimate the isothermal entropy and adiabatic temperature shifts attained in FIC with biaxial stresses (*σ*
_{
xx
} = *σ*
_{
yy
} and *σ*
_{
zz
} = 0). (Biaxial stresses, either compressive, *σ* > 0, or tensile, *σ* < 0, are realisable in thin films^{15}; dynamic biaxial stresses leading to epitaxial strain changes of the order of 0.1–1% have been demonstrated in thin films by using ferroelectric substrates^{16, 17}, and larger dynamic changes can be envisaged by means of mechanical extensometer techniques applied on flexible polymeric substrates^{18} and of nanoidentation methods^{19}.) In AgI thin films, we find a room-temperature adiabatic temperature shift of $\u2223\Delta T\u2223$ = 38 K for a moderate compressive load of $\u2223\sigma \u2223$ = 1 GPa. This result exceeds the corresponding values estimated in FE at *T* = 300 K (~1 K^{6}) and equals in magnitude the MC records set in SMA (~10 K^{3, 20}). Our findings in Li_{3}OCl thin films, namely $\u2223\Delta T\u2223$ = 9 K for $\u2223\sigma \u2223$ = 1 GPa at *T* = 1000 K, suggest that analogous Li-rich FIC with lower superionic transition temperatures (e.g., Li_{10}GeP_{2}S_{12}
^{21}) should display giant MC effects as well. Therefore, we argue that solid-state cooling could benefit immensely from the intensive research already undertaken on solid-state electrochemical batteries^{22}.

## Results

### Effects of vacancies on the mechanocaloric performance of thin films

Vacancies are known to enhance significantly ionic transport and lower the superionic critical temperature in FIC^{23, 24}. This is explicitly shown in Fig. 1a, where we plot the F^{−} diffusion coefficient, *D* (see Methods section), calculated for unstrained CaF_{2} (type-II FIC^{14}) in the absence and presence of ionic vacancies as a function of temperature (note that *D* increases by >80% in the system containing vacancies). In Fig. 1b, we compare the critical superionic temperature obtained in perfect and defective thin films as a function of biaxial stress; in the *c*
_{v} = 2.5% case, *T*
_{
s
} is reduced by ~300 K almost independently of *σ*. This outcome can be rationalised in terms of a steady lowering of the energy barrier and creation energy of Frenkel pair defects (see Fig. 1a), which is due to an increase of the space available to interstitial ions. Therefore, intuitively one might expect that by introducing ionic vacancies the mechanocaloric performance of FIC should be enhanced. We have found, however, that this is not actually the case in archetypal FIC CaF_{2} (see Supplementary Figs. 1 and 2).

In Fig. 2a, b, we show the isothermal entropy and adiabatic temperature changes, Δ*S* and Δ*T* (see Methods section), calculated in type-II FIC thin films with an arbitrary F^{−} vacancy concentration of 2.5%. Large values of 30 JK^{−1} kg^{−1} and −30 K are obtained respectively at the highest temperature and tensile stress (*T* = 1100 K and $\u2223\sigma \u2223$ = 4 GPa), conditions at which the defective system is fully superionic. Upon comparison of the Δ*T* values obtained in perfect and defective CaF_{2} thin films at a fixed temperature of 1100 K (see Fig. 2c), however, we realise that the presence of anion vacancies does not produce any significant enhancement in MC performance (it is worth noticing that at the imposed conditions the perfect system remains in the normal state). Actually, the same applied maximum stress leads to $\u2223\Delta T\u2223$ values two times larger in thin films without vacancies for a slightly higher temperature at which the perfect system becomes superionic^{11}. The main cause for this outcome is that the presence of ionic vacancies makes the superionic transition to be less abrupt, by smoothing the concomitant lattice strain associated to the prompt increase of ionic diffusivity (see Supplementary Methods and Supplementary Fig. 5). An analogous effect is observed also on the anion diffusion coefficient, which in the *c*
_{v} = 2.5% case displays a steady, rather than a sudden, increase near the superionic transition point (see Fig. 1a). Therefore, we may conclude that despite ionic vacancies in general favor ionic conductivity their effects on the MC performance of FIC may be adverse.

### Mechanocaloric effect in Li-rich superionic thin films

We choose Li_{3}OCl as a representative member of the family of Li-rich FIC^{25}. This compound adopts an antiperovskite phase characterised by Li, Cl, and O atoms placed at the octahedral vertices, octahedral centers, and center of a cubic unit cell, respectively (space group $Fm\overline{3}m$, see Supplementary Figs. 1 and 3). We note that Li_{3}OCl has already been synthesised and characterised in thin-film geometry^{26, 27}. The fundamental ion-migration mechanism in this material is related to the presence of vacancies: in the absence of points defects the diffusivity of Li^{+} ions is null below the corresponding melting point^{23, 24}. Meanwhile, the accompanying superionic temperature, *T*
_{
s
}, strongly depends on the concentration of ionic vacancies (see Supplementary Discussion and Supplementary Fig. 6). Here we analyse the *c*
_{v} = 2.5% case, which according to our molecular dynamics simulations (see Methods section) renders a transition temperature of *T*
_{
s
} = 1000 K at *σ* = 0 conditions. In what follows, we focus on tensile stresses (*σ* < 0) as in Li_{3}OCl these favor ionic conductivity the most.

In Fig. 3a, b, we show the Li^{+} diffusion coefficient and in-plane strain, $\u03f5$ (see Methods section), calculated in Li_{3}OCl as a function of negative biaxial stress at a fixed temperature of 1000 K. Both quantities increase under applied tensile stress, and in the case of $\u03f5$ the stress-induced enhancement is almost linear. As the ionic diffusivity in the thin film increases so does the isothermal entropy change (Fig. 3c), yielding a value of Δ*S* = 16 J·K^{−1} kg^{−1} at the maximum tensile stress *σ*
_{max
} = −1 GPa. The accompanying adiabatic temperature change is $\u2223\Delta T\u2223$ = 9 K (Fig. 3d), which is about two times larger than the one calculated in CaF_{2} thin films considering identical (*σ*, *T*) conditions and vacancy concentration (see Fig. 2b). The main reason behind this difference is the larger isothermal entropy change found in Li_{3}OCl, which fundamentally is related to the way in which ions hop through favorable pathways within the corresponding structural frameworks.

The largest contribution to the entropy of the superionic transformation can be assumed to be due to the configurational degrees of freedom^{28}. Consequently, it is reasonable to expect finding comparable isothermal entropy changes to those attributed to Li_{3}OCl in other related Li-rich FIC with transition temperatures close to ambient (e.g., Li_{10}GeP_{2}S_{12}
^{21}). Actually, larger $\u2223\Delta T\u2223$ values may be anticipated in those cases as the cooling efficiency of crystals is enhanced at low temperatures (i.e., the corresponding heat capacity, *C*
_{
σ
}, is small and depends on temperature as ∝ *T*
^{3}, see Methods section).

### Mechanocaloric effect in type-I superionic thin films

We select AgI as a representative member of the family of type-I FIC. At ambient conditions bulk AgI is found as a mixture of wurtzite (*β*, hexagonal *P*6_{3}
*mc*) and zincblende (*γ*, cubic $F\overline{4}3m$) phases^{14}. As temperature is increased beyond *T*
_{
s
} ~ 400 K, bulk AgI transforms into a superionic phase (*α*) in which the I^{−} anions arrange in a cubic bcc lattice and the Ag^{+} cations are mobile. In practice, AgI thin films can be synthesised either in the *β* or *γ* phase depending on the employed preparation method^{29, 30}. For reasons that will become clear later on, we investigate here the cubic *γ* phase consisting of two interlaced monoatomic fcc sublattices with fourfold ionic coordination (see Supplementary Figs. 1 and 4). Our following analysis is restricted to compressive stresses (*σ* > 0) as we find the largest MC effect at such conditions.

In Figs. 4a and 5a, we show the Ag^{+} diffusion coefficient calculated in non-defective AgI thin films as a function of compressive biaxial stress at *T* = 300 and 400 K, respectively. It is appreciated that only at the highest analysed temperature and for stresses larger than 0.8 GPa the system becomes fully superionic (i.e., $D\gg 0$). Nevertheless, the isothermal entropy and adiabatic temperature changes estimated for the maximum stress *σ*
_{max} = 1 GPa are giant in both cases (see panels c, d in Figs. 4 and 5). In particular, we obtain Δ*S* = 30 J·K^{−1} kg^{−1} and Δ*T* = 38 K at *T* = 300 K, and 35 J·K^{−1} kg^{−1} and 51 K at *T* = 400 K. We note that the in-plane strains calculated in both cases are also considerably large; as compared to Li_{3}OCl thin films, for instance, those are about four times larger in absolute value (see Figs. 3b–5b). As *T* is increased beyond room temperature, the calculated entropy and temperature shifts become larger essentially due to the enhanced mobility of Ag^{+} cations (see Fig. 5a).

At room temperature, the MC performance of AgI thin films commences to be appreciable and to increase steadily for stresses larger than *σ*
_{
c
} = 0.2 GPa (see Fig. 4c, d). This finding signals the triggering of a structural phase transformation at around *σ*
_{
c
} different from the superionic transition, which occurs at higher temperatures. The continuous variation of the in-plane strain and cation diffusion coefficient as driven by compressive stress indicate that this phase transition is of second-order type. To get microscopic insight into such a structural transformation, we analyse the coordination number, radial pair distribution function, mean squared displacement, and density distribution of I^{−} and Ag^{+} ions under different temperature and stress conditions (see Methods section and Supplementary Figs. 7–9).

Our simulation results reveal the existence of a *σ*-induced diffusionless order-disorder phase transition involving sizeable displacements of the ionic equilibrium positions with respect to the original zincblende structure. Specifically, both I-I and Ag-Ag coordination numbers amount to 12 in average similarly to what is found in the two monoatomic fcc lattices of reference. However, a precise determination of neighbouring atomic shells from the corresponding radial pair distribution functions, *g*(*r*), is not possible for distances larger than few angstroms at biaxial stresses higher than *σ*
_{
c
} (see Fig. 6). Furthermore, at room temperature and *σ*
_{
c
} < *σ* conditions the asymptotic behavior of the ionic pair distribution functions, namely, *g*(*r*) ≈ 1, is reached very rapidly with the radial distance (*r* ~ 10 Å, see Fig. 6a, b); this outcome evidences lack of solid translational invariance, in analogy to what is observed in glassy systems. We assuredly identify these features, and others shown in the Supplementary Figs. 7–9 (e.g., ionic mean squared displacement and density distribution plots), with the presence of atomic disorder in the I^{−} and Ag^{+} sublattices at *σ*
_{
c
} < *σ* conditions. It is worth noticing that, as we have explicitly checked, neither the hexagonal wurtzite nor the cubic rock-salt structures found in bulk AgI at ambient and high-pressure conditions^{14} transform to a disordered phase when applying biaxial compressive stresses of ~1 GPa to them at room temperature (see Supplementary Fig. 10).

## Discussion

The giant room-temperature MC effect revealed in AgI thin films, which is originated by a *σ*-induced diffusionless order-disorder phase transition, appears to be very promising in terms of maximum adiabatic temperature shift and mechanocaloric strength, $\u2223\Delta T\u2223$/$\u2223\sigma \u2223$. In Table 1, we compare the cooling properties of this FIC with those of other well-established MC compounds that have been reported at ambient and near ambient conditions. First, we note that the adiabatic temperature shift estimated in AgI ($\u2223\Delta T\u2223$ = 38 K) is equivalent in magnitude to the MC benchmarks obtained in archetypal shape-memory alloys like, for instance, NiTi (e.g., $\u2223\Delta T\u2223$ = 25.5 K^{3}). As compared to ferroelectric materials, the estimated Δ*T* is several times larger in absolute value. In terms of mechanocaloric strength, AgI also shows great promise as it follows closely to shape-memory alloys ($\u2223\Delta T\u2223\mathrm{\u2215}\u2223\sigma \u2223~10$ K GPa^{−1}
^{20}) and outperforms perovskite oxide materials (e.g., BaTiO_{3} with $\u2223\Delta T\u2223\mathrm{\u2215}\u2223\sigma \u2223~1$ K GPa^{−1}
^{6}).

Our findings should stimulate the development of new cooling devices based on FIC whose energy efficiency as compared to magnetocaloric and electrocaloric materials is very auspicious. In contrast to other mechanocaloric materials driven by first-order transitions, mechanical hysteresis losses and scalability limitations towards nanosizes should be absent in FIC. Mechanical stresses other than biaxial (i.e., uniaxial and hydrostatic) also can be expected to produce similar mechanocaloric responses than reported here in FIC^{11}. In this context, the rich variety of superionic materials that have been already investigated with a focus on electrochemical applications grants solid-state cooling with vast new possibilities.

## Methods

### Classical molecular dynamics simulations

Molecular dynamics (*N*, *P*, *T*) simulations are performed with the LAMMPS code^{31}. The pressure and temperature in the system are kept fluctuating around a set-point value by using thermostatting and barostatting techniques in which some dynamic variables are coupled to the particle velocities and simulation box dimensions. The interactions between atoms are modeled with rigid-ion Born-Mayer-Huggins potentials. Large simulation boxes, typically containing 6,144 atoms, are used in which periodic boundary conditions along the three Cartesian directions are applied. Newton’s equations of motion are integrated using the customary Verlet’s algorithm with a time-step length of 10^{−3} ps. A particle-particle particle-mesh *k*-space solver is used to compute long-range van der Waals and Coulomb interactions and forces beyond a cut-off distance of 12 Å at each time step.

We note that by using periodic boundary conditions in our calculations we avoid to explicitly simulate the substrate over which the thin film is grown in practice. Also, possible elastic relaxation effects and the interactions of the thin film with the vacuum at the top surface are totally neglected. Consequently, the simulations are performed very efficiently in terms of computational expense and the fundamental mechanocaloric effects occurring in FIC thin films can be singled out. Further details of our classical molecular dynamics simulations (e.g., interatomic potential models) can be found in the Supplementary Methods and Supplementary Tables 1 and 2.

### Density functional theory calculations

First-principles DFT calculations are performed to analyse the energy and structural properties of CaF_{2}, Li_{3}OCl, and AgI thin films at zero temperature (see Supplementary Figs. 2–4). We perform these calculations with the VASP code^{32} by following the generalized gradient approximation to the exchange-correlation energy due to Perdew et al.^{33}. The projector augmented-wave method is used to represent the ionic cores^{34}, and the electronic states 2*s*-3*s*-3*p*-4*s* of Ca, 2*s*-2*p* of F, 1*s*-2*s* of Li, 2*s*-2*p* of O, 2*s*-2*p* of Cl, 4*d*-5*s* of Ag, and 5*s*-5*p* of I, are considered as valence. Wave functions are represented in a plane-wave basis truncated at 650 eV. By using these parameters and dense **k**-point grids for Brillouin zone integration, the resulting energies are converged to within 1 meV per formula unit. In the geometry relaxations, a tolerance of 0.01 eV·Å^{−1} is imposed in the atomic forces. We also perform *ab initio* molecular dynamics calculations in order to validate the reliability of the interatomic potential models employed in the classical molecular dynamics simulations. Details of these calculations can be found in the Supplementary Discussion.

### Estimation of key quantities

The ionic diffusion coefficients are determined as:

where *R*
_{
i
}(*t*) is the position of the migrating ion labelled as *i* at time *t*, *t*
_{0} an arbitrary time origin, and $\u27e8\cdots \phantom{\rule{0.3em}{0ex}}\u27e9$ denotes average over time and particles. Meanwhile, the mean squared displacement of each ionic species is defined as $\u27e8\Delta {R}_{i}^{2}\left(t\right)\u27e9\equiv \u27e8{\u2223{R}_{i}\left(t+{t}_{0}\right)-{R}_{i}\left({t}_{0}\right)\u2223}^{2}\u27e9$.

Owing to the cubic symmetry of the thin films considered in this study, strains $\u03f5$
_{
xx
} and $\u03f5$
_{
yy
} and stresses *σ*
_{
xx
} and *σ*
_{
yy
} are identical. Consequently, the accompanying isothermal entropy changes can be estimated with the formula:

where *V*
_{0}(*T*) ≡ *L*
_{
x,0}(*T*) · *L*
_{
y,0}(*T*) · *L*
_{
z,0}(*T*) is the *T*-dependent volume of the crystal at equilibrium (i.e., considering *σ* = 0 conditions), *L*
_{
i
} represents the length of the simulation box along the *i* Cartesian direction, and the mechanical strain components are defined as ${\u03f5}_{ii}\left(\sigma ,T\right)\equiv \frac{{L}_{i}\left(\sigma ,T\right)-{L}_{i,0}\left(T\right)}{{L}_{i,0}\left(T\right)}$. Regarding the adiabatic temperature shifts, those are calculated as:

where *C*
_{
σ
}(*σ*, *T*) is the heat capacity of the crystal calculated at fixed *σ*. In this study we assumed that *C*
_{
σ
}(*σ*, *T*) ≈ *C*
_{
σ
}(0, *T*). Further technical details on our calculations can be found in the Supplementary Methods.

### Data availability

The data that support the findings of this study are available from the corresponding author (C.C.) upon reasonable request.

## Additional information

**Publisher's note:** Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## References

- 1.
Goetzler, W., Zogg, R., Young, J. & Johnson, C.

*Navigant Consulting Inc. (prepared for the U.S. Department of Energy)*(Burlington, MA, 2014). - 2.
Tušek, J., Engelbrecht, K., Mañosa, L. l., Vives, E. & Pryds, N. Understanding the thermodynamic properties of the elastocaloric effect through experimentation and modelling.

*Shap. Mem. Superelasticity***2**, 317 (2016). - 3.
Cui, J. et al. Demonstration of high efficiency elastocaloric cooling with large Δ

*T*using NiTi wires.*Appl. Phys. Lett.***101**, 073904 (2012). - 4.
Moya, X., Kar-Narayan, S. & Mathur, N. D. Caloric materials near ferroic phase transitions.

*Nat. Mater.***13**, 439 (2014). - 5.
Waitz, T., Tsuchiya, K., Antretter, T. & Fischer, F. D. Phase transformations of nanocrystalline martensitic materials.

*MRS Bull.***34**, 814 (2009). - 6.
Liu, Y. et al. Giant room-temperature elastocaloric effect in ferroelectric ultrathin films.

*Adv. Mater.***26**, 6132 (2014). - 7.
Wang, F. et al. Giant room temperature elastocaloric effect of PbTiO

_{3}ferroelectric materials with 90° domain structure.*RSC Adv.***6**, 70557 (2016). - 8.
Chauhan, A., Patel, S. & Vaish, R. Elastocaloric effect in ferroelectric ceramics.

*Appl. Phys. Lett.***106**, 172901 (2015). - 9.
Zhong, W., Vanderbilt, D. & Rabe, K. M. First-principles theory of ferroelectric phase transitions for perovskites: The case of BaTiO

_{3}.*Phys. Rev. B***52**, 6301 (1995). - 10.
Lloveras, P. et al. Giant barocaloric effects at low temperature in ferrielectric ammonium sulphate.

*Nat. Comm.***6**, 8801 (2015). - 11.
Cazorla, C. & Errandonea, D. Giant mechanocaloric effects in fluorite-structured superionic materials.

*Nano. Lett.***16**, 3124 (2016). - 12.
Pilvi, T., Arstila, K., Leskelä, M. & Ritala, M. Novel ALD process for depositing CaF

_{2}thin films.*Chem. Mater.***19**, 3387 (2007). - 13.
Cazorla, C. & Errandonea, D. Superionicity and polymorphism in calcium fluoride at high pressure.

*Phys. Rev. Lett.***113**, 235902 (2014). - 14.
Hull, S. Superionics: crystal structures and conduction processes.

*Rep. Prog. Phys.***67**, 1233 (2004). - 15.
Ossmer, H. et al. Evolution of temperature profiles in TiNi films for elastocaloric cooling.

*Acta. Mater.***81**, 9 (2014). - 16.
Thiele, C. et al. Voltage-controlled epitaxial strain in films.

*Appl. Phys. Lett.***87**, 262502 (2005). - 17.
Liu, Y. et al. Large reversible caloric effect in FeRh thin films via a dual-stimulus multicaloric cycle.

*Nat. Comm.***7**, 11614 (2016). - 18.
Tušek, J., Engelbrecht, K., Mikkelsen, L. P. & Pryds, N. Elastocaloric effect of Ni-Ti wire for application in a cooling device.

*J. Appl. Phys.***117**, 124901 (2015). - 19.
Pathak, S. & Kalidindi, S. R. Spherical nanoidentation stress-strain curves.

*Mater. Sci. Eng. R***91**, 1 (2015). - 20.
Mañosa, L. l. et al. Giant solid-state barocaloric effect in the Ni-Mn-In magnetic shape-memory alloy.

*Nat. Mater.***9**, 478 (2010). - 21.
Kamaya, N. et al. A lithium superionic conductor.

*Nat. Mater.***10**, 682 (2011). - 22.
Wang, Y. et al. Design principles for solid-state lithium superionic conductors.

*Nat. Mater.***14**, 1026 (2015). - 23.
Zhang, Y., Zhao, Y. & Cheng, C. Ab initio study of the stabilities of and mechanism of superionic transport in lithium-rich antiperovskites.

*Phys. Rev. B***87**, 134303 (2013). - 24.
Lu, Z. et al. Defect chemistry and lithium transport in Li

_{3}OCl anti-perovskite superionic conductors.*Phys. Chem. Chem. Phys.***17**, 32547 (2015). - 25.
Zhao, Y. & Daemen, L. L. Superionic conductivity in lithium-rich anti-perovsites.

*J. Am. Chem. Soc.***134**, 15042 (2012). - 26.
Lü, X. et al. Li-rich anti-perovskite Li

_{3}OCl films with enhanced ionic conductivity.*Chem. Commun.***50**, 11520 (2014). - 27.
Lü, X. et al. Antiperovskite Li

_{3}OCl superionic conductor films for solid-state Li-ion batteries.*Adv. Sci.***3**, 1500359 (2016). - 28.
Urban, A., Seo, D.-H. & Ceder, G. Computational understanding of Li-ion batteries.

*npj Comp. Mater.***2**, 16002 (2016). - 29.
Kennedy, J. H. Thin film solid electrolyte systems.

*Thin. Solid. Films.***43**, 41 (1977). - 30.
Kumar, P. S., Dayal, P. B. & Sunandana, C. S. On the formation mechanism of

*γ*-AgI thin films.*Thin. Solid. Films.***357**, 111 (1999). - 31.
Plimpton, S. J. Fast Parallel Algorithms for Short-Range Molecular Dynamics.

*J. Comp. Phys.***117**, 1 (1995). - 32.
Kresse, G. & Furthmüller, J. Efficient iterative schemes for ab initio total-energy calculations using a plane-wave basis set.

*Phys. Rev. B***54**, 11169 (1996). - 33.
Perdew, J. P., Burke, K. & Ernzerhof, M. Generalized gradient approximation made simple.

*Phys. Rev. Lett.***77**, 3865 (1996). - 34.
Blöchl, P. E. Projector augmented-wave method.

*Phys. Rev. B***50**, 17953 (1994). - 35.
Stern-Taulats, E. et al. Barocaloric and magnetocaloric effects in Fe

_{49}Rh_{51}.*Phys. Rev. B***89**, 214105 (2014). - 36.
Mañosa, L. l., Jarque-Farnos, S., Vives, E. & Planes, A. Large temperature span and giant refrigerant capacity in elastocaloric Cu-Zn-Al shape memory alloys.

*Appl. Phys. Lett.***103**, 211904 (2013).

## Acknowledgements

This research was supported under the Australian Research Council’s Future Fellowship funding scheme (No. FT140100135). Computational resources and technical assistance were provided by the Australian Government and the Government of Western Australia through Magnus under the National Computational Merit Allocation Scheme and The Pawsey Supercomputing Centre. D.E. acknowledges financial support from Spanish government MINECO, the Spanish Agencia Estatal de Investigacion (AEI), and Fondo Europeo de Desarrollo Regional (FEDER) under Grants No. MAT2016-75586-C4-1-P and MAT2015-71070-REDC.

## Author information

### Affiliations

#### School of Materials Science and Engineering, UNSW Australia, Sydney, NSW, 2052, Australia

- Arun K. Sagotra
- & Claudio Cazorla

#### Integrated Materials Design Centre, UNSW Australia, Sydney, NSW, 2052, Australia

- Arun K. Sagotra
- & Claudio Cazorla

#### Departamento de Física Aplicada (ICMUV), Malta Consolider Team, Universitat de Valencia, 46100, Burjassot, Spain

- Daniel Errandonea

### Authors

### Search for Arun K. Sagotra in:

### Search for Daniel Errandonea in:

### Search for Claudio Cazorla in:

### Contributions

C.C. conceived the study and planned the research. C.C. and A.K.S. performed the theoretical calculations. Results were discussed by C.C., A.K.S. and D.E. The manuscript was written by C.C. and A.K.S. with substantial input from D.E.

### Competing interests

The authors declare no competing financial interests.

### Corresponding author

Correspondence to Claudio Cazorla.

## Electronic supplementary material

## Comments

By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.