24小时热门版块排行榜    

查看: 5622  |  回复: 4

雪雨星风17

木虫 (小有名气)

[求助] 求助,lammmps出现Numeric index is out of bounds 。怎么回事呢,如何修改?

参考一个文献计算Cu的空位能,我也就改成Pd的了,为啥会出现Numeric index is out of bounds 了呢?
代码如下:units metal
boundary p p p
atom_style atomic

lattice fcc 3.89
region box block 0 6 0 6 0 6
create_box 1 box
create_atoms 1 box
pair_style eam
pair_coeff ** Pd_u3.eam Pd

run 0
varible E equal pe
varible N equal atoms
print"the number of atoms &system energy now are $N $E"

region centerpoint block 3 3.05 3 3.05 3 3.05
delete_atoms region centerpoint
min_style sd
minimize 1.0e-12 1.0e-12 1000 1000
print"the number of atoms &system energy now are $N $E"
compute 3 all pe/atom
compute 4 all ke/atom
compute 5 all coord/atom 3.0
dump 1 all custom 1 dump.atom id xs ys zy c_3 c_4 c_5
timestep 0.005
run 1
显示的:

Lattice spacing in x,y,z = 3.89 3.89 3.89
Created orthogonal box = (0 0 0) to (23.34 23.34 23.34)
  1 by 1 by 1 MPI processor grid
Created 864 atoms
ERROR: Numeric index is out of bounds (../force.cpp:684)
回复此楼

» 猜你喜欢

可以可以啊
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wwt6203

新虫 (初入文坛)

楼主解决了吗?我也遇到了这个问题,开始以为是data文件的问题但换了data文件还是这个问题?急死我了
2楼2018-05-21 10:05:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

小feynman

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by wwt6203 at 2018-05-21 10:05:33
楼主解决了吗?我也遇到了这个问题,开始以为是data文件的问题但换了data文件还是这个问题?急死我了

请问解决这个问题了没,同被困扰
3楼2018-06-08 10:41:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cxlxx10000

银虫 (正式写手)

楼主解决了么 我也遇到这个问题了
梦想着可以开手扶拖拉机上班
4楼2019-03-07 20:24:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wym3590

新虫 (初入文坛)

是不是相互作用写错了呢
5楼2019-08-20 21:24:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 雪雨星风17 的主题更新
信息提示
请填处理意见