## Abstract

The impact of the inner structure and thermal history of planets on their observable features, such as luminosity or magnetic field, crucially depends on the poorly known heat and charge transport properties of their internal layers. The thermal and electric conductivities of different phases of water (liquid, solid, and super-ionic) occurring in the interior of ice giant planets, such as Uranus or Neptune, are evaluated from equilibrium ab initio molecular dynamics, leveraging recent progresses in the theory and data analysis of transport in extended systems. The implications of our findings on the evolution models of the ice giants are briefly discussed.

## Introduction

Hydrogen and oxygen are two of the three most abundant elements in the universe, helium being the second. As a consequence, H_{2}O is thought to be a major constituent of celestial bodies formed far enough from their host star for it to condense^{1}. Many moons of the outer solar system, such as Ganymede, Europa, and Enceledus, have rigid icy shells and interior water oceans, which are key for understanding the observed surface mass flux^{2} and the generation of magnetic fields^{3}. The ice giants, Uranus and Neptune, are thought to be composed primarily of H_{2}O^{4}: throughout most of their interior, the large pressure and temperature (e.g., 240 GPa and 5000 K at half the radius of Uranus) favor a super-ionic (SI) phase, where oxygen ions are arranged in a crystalline lattice and protons diffuse freely like in a fluid^{5,6}. Partially dissociated, liquid (PDL) water may instead be confined to the outermost third of the interior, where the magnetic field is generated^{7}. Outside the solar system, the observed characteristics of many exoplanets are also consistent with with water-rich interiors^{8}.

Our knowledge of the interior of planets other than Earth mostly relies on the observation of their magnetic fields and surface properties, which are affected by the inner structure through the transport of energy, mass, and charge across intermediate layers. In the case of Uranus, for instance, it has long been recognized that its remarkably small luminosity^{9} can be explained by nonadiabatic models of the interior^{4,10}, featuring thermal boundary layers whose transport properties are poorly known. Likewise, any model aiming to explain the anomalous multipolar and non-axisymmetry magnetic fields of Uranus and Neptune requires the knowledge of the electric conductivity of the various phases of water occurring in their interior^{11}. More generally, a detailed knowledge of the transport properties of different phases of H_{2}O occurring at high-pT conditions is key to any quantitative evolutionary model of water-rich celestial bodies. In spite of the steady progress in diamond-anvil-cell and shock-wave technologies, the experimental investigation of transport properties of materials at planetary conditions is still challenging. In the specific case of H_{2}O, the electrical conductivity is only known with large uncertainties along the Hugoniot curve on a limited portion of the pT diagram, and nothing is known about the heat conductivity^{6,12,13,14}.

Computer simulations may be our only handle on the properties of matter at physical conditions that cannot be achieved in the laboratory. In the case of water, they have allowed us to discover new phases^{5} and to predict their properties at extreme pT conditions^{6,15} over an ever broader portion of its phase diagram^{16}. The diverse local chemical environments that characterize the different relevant phases of water make classical force fields unfit for an accurate simulation of their properties, and call for a full quantum-mechanical, ab initio (AI), treatment of the chemical bond. Some transport properties of water at high-pT conditions, such as ionic (H and O) diffusivities and the electrical conductivity have indeed been estimated using AI molecular dynamics (AIMD) simulations^{17} and the Green-Kubo (GK) theory of linear response^{18,19,20,21}. However, it has long and widely been argued that quantum-mechanical simulation methods could not be combined with the GK theory, because the latter is based on a microscopic representation of the energy (current) density, which is evidently ill-defined at a quantum-mechanical level^{22}. The soundness of this objection, which would actually apply to a classical representation of the interatomic forces as well, was recently refuted for good by the introduction of a gauge invariance principle for transport coefficients^{23,24,25}. In a nutshell, gauge invariance means that transport coefficients do not depend on the details of the microscopic representation of the conserved quantity being transported, as long as this representation sums to the correct value in the thermodynamic limit and its space correlations are short ranged. This remarkable finding implies that any (good, in the above sense) local representation of the energy leads to the same heat conductivity, thus paving the way to a fully ab initio treatment of heat transport^{23}, which was recently generalized to multi-component systems^{26}.

In this work we leverage these recent theoretical advances to estimate the thermal conductivity and other transport coefficients of stoichiometric H_{2}O in the pT conditions to be found on ice-giant planets, like Uranus and Neptune, from equilibrium AIMD simulations, exploring its solid, PDL, and SI phases.

