计算化学公社

 找回密码 Forget password
 注册 Register
Views: 390|回复 Reply: 1
打印 Print 上一主题 Last thread 下一主题 Next thread

[Lammps] 对于带有pcff力场参数的data文件应该如何使用ReaxFF力场进行剪切模拟?

[复制链接 Copy URL]

4

帖子

0

威望

59

eV
积分
63

Level 2 能力者

跳转到指定楼层 Go to specific reply
楼主
老师们好,我在使用ReaxFF力场文件的时候,data文件中的pcff力场参数应该怎么修改才不会出现这种报错?
D:Lammps\CFRP-X>lmp -in in.CFRPY
LAMMPS (2 Aug 2023 - Update 3)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
  using 1 OpenMP thread(s) per MPI task
Loaded 1 plugins from D:\Users\C\AppData\Local\LAMMPS 64-bit 2Aug2023-MSMPI\plugins
Reading data file ...
  orthogonal box = (0 0 0) to (31.0997 31.0997 56.507)
  1 by 1 by 1 MPI processor grid
ERROR: Must define pair_style before Pair Coeffs (src/read_data.cpp:697)
Last command: read_data               CFRP.data


我尝试过将data文件中的关于力场参数全部删除,但是会出现很多警告
WARNING: Bonds are defined but no bond style is set (src/force.cpp:193)
WARNING: Likewise 1-2 special neighbor interactions != 1.0 (src/force.cpp:195)
WARNING: Angles are defined but no angle style is set (src/force.cpp:198)

data文件和log文件在附件中,感谢老师们回答

CFRP.data

2.44 MB, 下载次数 Times of downloads: 6

log.lammps

723 Bytes, 下载次数 Times of downloads: 4

28

帖子

0

威望

190

eV
积分
218

Level 3 能力者

2#
发表于 Post on 2025-5-21 19:35:27 | 只看该作者 Only view this author
只保留坐标,原子类型,原子质量,盒子大小信息,其他全部删掉

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2025-8-14 15:31 , Processed in 0.727887 second(s), 29 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list