openmaterials.ai / codes / pymatgen-analysis-diffusion

pymatgen-analysis-diffusion: diffusion analysis of ionic conductor trajectories

A pymatgen add-on for MD of ionic conductors: probability densities and van Hove functions, beside the MSD, Arrhenius and Nernst-Einstein analysis in pymatgen.

What it is and how it works

From trajectory to conductivity

D = <[dr(t)]^2> / (2dt) from the mean squared displacement, an Arrhenius plot across temperatures, then sigma = rho z^2 F^2 D / (RT) at 300 K. Li-excess Li6.25PS5.25Cl0.75 gave 14 mS/cm and 211 meV (Deng 2016).

Diffusivity and Arrhenius fit

A linear fit of the MSD against 2dt gives D at each temperature. log D against 1/T gives the activation energy Ea and the extrapolated D at 300 K (Deng 2016).

Conductivity

The Nernst-Einstein relation converts D300K to sigma300K with the molar density of mobile ions and their charge, z = +1, at T = 300 K (Deng 2016).

Probability density

P(r) on a 3D grid counts alkali ions per grid point over the run, normalized over the cell. Isosurfaces show the low-energy sites and the paths between them (Deng 2016).

van Hove correlation

The self part Gs(r,t) tracks how far an ion moves in time t. The distinct part Gd(r,t) shows when a vacated site is refilled, a sign of correlated motion (Deng 2016).

Automated AIMD

A FireWorks workflow relaxes, builds the supercell, runs NVT AIMD at several temperatures under a WallTimeHandler and stores snapshots in MongoDB (Deng 2016).

What people do with it

  • 14 mS/cmpredicted sigma at 300 K, Li6.25PS5.25Cl0.75Deng 2016
  • 524 meVEa, stoichiometric Li6PS5Cl (211 with Li excess)Deng 2016
  • 0.94 mS/cmNa10SnP2S12 at 300 K, measured 0.4 mS/cmRichards 2016

Na+ interstitials and dopants in c-Na3PS4

AIMD at 800 to 1400 K analyzed with pymatgen: pristine c-Na3PS4 gives 1.1e-4 mS/cm and 537 meV, one Na+ interstitial 1.06 mS/cm and 256 meV, 6.25% Sn doping 10.7 mS/cm and 171 meV. Zhu 2015

Design and synthesis of Na10SnP2S12

AIMD between 600 and 1300 K, with diffusivities fitted by pymatgen tools, predicted 0.94 mS/cm and 317 meV at room temperature. The synthesized compound measured 0.4 mS/cm and 356 meV. Richards 2016

How it is used

  1. Order the structure

    Enumerate orderings of the disordered cell with enumlib via pymatgen, relax the lowest.

  2. Run AIMD

    NVT Nose-Hoover runs at several temperatures, 2 fs steps, cells of at least 10 A.

  3. Fit diffusivity

    Fit the MSD against 2dt per temperature, then an Arrhenius plot for Ea and D at 300 K.

  4. Convert and inspect

    Nernst-Einstein conductivity, probability density isosurfaces, van Hove functions.