## Results

### Theory

Transport in macroscopic media is governed by the dynamics of hydrodynamic variables, i.e., by the long-wavelength components of the (current) densities of conserved extensive quantities^{25,27,28}. For short, we will dub such densities conserved densities, the corresponding currents conserved currents, while the macroscopic averages of the latter will be called conserved fluxes. The GK theory of linear response^{18,19,20,21} states that transport coefficients (i.e., conductivities) are integrals of the various flux time autocorrelation functions, which, according to the Wiener–Khintchine theorem^{29,30}, are the zero-frequency values of the corresponding power spectra. An important concept in the theory of transport is that of diffusive flux: we say that a flux is diffusive if its power spectrum does not vanish^{25,26} at zero frequency. Gauge invariance states that two different representations (“gauges”) of a same conserved density that differ by the divergence of a bounded vector field are equivalent in that they give rise to macroscopic fluxes whose difference is non-diffusive, thus resulting in the same conductivity^{23,24}.

When addressing heat transport, the relevant conserved quantities are the energy and the numbers of particles (or masses) of each atomic species. Since the total-mass flux itself (i.e., the total momentum) is a constant of motion, for a *P*-species system the number of independent conserved fluxes is equal to *P* (energy, plus *P* − 1 partial masses). Further constraints may reduce the number of relevant conserved fluxes. For instance, in solids, such as ordinary ice, atoms do not diffuse and there cannot be any macroscopic mass flow: energy flux is therefore the only relevant one. In molecular liquids, such as ordinary water, the partial mass fluxes of each atomic species are non-diffusive if the molecules do not dissociate. This is so because the integral of the difference between the individual total momenta of different atomic species is bound by the finite variation of the molecular bond lengths^{23,25}: also in this case, therefore, energy is the only relevant conserved quantity. On the contrary, the PDL and SI phases of water are truly multi-component systems, because the momentum of at least one atomic component is neither conserved nor is its integral bound by any molecular constraints.

Heat transport in multi-component systems has long been the subject of theoretical misconceptions and/or considered to be numerically intractable. For instance, the thermal conductivity is sometimes computed as the GK integral of the energy flux, **J**_{E}: \(\kappa \propto \mathop{\int}\nolimits_{0}^{\infty }\langle {{\bf{J}}}_{E}(t){{\bf{J}}}_{E}(0)\rangle dt\). This simplistic approach is manifestly wrong, as the resulting conductivity would depend on the arbitrary choice of the atomic formation energies. To see why this is so, let us consider the classical expression of the energy flux^{25,31}: \({{\bf{J}}}_{E}=\frac{1}{\Omega }\left[\mathop{\sum }\nolimits_{n = 1}^{N}{{\bf{V}}}_{n}{\epsilon }_{n}+{\sum }_{n,m}({{\bf{R}}}_{n}-{{\bf{R}}}_{m}){{\bf{F}}}_{nm}\cdot {{\bf{V}}}_{n}\right],\)where Ω is the system’s volume, **R**_{n}, **V**_{n}, and *ϵ*_{n} are the atomic positions, velocities, and energies, respectively, and **F**_{nm} = −∂*ϵ*_{m}/∂**R**_{n} are interatomic forces. The heat conductivity cannot evidently depend on the arbitrary zero of the atomic energies. For instance, in ab initio calculations these energies differ in a pseudo-potential or in an all-electron scheme, whereas transport coefficients should not. A better choice would be to compute the heat conductivity from the GK integral of the heat flux, defined as \({{\bf{J}}}_{q}={{\bf{J}}}_{E}-\frac{1}{\Omega }\mathop{\sum }\nolimits_{S = 1}^{P}{h}_{S}{N}_{S}{\overline{{\bf{V}}}}_{S}\), where \({\overline{{\bf{V}}}}_{S}\) is the center-of-mass velocity and *h*_{S} the partial enthalpy of the *S*-th atomic species^{32}. This approach has the advantage that **J**_{q} is no longer sensitive to a rigid shift in the atomic energies; it is still an approximation, though, as it neglects the coupling between energy and mass flow (Soret effect) in the calculation of *κ*. Even if, for several systems, it has been argued that the error in doing so is small^{32}, this argument cannot be taken for granted a priori for any generic system. Furthermore, the calculation of partial enthalpies is rather involved^{33,34,35}, and often the subject itself of crude approximations.

