24小时热门版块排行榜    

查看: 642  |  回复: 3

yangwenbin99

铜虫 (小有名气)

[求助] 运行错误指正

LAMMPS (7 Jul 2009)
include in.shear
# 3d metal compression

units           metal

boundary        p p s

atom_style      atomic

lattice         fcc 4.08
Lattice spacing in x,y,z = 4.08 4.08 4.08

region          up block -7 6.8 -8 7.8 0 80

region          both block -28.56 28.56 -32.8 31.7 -10 400 units box

create_box      1 both
Created orthogonal box = (-28.56 -32.8 -10) to (28.56 31.7 400)
  1 by 1 by 1 processor grid

create_atoms    1 region up
Created 72128 atoms

mass            * 196.97

# EAM potentials

pair_style      eam

pair_coeff      * * au_u3.eam

neighbor        2 bin

neigh_modify    delay 5

region          1 block INF INF INF INF INF 4 units box

region          2 block INF INF INF INF 316 INF units box

group           bottom region 1
896 atoms in group bottom

group           top region 2
2688 atoms in group top

group           mobile subtract all bottom top
68544 atoms in group mobile

# equilibrate

fix             1 bottom setforce 0.0 0.0 0.0

fix             2 top setforce 0.0 0.0 0.0

compute         new3d mobile temp

compute         new1 all centro/atom

compute         new2 all stress/atom

compute         new3 all pressure new3d

timestep        0.001

dump            all all custom 500 dump.indent.* tag  x y z fz type c_new1 c_new2[1] c_new2[2] c_new2[3]
ERROR: Invalid keyword in dump custom command
我改了好多次就是不行,太不熟悉了,各位学长指点我一下吧,我没信心了,不知如何入手
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

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

ddll_slsl

木虫 (正式写手)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
jiaoyixiong: 金币+2, 鼓励交流 2012-12-20 10:45:47
dump里面2个 all, 当然错误了。 你必须先仔细阅读手册,熟悉软件的应用。
2楼2012-12-20 09:10:16
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

luxujie3

金虫 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
对的,你的命令书写错误了,楼主可以把第一个all 改成数字,意思就是你使用dump命令一个编号,如1 、2等就可以了
3楼2012-12-21 13:55:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yangwenbin99

铜虫 (小有名气)

# 3d metal compression

units           metal

boundary        p p s

atom_style      atomic

lattice         fcc 4.08

region          up block -7 6.8 -8 7.8 0 80

region          both block -28.56 28.56 -32.8 31.7 -10 400 units box

create_box      1 both

create_atoms    1 region up

mass            * 196.97

# EAM potentials

pair_style      eam

pair_coeff      * * au_u3.eam

neighbor        2 bin

neigh_modify    delay 5

region          1 block INF INF INF INF INF 4 units box

region          2 block INF INF INF INF 316 INF units box

group           bottom region 1

group           top region 2

group           mobile subtract all bottom top

# equilibrate

fix             1 bottom setforce 0.0 0.0 0.0

fix             2 top setforce 0.0 0.0 0.0

compute         new3d mobile temp

compute         new1 all centro/atom

compute         new2 all stress/atom

compute         new3 all pressure new3d

timestep        0.001

dump           1 all custom 500 dump.indent.* tag type x y z fz c_new1 c_new2               [1] c_new2[2] c_new2[3]
minimize        1.0e-8 1.0e-8 1000 10000

# equilibrate

velocity        mobile create 300 5812775 temp new3d

fix             3 all nve

fix             4 mobile temp/rescale 100 300 300 10 1.0

fix_modify      4 temp new3d

thermo          100

thermo_style    custom step etotal temp press pzz pxx pyy pxy pxz pyz

thermo_modify   temp new3d

dump_modify     output every 100

run             10000

# addforce

unfix           1

unfix           2

fix             12 top setforce 0.0 0.0 0.0

fix             5 bottom setforce 0 0 3

run             3000

unfix           5

run             20000



学长你看上面是我的程序,all改成了数字,可是运行时又出现了ERROR: Invalid keyword in dump custom command
我看了手册也不会,求学长帮忙
4楼2012-12-21 16:52:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 yangwenbin99 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 关于豆爷回答的JTJC与%2F数量 +5 yang182083 2026-08-06 7/350 2026-08-08 18:29 by zhanghaozhu
[基金申请] 2026国自然放榜时间 +3 布布和一二 2026-08-08 3/150 2026-08-08 18:15 by Lightingo
[公派出国] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 qTvzQBRAHjCi 2026-08-07 4/200 2026-08-08 17:27 by oEVWOejN9taj
[基金申请] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 qTvzQBRAHjCi 2026-08-07 5/250 2026-08-08 17:02 by oEVWOejN9taj
[考研] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 qTvzQBRAHjCi 2026-08-07 5/250 2026-08-08 16:47 by oEVWOejN9taj
[论文投稿] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 qTvzQBRAHjCi 2026-08-07 4/200 2026-08-08 16:47 by oEVWOejN9taj
[考博] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 Vi50GxzrFcSG 2026-08-07 4/200 2026-08-08 16:27 by oEVWOejN9taj
[基金申请] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 Vi50GxzrFcSG 2026-08-07 5/250 2026-08-08 16:27 by oEVWOejN9taj
[基金申请] 这样的filecode谁见过 +5 布布和一二 2026-08-08 8/400 2026-08-08 14:54 by archvillain
[硕博家园] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 HEQlVqMTIA7d 2026-08-07 6/300 2026-08-08 14:47 by oEVWOejN9taj
[博后之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 HEQlVqMTIA7d 2026-08-07 6/300 2026-08-08 14:42 by oEVWOejN9taj
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +4 HEQlVqMTIA7d 2026-08-07 5/250 2026-08-08 14:27 by oEVWOejN9taj
[论文投稿] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 HEQlVqMTIA7d 2026-08-07 5/250 2026-08-08 14:22 by oEVWOejN9taj
[论文投稿] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 KXLV3nuBVBY7 2026-08-07 6/300 2026-08-08 14:01 by oEVWOejN9taj
[基金申请] 关于代码变化问题,想知道的进来 +11 且听虎啸 2026-08-07 14/700 2026-08-08 12:50 by 布布和一二
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 HEQlVqMTIA7d 2026-08-07 3/150 2026-08-08 03:47 by 6vVgjDL4CnGu
[基金申请] 固定端突然变了,今天 +6 archvillain 2026-08-06 10/500 2026-08-07 16:03 by 医学老男孩
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[基金申请] 好消息?这个有何含义??? +8 Tide man 2026-08-05 10/500 2026-08-05 16:14 by xmuxiaoyu
[基金申请] 什么时候能放榜呀? +3 Jacob678 2026-08-03 3/150 2026-08-03 16:14 by gltch
信息提示
请填处理意见