24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2940  |  回复: 2
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

20新菜鸟

铁虫 (初入文坛)

[交流] 求助:有没有大佬帮我我看看我在运行reaxff反应力场的时候,为什么pair_coeff总是报错已有1人参与

log  wangyu.log

####Initialization##########################################################
units             real
atom_style        charge                                                     #模拟条件初始化#
boundary          p p p
neighbor          2.0 bin
neigh_modify     every 10 delay 0 check yes
####define box and create atoms#############################################
region           box block 0 40 0 40 0 40 units box                           #创建模拟box
create_box       2 box

lattice          bcc 2.8665                                                   #铁的晶格常数?
region           s1 sphere     20 20 20 20 side in    units box
region           s2 sphere     20 20 20 20 side out   units box

create_atoms     1    region s1 units box
create_atoms     2   random 2000 15688 s2 units box

mass             1    55.84
mass             2    16.0                                                  #构建或读取初始模型#
####define interatomic potential############################################
pair_style        reax/c NULL checkqeq yes                                  #反应性立场#
pair_coeff        * * ffield.reax C C N H
#pair_coeff        * * ffield.reax Fe O NULL NULL NULL  

错误信息:ERROR: Incorrect args for pair coefficients (../pair_reax_c.cpp:275)
Last command: pair_coeff        * * ffield.reax Fe O NULL NULL NULL
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

科沃尔26

新虫 (初入文坛)


小木虫: 金币+0.5, 给个红包,谢谢回帖
引用回帖:
2楼: Originally posted by 20新菜鸟 at 2021-05-26 15:26:28
已解决  pair coeff参数设置错误  不应该含有NULL

你好,你加#这个pair coeff这个改?
3楼2024-10-20 18:21:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 3 个回答

20新菜鸟

铁虫 (初入文坛)

送红花一朵
已解决  pair coeff参数设置错误  不应该含有NULL
2楼2021-05-26 15:26:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复(可上传附件)
信息提示
请填处理意见