A rigorous methodology to deal with multi-component systems is provided by a combination of Onsager’s phenomenological approach^{36,37} and the GK theory of linear response^{18,19,20,21}. In this approach the interactions among different conserved fluxes are explicitly accounted for by Onsager’s phenomenological relations:

where *J* is a generic conserved flux, *f* a thermodynamic affinity, i.e., the average gradient of the intensive variable conjugate to a conserved quantity, Λ is the matrix of Onsager’s phenomenological coefficients, and the suffixes enumerate in principle both different conserved quantities and the Cartesian components of their fluxes/affinities. In practice, in the following we will dispose of Cartesian components, and only enumerate different conserved fluxes/affinities, given that we will only be concerned with isotropic or cubic systems. Within the GK theory, and the Λ coefficients are expressed as integrals of the time correlation functions of the relevant fluxes:

where \({{\mathcal{J}}}_{i}(t)\) is the time series of the *i*-th flux, *k*_{B} is the Boltzmann constant, and 〈 ⋅ 〉 indicates an equilibrium average. From now on, calligraphic fonts indicate samples of stochastic processes. The thermal conductivity is defined as the ratio between the energy flux and the temperature gradient, when all the other conserved fluxes vanish. In a two-component system this condition leads to the following expression for the heat conductivity:

where the *M* suffix indicates the mass flux of one of the two components. The expression in square brackets is the inverse of the *E**E* matrix element of the inverse of the 2 × 2 matrix of the Onsager coefficients. In the general, multivariate, case, the heat conductivity is proportional to the Schur complement of the mass block in Λ. In ref. ^{26} we have shown that this expression for the heat conductivity is invariant under the addition of an arbitrary linear combination of conserved fluxes (such as mass or adiabatic electronic charge) to the energy flux, and we named this further remarkable property of transport coefficients convective invariance.

Equation (3) shows that this procedure is numerically ill-conditioned, because the estimator of the integral in Eq. (2) becomes a random walk as a function of the upper limit of integration, as soon as the integrand has exhausted all its weight, thus making the expression in Eq. (3) singular whenever the estimator of the denominator vanishes^{38,39,40,41}. A solution to this problem is provided by multivariate cepstral analysis^{26}, briefly sketched below. According to the Wiener–Khintchine theorem^{29,30}, the Onsager coefficients in Eq. (2) are proportional to the zero-frequency values of the flux cross power spectral density, \({S}_{ij}(\omega )=\mathop{\int}\nolimits_{-\infty }^{\infty }\langle {{\mathcal{J}}}_{i}(t){{\mathcal{J}}}_{j}(0)\rangle {{\rm{e}}}^{i\omega t}dt\):

The continuity and smoothness of the power spectrum at low frequency can be leveraged to systematically reduce the noise affecting the estimator of its zero-frequency value, as explained below. According to the central-limit theorem, the flux processes, \({{\mathcal{J}}}_{i}(t)\), are Gaussian because they are the space integrals of current densities, whose correlations are short ranged. Stationarity implies that their Fourier transforms, Eq. (7), are normal deviates that for large *τ* are uncorrelated for \(\omega \;\ne \;\omega ^{\prime}\). It follows that the sample spectrum of Eq. (6), aka the cross-periodogram, is a collection of complex Wishart random matrices^{42} that are uncorrelated among themselves for different frequencies. Now, the Schur complement of a block of dimension *P* − 1 in a Wishart matrix of order *P* is proportional to a *χ*^{2} stochastic variable^{26,42}. We conclude that the Schur complement of the mass block, \({{\mathcal{S}}}_{E}^{\prime}\), in the cross-periodogram given by Eq. (6), is the product of a smooth function of frequency, whose *ω* → 0 limit is the thermal conductivity we are after, times a set of independent, identically distributed, *χ*^{2} stochastic variables. By applying a low-pass filter to the logarithm of this quantity, one obtains a consistent estimator of the logarithm of the conductivity, as explained in ref. ^{26}, a procedure that is known as cepstral analysis in sound engineering and speech recognition applications^{43}.

### Simulations

