mat-md-probability-density
Installation
SKILL.md
MD Probability Density Visualization
Goal
To visualize the spatial probability density of mobile ions (e.g., Li, Na) from an MD simulation trajectory. This helps in understanding conduction pathways and identifying preferred occupation sites within the crystal structure. The output is a volumetric data object in CHGCAR format, which can be easily visualized using VESTA.
Instructions
- MD Simulation: Run an MD simulation at an appropriate temperature to observe sufficient diffusion events.
Note: Short MD trajectories (e.g., ≤10 ps) often have too few discrete ion hops to naturally form continuous probability density tubes. The resulting density will look like isolated blobs exactly at the crystal lattice sites. To visualize continuous macroscopic diffusion pathways for short trajectories, use the
--logcompression flag to mathematically connect the sparse pathways.- The trajectory is typically saved to
trajectory.traj. - Ensure
supercell_min_lengthis reasonably large (>10 Å) to avoid finite-size artifacts in the density mapping. - Allow the simulation to run long enough so that the ions sample the entire available volume (e.g., 50-100 ps or more).
- The trajectory is typically saved to