计算化学公社

标题: Lammps报错Error running LAMMPS: ERROR: Pair style buck/coul/long requires ato... [打印本页]

作者
Author:
爱水泥    时间: 2025-1-5 10:29
标题: Lammps报错Error running LAMMPS: ERROR: Pair style buck/coul/long requires ato...
Error running LAMMPS: ERROR: Pair style buck/coul/long requires atom attribute q (src/KSPACE/pair buck coul Jong.cpp:356)
请问各位大佬,这种报错可以怎么解决?谢谢大家的解答!


作者
Author:
BangbooCat    时间: 2025-1-5 22:30
就是字面意思,data文件里原子没有定义电荷信息
作者
Author:
爱水泥    时间: 2025-1-6 11:15
BangbooCat 发表于 2025-1-5 22:30
就是字面意思,data文件里原子没有定义电荷信息

感谢前辈的解答,我这个data文件是在MS建立的,这个里面电荷信息是显示no,建立的模型的过程有问题吗?
作者
Author:
shi891018    时间: 2025-1-7 10:32
atom_style设成带电的,例如full




欢迎光临 计算化学公社 (http://ccc.keinsci.com/) Powered by Discuz! X3.3