一般在Lammps安装包文件夹的:/software/lammps-23Jun2022/tools/msi2lmp/frc_files
通过MS保存为car文件,执行命令:./msi2lmp.exe SWNT-3 -frc cvff -i > SWNT-3.data
生成的data文件中报错:
Get force field parameters for this system
Unable to find angle data for c cp c
Unable to find angle data for c cp co
Unable to find angle data for cp co o
Unable to find oop data for c c c c
Unable to find oop data for c c c cp
Unable to find oop data for cp co o o
是无法获得力场参数,但是如果只为了获得键连参数的话没有问题。
如果要获得参数,可以阅读文献找到力场参数。
Angle Coeffs # harmonic
1 46.6000 110.5000 # c-c-c
2 46.6000 110.5000 # c-c-cp
3 0.0000 0.0000 # c-cp-c
4 0.0000 0.0000 # c-cp-co
5 0.0000 0.0000 # cp-co-o
6 70.0000 109.5000 # o-co-o
Dihedral Coeffs # harmonic
1 0.3556 1 3 # c-c-c-c
2 0.3556 1 3 # c-c-c-cp
3 0.0000 1 2 # c-c-cp-c
4 0.0000 1 2 # c-c-cp-co
5 0.0000 1 2 # c-cp-co-o
Improper Coeffs # cvff
1 0.0000 0 0 # c-c-c-c
2 0.0000 0 0 # c-c-c-cp
3 0.0000 0 0 # cp-co-o-o
把参数为0的改成力场参数。