24小时热门版块排行榜    

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

yangwenbin99

铜虫 (小有名气)

[求助] lammps错误指正

#######    poly one layer property ###################
fix                fSpaPolyStress_onelay gPoly ave/spatial 1 5000 5000 x 0.0 1.0 y 0.0 1.0 z 0.0 1.0 c_cStAtPoly[1] c_cStAtPoly[2] c_cStAtPoly[3] c_cStAtPoly[4] c_cStAtPoly[5] c_cStAtPoly[6] units reduced norm sample ave window 5 file Output_PolyStress_Zonelayer_Zdim.PushForce${vForce}_Shear${vShear}

variable        vPolyOneLayStressXX equal (f_fSpaPolyStress_onelay[1][5]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressYY equal (f_fSpaPolyStress_onelay[1][6]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressZZ equal (f_fSpaPolyStress_onelay[1][7]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressXY equal (f_fSpaPolyStress_onelay[1][8]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressXZ equal (f_fSpaPolyStress_onelay[1][9]/v_vPolyVol)*v_vPolyAtNum
variable        vPolyOneLayStressYZ equal (f_fSpaPolyStress_onelay[1][10]/v_vPolyVol)*v_vPolyAtNum

variable        vShearRate equal v_vShear/v_vPolyLenZ  #1/picoseconds
variable        vViscosity equal v_vPolyOneLayStressXZ/v_vShearRate #bars.picoseonds
variable        vFriction equal v_vPolyOneLayStressXZ/v_vPolyOneLayStressZZ
fix                 fprint all print 5000 "${vStep} ${vFriction} ${vShearRate} ${vViscosity} ${vPolyOneLayStressXX} ${vPolyOneLayStressYY} ${vPolyOneLayStressZZ} ${vPolyOneLayStressXY} ${vPolyOneLayStressXZ} ${vPolyOneLayStressYZ}" screen no file Output_OneLayPoly.PushForce${vForce}_Shear${vShear}

#####################################################
dump                dumpAllAtom all atom 10000 Output_DumpAllAtom.PushForce${vForce}_Shear${vShear}.lammpstrj

dump_modify        dumpAllAtom append yes

run                 2000000
运行这段时出现报警
#####################################################
dump                dumpAllAtom all atom 10000 Output_DumpAllAtom.PushForce${vForce}_Shear${vShear}.lammpstrj
dump                dumpAllAtom all atom 10000 Output_DumpAllAtom.PushForce0.0256385733_Shear${vShear}.lammpstrj
dump                dumpAllAtom all atom 10000 Output_DumpAllAtom.PushForce0.0256385733_Shear0.1.lammpstrj

dump_modify        dumpAllAtom append yes

run                 2000000
WARNING: One or more atoms are time integrated more than once
Memory usage per processor = 10.7241 Mbytes
Step Temp E_pair E_mol TotEng Press Volume
1000000    293.33568   -8684.8822    26.956317   -8550.2806   -4489.6865    43454.026
ERROR: Variable formula fix array is accessed out-of-range
如何改正,各位大仙帮忙
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jiaoyixiong

荣誉版主 (职业作家)

错误: Variable formula fix array is accessed out-of-range

http://muchong.com/bbs/viewthread.php?tid=3946850
3楼2013-03-21 10:22:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 这样的filecode谁见过 +11 布布和一二 2026-08-08 22/1100 2026-08-10 11:10 by wmfsnow
[基金申请] 应该是93bebmhtak前后十一个字符比较关键 +9 Lanmanbaby 2026-08-09 17/850 2026-08-10 10:35 by Tide man
[基金申请] 综述论文作为代表作会不会影响评审专家的印象分? +7 yufeiwaner 2026-08-09 7/350 2026-08-10 09:08 by zju2000
[基金申请] 关于代码变化问题,想知道的进来 +15 且听虎啸 2026-08-07 22/1100 2026-08-09 22:13 by 布布和一二
[基金申请] filecode与中标关系的预测 +5 布布和一二 2026-08-07 5/250 2026-08-09 16:15 by 袁向阳007
[基金申请] fileCode有新解读? +10 Tide man 2026-08-08 18/900 2026-08-09 12:55 by 仁砚薪传
[基金申请] 关于filecode,很负责任的告诉大家 +6 爱看书的可乐 2026-08-08 7/350 2026-08-08 22:13 by a_niu
[考博] 【2027博士申请】纳米药物递送方向 20+3 13586093586 2026-08-03 5/250 2026-08-08 21:54 by 13586093586
[基金申请] 关于豆爷回答的JTJC与%2F数量 +5 yang182083 2026-08-06 7/350 2026-08-08 18:29 by zhanghaozhu
[基金申请] 国基金的申报应该改成非等额制,评价高的钱多评价低的钱少,但是增加资助率 +7 a089 2026-08-07 7/350 2026-08-08 18:05 by gltch
[基金申请] 好奇怪的filecode +3 布布和一二 2026-08-08 4/200 2026-08-08 17:46 by zhanghaozhu
[基金申请] 基金中了 +14 laoda193707 2026-08-06 14/700 2026-08-08 00:23 by 实验小白ha
[基金申请] 关于filecode +4 布布和一二 2026-08-07 7/350 2026-08-07 22:55 by zhanghaozhu
[基金申请] 听说今天filecode变了 +24 布布和一二 2026-08-06 47/2350 2026-08-07 16:02 by zhiyanjiang
[基金申请] 大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑 +5 Tide man 2026-08-06 7/350 2026-08-07 13:11 by 医学老男孩
[基金申请] filecode +8 布布和一二 2026-08-06 11/550 2026-08-06 20:41 by tangpu318
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[基金申请] 影响面上的因素 +8 布布和一二 2026-08-05 11/550 2026-08-06 10:41 by 宝贝虫子
[基金申请] 纯娱乐,不喜欢勿喷 +7 Tide man 2026-08-04 10/500 2026-08-04 15:10 by loufangrui
[基金申请] 什么时候能放榜呀? +3 Jacob678 2026-08-03 3/150 2026-08-03 16:14 by gltch
信息提示
请填处理意见