The heat and charge transport properties of different (solid, PDL, and SI) phases of water in the 1000–3000 K and 30–250 GPa pT range have been explored by Car-Parrinello (CP) ab initio NVE molecular dynamics^{44}, using the QUANTUM ESPRESSO suite of computer codes^{45,46}. We believe that the CP Lagrangian formalism is particularly fit for transport simulations because the accurate conservation of the (extended) total energy allows one to generate long and stable trajectories without using thermostats. Figure 1 shows the phase diagram of water in such pT range. The SI-PDL (dashed) and ice-SI (dotted) phase boundaries are obtained from state-of-the-art shock-compression experiments^{6}; Uranus’ isentrope (solid gray) from ab initio simulations^{47} is also reported. We have verified that a body-centered-cubic (BCC) to face-centered-cubic (FCC) transition in the oxygen lattice occurs for the SI phase at *P* ≈ 240 GPa and *T* ≈ 3000 K, in accordance with recent theoretical^{16} and experimental findings^{48}. We then ran three simulations for the BCC-SI phase (blue circles) and one for the FCC-SI one (blue square). We also ran a simulation for solid ice X (green triangle) and a simulation for the PDL (orange triangle) at pT conditions where the fraction of dissociated molecules is ~10%^{49}. We have explicitly checked that the electron energy gap computed along the various MD trajectories is always way larger than *k*_{B}*T*, thus ruling out any direct electronic contributions to heat and charge transport. All the technical details of the simulations are reported in the Supplementary Note 1. Our results are summarized in Table 1.

## Discussion

We start the discussion of our results by highlighting the importance of a multi-component analysis of the heat- and mass-flux time series resulting from our simulations. In Fig. 2 we display the power spectrum of the energy flux of FCC-SI water at an average temperature *T* = 2920 ± 90 K and pressure *P* = 257 ± 2 GPa, evaluated according to two different prescriptions: blue lines refer to the plain spectrum of the energy flux computed within density-functional theory using the formulation of ref. ^{23}; orange lines indicate the “residual spectrum” computed by assuming that the mass flux vanishes, according to Eq. (3). The sample power spectra (the “periodograms”) are displayed with faint lines, whereas those subject to cepstral filtering are displayed with thick lines; the latter are zoomed-in at low frequency and displayed in the inset, together with their statistical uncertainties. By looking at the zero-frequency value of the spectrum, cepstral analysis gives *κ* = 20 ± 2 W/(Km), and *κ* = 13 ± 2 W/(Km) neglecting and accounting for the interaction with the H mass flux, respectively. In effectively one-component systems, statistical analysis can be greatly facilitated by fixing a suitably defined optimal gauge for the diffusing current^{50}. Since SI is a truly bicomponent system, a bivariate analysis is indeed needed to account for the interaction between different conserved fluxes and for a correct estimate of *κ*: considering the time series of the energy flux alone—as if the system were one-component—would overestimate the heat conductivity by 80%.

Convective invariance can also be leveraged to reduce the statistical noise, and thus the uncertainty, on the estimated value of *κ*, as explained in ref. ^{26}. The addition of one or more components to the set of conserved fluxes to be analyzed decreases the total power of the reduced spectrum without affecting its value at zero frequency, thus making it smoother and the low-pass cepstral filter more efficacious. By adopting the adiabatic electron current as an additional flux, one obtains the refined result: *κ* = 12.8 ± 1.0 W/(Km). Further details on the statistical analysis of our data can be found in the Supplementary Information.

Multi-component cepstral analysis, which has been performed using the thermocepstrum code^{51}, allows us to obtain accurate transport coefficients from relatively short AIMD trajectories, particularly for the strongly anharmonic exotic phases of water occurring at the high-pT conditions of interest here. Figure 3 shows the values and the statistical uncertainties of the heat conductivity of different phases of water as a function of the length of the (reduced) energy-flux time series from which they are estimated. These data show that well-converged results with an uncertainty of ≈15% are obtained with trajectories as short as 10–20 ps. Not surprisingly, the more crystalline a phase is, the larger the uncertainty for a same trajectory length (ice X > SI > PDL), due to the larger residual harmonicity of the structure. We stress that cepstral analysis is a self-averaging technique, in that the statistical error affecting the estimated conductivities can be accurately estimated and systematically reduced by increasing the length of the simulation, thus avoiding the need to average over different MD trajectories. Nonetheless, isotropy allows one to consider the three Cartesian components of the fluxes as different samples of a same process: the spectra have been thus averaged over Cartesian components.

