24小时热门版块排行榜    

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

刺青TS

新虫 (小有名气)

[求助] vmd 已有1人参与

lammps 输出的lammpsstrj导进vmd中模型为什么会出现连续的移动?我是做拉伸模拟

发自小木虫Android客户端
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

刺青TS

新虫 (小有名气)

引用回帖:
2楼: Originally posted by alundilong at 2016-04-24 01:25:35
楼主贴出in文件,至少得有dump那行命令才可以做判断。

ps,猜测,楼主输出的坐标是不是xu,yu,zu?

dump            6 all custom 1000 lashen.lammpstrj id type x y z c_3

fix                10 all nvt temp 300 300 0.01
fix_modify     10 temp 2

label loop
variable i loop 300
displace_atoms force move 0.05 0.0 0.0 units box
displace_atoms lower move -0.05 0.0 0.0 units box

run 100000

next i
jump in.cu loop
3楼2016-04-24 09:55:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 7 个回答

alundilong

木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
楼主贴出in文件,至少得有dump那行命令才可以做判断。

ps,猜测,楼主输出的坐标是不是xu,yu,zu?
2楼2016-04-24 01:25:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

alundilong

木虫 (正式写手)

【答案】应助回帖

引用回帖:
3楼: Originally posted by 刺青TS at 2016-04-23 19:55:55
dump            6 all custom 1000 lashen.lammpstrj id type x y z c_3

fix                10 all nvt temp 300 300 0.01
fix_modify     10 temp 2

label loop
variable i loop 300
displace_atoms force move 0.05 ...

这几行看不出问题。你的dump也是对的。
把完整的贴出来吧,肯定有地方有错。
4楼2016-04-25 04:51:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

刺青TS

新虫 (小有名气)

引用回帖:
4楼: Originally posted by alundilong at 2016-04-25 04:51:00
这几行看不出问题。你的dump也是对的。
把完整的贴出来吧,肯定有地方有错。...

# LAMMPS cu
units                metal
dimension        3
boundary        s s s  
atom_style        atomic

neighbor        2.0 bin
neigh_modify        every 1

read_data         data.cu                                          
pair_style        hybrid eam/alloy airebo 3.0 1 1 lj/cut 10.0   
pair_coeff      * * eam/alloy Cu_zhou.eam.alloy NULL Cu   
pair_coeff        * * airebo CH.airebo  C NULL                  
pair_coeff      1 2 lj/cut 0.019996 3.225  
               
timestep        0.001
thermo                 1000

group                lower id <= 133
group                force id >= 2539
group                boundary union lower force
group                mobile subtract all lower force

velocity        mobile create 300 825577 dist gaussian
velocity       boundary set 0.0 0.0 0.0 units box
fix 2 lower setforce 0.0 0.0 0.0
fix 3 force setforce 0.0 0.0 0.0

minimize         1.0e-8 1.0e-8 10000 10000

reset_timestep  0

compute         2 mobile temp/com
compute         3 all pe/atom
compute         4 all ke/atom
compute         5 all coord/atom 3.0


compute s1 all stress/atom NULL
compute        strec1 mobile reduce sum c_s1[2]
variable strecy equal c_strec1/(ly*lz*lx*10000)
compute        strec2 mobile reduce sum c_s1[1]
variable strecx equal c_strec2/(ly*lz*lx*10000)

thermo_style         custom step c_2 pe ke vol v_strecx v_strecy lx ly lz


dump            6 all custom 1000 lashen.lammpstrj id type x y z c_3

fix                10 all nvt temp 300 300 0.01
fix_modify     10 temp 2

label loop
variable i loop 300
displace_atoms force move 0.0 0.05 0.0 units box
displace_atoms lower move 0.0 -0.05 0.0 units box

run 100000

next i
jump in.cu loop
5楼2016-04-25 15:05:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 小木虫上这么多卖论文的,真有人买论文么?感觉没必要啊 +3 Tide man 2026-08-10 3/150 2026-08-10 21:48 by GZUZM
[基金申请] filecode +8 documentary 2026-08-10 8/400 2026-08-10 19:20 by loufangrui
[基金申请] 关于代码变化问题,想知道的进来 +17 且听虎啸 2026-08-07 24/1200 2026-08-10 18:35 by zhangduo2008
[基金申请] 静等基金结果 +5 gjjjzhong 2026-08-10 16/800 2026-08-10 17:19 by Tide man
[基金申请] 关于Filecode分析方法 +3 majunge000 2026-08-10 3/150 2026-08-10 15:46 by lch2012
[基金申请] 国自然结果 +4 Vierhys 2026-08-10 8/400 2026-08-10 15:06 by Vierhys
[基金申请] 应该是93bebmhtak前后十一个字符比较关键 +14 Lanmanbaby 2026-08-09 22/1100 2026-08-10 14:57 by wwncly
[基金申请] 8月时间戳变的,举个手。玩一下,释放压力 +11 archvillain 2026-08-04 13/650 2026-08-10 14:41 by seekfind
[基金申请] 好奇怪的filecode +4 布布和一二 2026-08-08 5/250 2026-08-10 14:20 by 冰心玉壶晴
[基金申请] 据悉今年马上要出结果了 +7 瞬息宇宙 2026-08-10 8/400 2026-08-10 12:42 by Vivilian
[基金申请] filecode与中标关系的预测 +5 布布和一二 2026-08-07 5/250 2026-08-09 16:15 by 袁向阳007
[基金申请] 关于豆爷回答的JTJC与%2F数量 +5 yang182083 2026-08-06 7/350 2026-08-08 18:29 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
[基金申请] 娱乐 +6 Tide man 2026-08-03 6/300 2026-08-07 22:40 by 铁帽子农民
[基金申请] 听说今天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 +14 等待解的谜 2026-08-06 19/950 2026-08-07 12:20 by wlwhappy
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[基金申请] 纯娱乐,不喜欢勿喷 +7 Tide man 2026-08-04 10/500 2026-08-04 15:10 by loufangrui
信息提示
请填处理意见