大家好,我是小马老师。
本文介绍如何使用lammps计算径向分布函数g®。
径向分布函数(Radial distribution function)是指给定某个粒子的坐标,其他粒子在空间的分布几率。
在lammps中对应的命令为:compute rdf。
语法格式为:
compute ID group-ID rdf Nbin itype1 jtype1 itype2 jtype2 ... keyword/value ...
其中,Nbin为分片数量,一般选择数值为100-500之间。
itype1表示中心原子,jtype1为分布原子。
itype1和jtype1应该成对设置,表示计算第i种原子周围出现第j种原子的概率。
如果不设置i