24小时热门版块排行榜    

Znn3bq.jpeg
汕头大学海洋科学接受调剂
查看: 590  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 245求调剂 +3 冰糖橘?汽水 2026-04-13 6/300 2026-04-13 16:08 by 南开小綦
[考研] 272分材料子求调剂 +41 Loy0361 2026-04-10 53/2650 2026-04-13 14:20 by 张zhihao
[考研] 食品与营养(0955)271求调剂 +9 升格阿达 2026-04-12 9/450 2026-04-13 14:12 by maddjdld
[考研] +10 李多米lee. 2026-04-12 11/550 2026-04-12 22:58 by yuyin1233
[考研] 2本,初试303,0860求调剂 +6 floriea 2026-04-12 8/400 2026-04-12 18:13 by zhouxiaoyu
[硕博家园] 新一代电子信息294求调剂 不挑学校 +7 Ytyt11 2026-04-09 8/400 2026-04-12 16:57 by ajpv风雷
[考研] 296求调剂 +14 汪!?! 2026-04-10 16/800 2026-04-12 10:48 by zhouyuwinner
[考研] 材料工程日语考生求调剂 +7 0856?调剂 2026-04-10 7/350 2026-04-11 21:33 by 蓝云思雨
[考研] 270求调剂 +14 杨乐369 2026-04-11 14/700 2026-04-11 20:16 by 蓝云思雨
[考研] 本人女孩 +7 吼吼, 2026-04-10 9/450 2026-04-11 14:45 by ACS Nano——
[考研] 085600材料与化工329分求调剂 +16 叶zilin 2026-04-10 16/800 2026-04-11 11:04 by may_新宇
[考研] 085410-273求调剂 +6 X1999 2026-04-10 6/300 2026-04-11 10:32 by Delta2012
[考研] 085404 298分求调剂 +10 呼啦呼啦呼呼呼 2026-04-10 11/550 2026-04-10 16:44 by wangy0907
[考研] 285求调剂 +9 AZMK 2026-04-07 11/550 2026-04-10 15:24 by AZMK
[考研] 本科211 工科085400 280分求调剂 可跨专业 +3 LZH(等待调剂中 2026-04-09 3/150 2026-04-09 21:29 by wutongshun
[考研] 278求调剂 +27 范婷娜 2026-04-07 31/1550 2026-04-09 20:49 by zhouxiaoyu
[考研] 一志愿中科院105500专业总分315求调剂 +6 lallalh 2026-04-09 7/350 2026-04-09 17:51 by lallalh
[考研] 349学科化学045106求调剂,化学类都可以 +8 保好懂懂 2026-04-08 8/400 2026-04-09 14:03 by xulei3024
[考研] 求调剂 +3 猪肉墩粉条cc 2026-04-08 4/200 2026-04-09 10:05 by 猪肉墩粉条cc
[考研] 机械调剂 +3 zzzbcb 2026-04-07 3/150 2026-04-07 22:19 by hemengdong
信息提示
请填处理意见