计算化学公社

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

[Lammps] 求助:Fix bond/react运行时总是提示 特殊键溢出

[复制链接 Copy URL]

13

帖子

0

威望

181

eV
积分
194

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
这是我的原始脚本:

units real


boundary p p p


atom_style full


kspace_style pppm 1.0e-4


pair_style lj/class2/coul/long 10


angle_style class2


bond_style class2


dihedral_style class2


improper_style class2


special_bonds lj/coul 0 0 0.5
pair_modify tail yes mix sixthpower


read_data two_BMI_molecules.data


velocity all create 300.0 4928459 dist gaussian


molecule mol1 rxn1_stp1_pre.molecule_template
molecule mol2 rxn1_stp1_post.molecule_template
molecule mol3 rxn1_stp2_post.molecule_template


thermo 50


dump 1 all xyz 1 test_vis.xyz


fix rxns all bond/react stabilization yes statted_grp .03 &
  react rxn1_stp1 all 1 2 5 mol1 mol2 rxn1_stp1.map &
  react rxn1_stp2 all 1 2 5 mol2 mol3 rxn1_stp2.map &


fix 1 statted_grp_REACT nvt temp 300 300 100


thermo_style custom step temp f_rxns[1]


run 2000


write_restart restart_longrun
write_data restart_longrun.data nofix

这个in文件是我根据Lammps包里面的example改写的,当我运行时总是提示我
ERROR: Molecule auto special bond generationoverflow (src/molecule.cpp:1556)
Last command: molecule mol2 rxn1_stp1_post.molecule_template

请教各位大佬,问题出在data文件,还是出在in文件的special_bonds部分


1

帖子

0

威望

7

eV
积分
8

Level 1 能力者

2#
发表于 Post on 2025-3-19 18:46:04 | 只看该作者 Only view this author
请问问题解决了吗

395

帖子

8

威望

3917

eV
积分
4472

Level 6 (一方通行)

石墨

3#
发表于 Post on 2025-3-31 17:56:51 | 只看该作者 Only view this author

bond/create改变原本连接性,会增加拓扑中special的数量。read_data增大extra/speical/per/atom这个预留空间就行。这个数本身不会影响计算结果,只是预留内存空间。其余extra/angles/per/atom等亦同理。
自在飞花轻似梦,无边丝雨细如愁。

全自动反应动力学(ReaxFF、AIMD、NEP等)后处理工具网页版:http://cc-portal.xyz/reax_tools

本版积分规则 Credits rule

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

GMT+8, 2025-8-16 20:08 , Processed in 0.221386 second(s), 26 queries , Gzip On.

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