Our results are summarized in Table 1. In the pT conditions examined here, the thermal conductivity of solid ice X is larger than that of the SI phase, which is itself larger than in PDL water. This is expected, again due to the decreasing level of harmonicity in going from a crystalline to a partially liquid and eventually fully liquid phase. We did not observe a significant dependence of *κ* upon the temperature for the SI phase in the explored range. The FCC-SI water has slightly larger heat conductivity than BCC-SI.

Pioneering AIMD simulations of charge transport in PDL water^{17} revealed that, rather unexpectedly, a classical model of charge conduction where hydrogen and oxygen ions carry an integer charge whose magnitudes equal their formal oxidation numbers (*q*_{H} = +1 and *q*_{O} = −2) yields the same conductivity that would be obtained from the exact quantum-mechanical expression of the electric current, based on Born’s effective charges. This surprising finding was given a solid theoretical foundation in a recent paper of ours where it was shown to result from the combined effects of gauge invariance of transport coefficients and topological quantization of adiabatic charge transport^{52}. Leveraging this result, we computed the electrical conductivity from the cepstral analysis of the classical charge flux, defined as:

where the \({\mathcal{V}}\)’s are ionic velocities.

The electrical conductivities resulting from our simulations are reported in Table 1. The data tagged with the “*NE*” subscript are obtained using the Nernst–Einstein equation^{53}, which neglects all interionic correlations and that in the one-component case reads:

where *N*_{H} and *D*_{H} are the number of hydrogen atoms and their diffusivity, respectively. In the case of PDL, Eq. (9) hardly applies, as it would depend on too large a number of parameters (the concentrations, life-times, and diffusivities of the various ionic charge carriers). Our results are consistent with previous theoretical estimates^{16,17}, as well as with the experimental data obtained from electrical impedance measurements along the liquid or precompressed Hugoniot^{12,13,14}, summarized in Fig. 4 of ref. ^{6}: *σ* ~ 150 S/cm for the SI phase in the range 100–150 GPa and 2000–3000 K; and *σ* ~ 30 S/cm for the PDL phase at ≈30 GPa and 2000 K. Two important trends emerge from our results. First, the NE relation severely underestimates the conductivity in SI water, as already observed in other SI systems^{53}. At variance with these findings, when charge carriers of opposite signs coexist in an electrolyte, the short-range correlations among them may screen the amount of transported charge, thus determining a decrease of the electric conductivity with respect to the predictions of the NE approximation^{54}. In the second place, the electrical conductivity in the FCC-SI phase is sensitively larger than in the BCC one, in contrast to the opposite trend displayed by hydrogen diffusivity, which are instead slightly smaller in the FCC phase, thus resulting in comparable predictions for the two phases of the NE approximation (*σ*_{NE}). The lesser ability of the NE approximation to predict the conductivity in the FCC than in the BCC phase indicates a stronger effect of interionic correlations in the former case: the higher energy barriers for a single proton hop in FCC—due to its larger packing density^{55}, and resulting in a slightly smaller ionic diffusivity—may be effectively decreased by a cooperative motion of two or more protons (as already observed for the carrier dynamics in solid-state electrolytes^{56}), and thus lead to an overall larger electrical conductivity.

In this paper we have reported on the first theoretically rigorous and numerically accurate evaluation of the thermal and electric conductivities of various phases of water occurring at the pressure and temperature conditions to be found in the interior of ice-giant planets, made possible by recent advances in transport theory and data analysis. In the case of the heat conductivity, our results set a reference in the wide range of values used in evolution models of Uranus and Neptune^{57} or given by recent MD-based estimates on dissociating water^{58}, and their moderate values point towards more efficient trapping of heat in the deep interior of these planets. These results have been instrumental in the development of a novel model of the thermal evolution of Uranus, featuring a frozen core and an anomalously low heat flow, resulting in the observed low luminosity of this planet^{59}. Finally, the electrical conductivity that we find for SI ice is far larger than assumed in previous models of the generation of the magnetic fields in Uranus and Neptune^{60}. Since SI ice is likely to dominate the deeper sluggish layer that underlies the shallow fluid outer layer in which the magnetic field is produced, the large electrical conductivity of the SI phase can have a substantial impact on the geometry and time evolution of the magnetic field of these planets.

## Data availability

