kMCpy DocumentationΒΆ
kMCpy is an open-source Python package for studying atomic migration in crystalline materials with kinetic Monte Carlo. It provides a Python workflow for preparing site occupations and event libraries, assigning event barriers, running rejection-free kMC, and extracting transport properties.
Version 0.3.0 focuses on clearer scientific workflows:
Configurationstores immutable setup and runtime controls.Stateowns mutable occupations during a simulation.LocalBarrierModelsupports constant, rule-based, and exact local environment barriers.LocalClusterExpansionsupports multicomponent Chebyshev basis functions.SiteEnergyModelcan connect mapped external site-energy evaluators without rebuilding occupations at every kMC step.ActiveSiteOrderandLocalSiteOrderrecord the global and local site sequences used by fitted models and external adapters.
Where to start:
Install kMCpy using Installation.
Run one small simulation with Quickstart.
Read Theory for the kMC equations and transport definitions.
Learn the full workflow in Workflow Overview.
Use Advanced Overview for advanced customization.
Use Reference Overview when you need exact API documentation.
The methodology has been used to study Na-ion transport in NASICON solid electrolytes. See About for citation information.
Start Here
Theory
Tutorial
Advanced
Reference
Project