arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1405.1221physics.comp-ph
收藏

KMCLib:格子动力学蒙特卡罗(KMC)模拟的通用框架

KMCLib: A general framework for lattice kinetic Monte Carlo (KMC) simulations

Mikael Leetmaa, Natalia V. Skorodumova

摘要:

KMCLib是晶格动力学蒙特卡罗(KMC)模拟的通用框架。该程序可以处理一个,两个或三个维度的数百万个粒子的扩散和反应的模拟,并且被设计为易于扩展和自定义的用户,以允许为特定系统开发复杂的自定义KMC模型,而无需修改程序的核心功能。分析模块和即时基本步骤扩散速率计算可以作为遵循明确定义的API的插件来实现。插件模块通过Python脚本语言与核心KMCLib程序松散耦合。KMCLib是一个Python模块,带有后端C++库。在初始编译后端库之后,KMCLib被用作Python模块;程序的输入是使用标准Python解释器执行的Python脚本。我们给出了详细的描述的功能和实现的代码,并证明其缩放行为和并行性能与一个简单的一维A-B-C晶格KMC模型和一个更复杂的三维晶格KMC模型的氧空位扩散的萤石结构的金属氧化物。KMCLib可以跟踪单个粒子的运动,并包括均方位移分析工具,因此特别适合研究表面和固体中的扩散过程。

英文摘要:

KMCLib is a general framework for lattice kinetic Monte Carlo (KMC) simulations. The program can handle simulations of the diffusion and reaction of millions of particles in one, two, or three dimensions, and is designed to be easily extended and customized by the user to allow for the development of complex custom KMC models for specific systems without having to modify the core functionality of the program. Analysis modules and on-the-fly elementary step diffusion rate calculations can be implemented as plugins following a well-defined API. The plugin modules are loosely coupled to the core KMCLib program via the Python scripting language. KMCLib is written as a Python module with a backend C++ library. After initial compilation of the backend library KMCLib is used as a Python module; input to the program is given as a Python script executed using a standard Python interpreter. We give a detailed description of the features and implementation of the code and demonstrate its scaling behavior and parallel performance with a simple one-dimensional A-B-C lattice KMC model and a more complex three-dimensional lattice KMC model of oxygen-vacancy diffusion in a fluorite structured metal oxide. KMCLib can keep track of individual particle movements and includes tools for mean square displacement analysis, and is therefore particularly well suited for studying diffusion processes at surfaces and in solids.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