The data that support the plots and relevant results within this paper are available on the Materials Cloud Platform at https://doi.org/10.24435/materialscloud:hn-6f.

## Code availability

Computer codes are available and freely downloadable from the QUANTUM ESPRESSO site and the Thermocepstrum GitHub page referenced below.

## References

- 1.
Lodders, K. Solar system abundances and condensation temperatures of the elements.

*Astrophys. J.***591**, 1220 (2003). - 2.
Nimmo, F., Spencer, J. R., Pappalardo, R. T. & Mullen, M. E. Shear heating as the origin of the plumes and heat flux on Enceladus.

*Nature***447**, 289–291 (2007). - 3.
Kivelson, M. G. et al. Discovery of Ganymede’s magnetic field by the Galileo spacecraft.

*Nature***384**, 537–541 (1996). - 4.
Nettelmann, N., Helled, R., Fortney, J. J. & Redmer, R. New indication for a dichotomy in the interior structure of uranus and neptune from the application of modified shape and rotation data.

*Planet. Space Sci.***77**, 143–151 (2013). - 5.
Cavazzoni, C. et al. Superionic and metallic states of water and ammonia at giant planet conditions.

*Science***283**, 44–46 (1999). - 6.
Millot, M. et al. Experimental evidence for superionic water ice using shock compression.

*Nat. Phys.***14**, 297–302 (2018). - 7.
Stanley, S. & Bloxham, J. Convective-region geometry as the cause of Uranus’ and Neptune’s unusual magnetic fields.

*Nature***428**, 151–153 (2004). - 8.
Zeng, L. et al. Growth model interpretation of planet size distribution.

*Proc. Natl Acad. Sci. USA***116**, 9723–9728 (2019). - 9.
Fortney, J. J. & Nettelmann, N. The interior structure, composition, and evolution of giant planets.

*Space Sci. Rev.***152**, 423–447 (2010). - 10.
Hubbard, W. B., Podolak, M. & Stevenson, D. J. in

*Neptune and Triton*(ed Cruikshank, D. P.) 109–138 (University of Arizona Press, 1995). - 11.
Helled, R., Nettelmann, N. & Guillot, T. Uranus and Neptune: origin, evolution and internal structure.

*Space Sci. Rev*. 10.1007/s11214-020-00660-3 (2020). - 12.
Mitchell, A. C. & Nellis, W. J. Equation of state and electrical conductivity of water and ammonia shocked to the 100 GPa (1 Mbar) pressure range.

*J. Chem. Phys.***76**, 6273–6281 (1982). - 13.
Yakushev, V. V., Postnov, V. I., Fortov, V. E. & Yakysheva, T. I. Electrical conductivity of water during quasi-isentropic compression to 130 GPa.

*J. Exp. Theor. Phys*.**90**, 617–622 (2000). - 14.
Chau, R., Mitchell, A. C., Minich, R. W. & Nellis, W. J. Electrical conductivity of water compressed dynamically to pressures of 70–180 GPa (0.7–1.8 Mbar).

*J. Chem. Phys*.**114**, 1361–1365 (2001). - 15.
Rozsa, V., Pan, D., Giberti, F. & Galli, G. Ab initio spectroscopy and ionic conductivity of water under earth mantle conditions.

*Proc. Natl Acad. Sci. USA***115**, 6952–6957 (2018). - 16.
Sun, J., Clark, B. K., Torquato, S. & Car, R. The phase diagram of high-pressure superionic ice.

*Nat. Commun.***6**, 8156 (2015). - 17.
French, M., Hamel, S. & Redmer, R. Dynamical screening and ionic conductivity in water from ab initio simulations.

*Phys. Rev. Lett.***107**, 185901 (2011). - 18.
Green, M. S. Markoff random processes and the statistical mechanics of time-dependent phenomena.

*J. Chem. Phys.***20**, 1281–1295 (1952). - 19.
Green, M. S. Markoff random processes and the statistical mechanics of time-dependent phenomena. ii. irreversible processes in fluids.

*J. Chem. Phys.***22**, 398–413 (1954). - 20.
Kubo, R., Yokota, M. & Nakajima, S. Statistical-mechanical theory of irreversible processes. ii. response to thermal disturbance.

*J. Phys. Soc. Jpn.***12**, 1203–1211 (1957). - 21.
Kubo, R. Statistical-mechanical theory of irreversible processes. i. General theory and simple applications to magnetic and conduction problems.

*J. Phys. Soc. Jpn.***12**, 570–586 (1957). - 22.
Stackhouse, S., Stixrude, L. & Karki, B. B. Thermal conductivity of periclase (MgO) from first principles.

*Phys. Rev. Lett.***104**, 208501 (2010). - 23.
Marcolongo, A., Umari, P. & Baroni, S. Microscopic theory and ab initio simulation of atomic heat transport.

*Nat. Phys.***12**, 80–84 (2016). - 24.
Ercole, L., Marcolongo, A., Umari, P. & Baroni, S. Gauge invariance of thermal transport coefficients.

*J. Low. Temp. Phys.***185**, 79–86 (2016). - 25.
Baroni, S., Bertossa, R., Ercole, L., Grasselli, F. & Marcolongo, A. in

*Handbook of Materials Modeling: Applications: Current and Emerging Materials*2nd edn. (eds. Andreoni, W. & Yip, S.) 1–36 (Springer International Publishing, Cham, 2018). - 26.
Bertossa, R., Grasselli, F., Ercole, L. & Baroni, S. Theory and numerical simulation of heat transport in multicomponent systems.

*Phys. Rev. Lett.***122**, 255901 (2019). - 27.
Kadanoff, L. P. & Martin, P. C. Hydrodynamic equations and correlation functions.

*Ann. Phys.***24**, 419–469 (1963). - 28.
Foster, D.

*Hydrodynamic Fluctuations, Broken Symmetry, and Correlation Functions*(Benjamin, 1975). - 29.
Wiener, N. Generalized harmonic analysis.

*Acta Math.***55**, 117–258 (1930). - 30.
Khintchine, A. Korrelationstheorie der stationären stochastischen Prozesse.

*Math. Ann.***109**, 604–615 (1934). - 31.
Irving, J. H. & Kirkwood, J. G. The statistical mechanical theory of transport processes. IV. The equations of hydrodynamics.

*J. Chem. Phys.***18**, 817 (1950). - 32.
De Groot, S. R. & Mazur, P.

*Non-Equilibrium Thermodynamics*(Dover Publications, 1984). - 33.
Debenedetti, P. G. Fluctuation-based computer calculation of partial molar properties. I. Molecular dynamics simulation of constant volume fluctuations.

*J. Chem. Phys.***86**, 7126 (1987). - 34.
Vogelsang, R. & Hoheisel, C. Thermal conductivity of a binary-liquid mixture studied by molecular dynamics with use of Lennard- Jones potentials.

*Phys. Rev. A.***35**, 3487–3491 (1987). - 35.
Sindzingre, P., Massobrio, C. & Ciccotti, G. Calculation of partial enthalpies of an Argon-Kripton mixture by NPT molecular dynamics.

*Chem. Phys.***129**, 213–224 (1989). - 36.
Onsager, L. Reciprocal relations in irreversible processes. i.

*Phys. Rev.***37**, 405–426 (1931). - 37.
Onsager, L. Reciprocal relations in irreversible processes. ii.

*Phys. Rev.***38**, 2265 (1931). - 38.
Galamba, N., Nieto de Castro, C. A. & Ely, J. F. Equilibrium and nonequilibrium molecular dynamics simulations of the thermal conductivity of molten alkali halides.

*J. Chem. Phys.***126**, 204511 (2007). - 39.
Ohtori, N., Salanne, M. & Madden, P. A. Calculations of the thermal conductivities of ionic materials by simulation with polarizable interaction potentials.

*J. Chem. Phys.***130**, 104507 (2009). - 40.
Salanne, M., Marrocchelli, D., Merlet, C., Ohtori, N. & Madden, P. A. Thermal conductivity of ionic systems from equilibrium molecular dynamics.

*J. Phys. Condens. Matter***23**, 102101 (2011). - 41.
Bonella, S., Ferrario, M. & Ciccotti, G. Thermal diffusion in binary mixtures: transient behavior and transport coefficients from equilibrium and nonequilibrium molecular dynamics.

*Langmuir***33**, 11281–11290 (2017). - 42.
Nagar, D. K. & Gupta, A. K. Expectations of functions of complex wishart matrix.

*Acta Appl. Math.***113**, 265–288 (2011). - 43.
Childers, D. G., Skinner, D. P. & Kemerait, R. C. The cepstrum: a guide to processing.

*Proc. IEEE***65**, 1428–1443 (1977). - 44.
Car, R. & Parrinello, M. Unified approach for molecular dynamics and density-functional theory.

*Phys. Rev. Lett.***55**, 2471–2474 (1985). - 45.
Giannozzi, P. et al. QUANTUM ESPRESSO: a modular and open-source software project for quantum simulations of materials.

*J. Phys. Condens. Matter***21**, 395502 (19pp) (2009). - 46.
Giannozzi, P. et al. Advanced capabilities for materials modelling with QUANTUM ESPRESSO.

*J. Phys. Condens. Matter***29**, 465901 (2017). - 47.
Redmer, R., Mattsson, T. R., Nettelmann, N. & French, M. The phase diagram of water and the magnetic fields of uranus and neptune.

*Icarus***211**, 798–803 (2011). - 48.
Millot, M. et al. Nanosecond x-ray diffraction of shock-compressed superionic water ice.

*Nature***569**, 251–255 (2019). - 49.
French, M., Mattsson, T. R. & Redmer, R. Diffusion and electrical conductivity in water at ultrahigh pressures.

*Phys. Rev. B***82**, 174108 (2010). - 50.
Marcolongo, A., Ercole, L. & Baroni, S. Gauge fixing for heat-transport simulations.

*J. Chem. Theory Comput.***16**, 3352-3362 (2020). - 51.
Ercole, L., Bertossa, R., & Bisacchi, S. ThermoCepstrum: a code to estimate transport coefficients from the cepstral analysis of a multi-variate current stationary time series (2017–2020).

- 52.
Grasselli, F. & Baroni, S. Topological quantisation and gauge-invariance of charge transport in liquid insulators.

*Nat. Phys.***15**, 967–972 (2019). - 53.
Marcolongo, A. & Marzari, N. Ionic correlations and failure of nernst-einstein relation in solid-state electrolytes.

*Phys. Rev. Mater.***1**, 025402 (2017). - 54.
France-Lanord, A. & Grossman, J. C. Correlations from Ion Pairing and the Nernst-Einstein Equation.

*Phys. Rev. Lett.***122**, 1–6 (2019). - 55.
Wilson, H. F., Wong, M. L. & Militzer, B. Superionic to superionic phase change in water: Consequences for the interiors of uranus and neptune.

*Phys. Rev. Lett.***110**, 151102 (2013). - 56.
He, X., Zhu, Y. & Mo, Y. Origin of fast ion diffusion in super-ionic conductors.

*Nat. Commun.***8**, 1–7 (2017). - 57.
Podolak, M., Helled, R. & Schubert, G. Effect of non-adiabatic thermal profiles on the inferred compositions of uranus and neptune.

*Monthly Not. R. Astronomical Soc.***487**, 2653–2664 (2019). - 58.
French, M. Thermal conductivity of dissociating water-an ab initio study.

*N. J. Phys.***21**, 023007 (2019). - 59.
Stixrude, L., Baroni, S. & Grasselli, F. Thermal evolution of Uranus with a frozen interior.

*arxiv*http://arxiv.org/abs/2004.01756 arXiv:2004.01756 (2020). - 60.
Stanley, S. & Bloxham, J. Numerical dynamo models of Uranus’ and Neptune’s magnetic fields.

*Icarus***184**, 556–572 (2006).

## Acknowledgements

This work was partially funded by the EU through the MAX Centre of Excellence for supercomputing applications (Project No. 824143), and by the US National Science Foundation under grant EAR-1853388. We are grateful to Riccardo Bertossa and Davide Tisi for valuable discussions and assistance.

## Author information

### Affiliations

### Contributions

F.G., L.S., and S.B. contributed to conceive this research, perform the simulations, analyze the results, and write the manuscript.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare no competing interests.

## Additional information

**Peer review information** *Nature Communications* thanks Giulia Galli, Flavio Toigo and the other, anonymous, reviewer for their contribution to the peer review of this work.

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

## Supplementary information

## Rights and permissions

**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/.

## About this article

### Cite this article

Grasselli, F., Stixrude, L. & Baroni, S. Heat and charge transport in H_{2}O at ice-giant conditions from ab initio molecular dynamics simulations.
*Nat Commun* **11, **3605 (2020). https://doi.org/10.1038/s41467-020-17275-5

Received:

Accepted:

Published:

## 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.