24小时热门版块排行榜    

查看: 1019  |  回复: 0

aa2349439

新虫 (小有名气)

[求助] 刚做分子模拟的研究,求大神帮忙下!

下面是我做的计算乙炔在AL2O3孔道中的扩散系数的源文件,但是用LAMMPS运行的时候老是出现LOST ATOMS,能帮忙看看是哪里出问题了么


# description c2h2 diffusion in AL2O3
# used as template for the single atom molecules diffusion in AL2O3.

variable                temperature        equal        298.0
variable                dumpstep        equal        10000
variable                thermostep        equal        10000
variable                comstep                equal        10000
variable                restartstep        equal        10000000
variable                runrelaxstep        equal        1000000
variable                runstep                equal        20000000

units                real
atom_style        atomic

read_data AL2O3.c2h2.data.lammps05

pair_style                lj/cut 17.0

#pair_coeff                * * none

# parameter from Dreiding for materials: generally the type equals to the atom number. 4-Zinc
# 2-He from Peng X, 3-Li from UFF.
pair_coeff                1 1  0.5050 2.2495
pair_coeff                2 2  0.2104 1.7210
#parameter from Peng Xuan for species: 9-Methane, 10-Hydrogen2, 11-Nitrogen2, 12-Oxygen2
pair_coeff    3 3   0.1588 3.5742

pair_modify                shift yes  mix arithmetic


label loop
variable a loop 2

group   fluid type 3
group                AL2O3 subtract all fluid

# fix                freeze AL2O3 setforce 0.0 0.0 0.0

velocity        fluid create ${temperature} 3654321 dist gaussian

neighbor        2.0 bin
neigh_modify        exclude group AL2O3 AL2O3

timestep  0.1
# attention: for the new lammps exe, the fix nvt changed as
fix                1 fluid nvt temp 298.0 298.0 100.0
#fix                1 fluid nvt temp ${temperature} ${temperature} 100.0
#fix                1 fluid nvt ${temperature} ${temperature} 100.0
run                ${runrelaxstep}
reset_timestep   0

# in the new lammps exe file, this two fix have been discarded.
fix                2 fluid msd 10000 AL2O3.c2h2.diff.out
#fix                3        fluid com 10000 AL2O3.c2h2.com

compute                fluidtem fluid temp
#compute                fluidpress all pressure fluidtem

#compute                peratom fluid pe/atom
#compute   pe fluid reduce sum c_peratom

#dump                1 fluid custom 100 dump.AL2O3.c2h2.fluid.wrap.$t id type x y z ix iy iz
dump                2 fluid custom 1000  dump.AL2O3.c2h2.fluid.unwrap.$a id type xu yu zu
#dump                3 all custom 1000 dump.AL2O3.c2h2.all id type x y z ix iy iz
#dump                4 fluid custom 100 dump.AL2O3.c2h2.fluid.v.$t id type vx vy vz
# dump_modify        id scale no image yes

thermo                 ${thermostep}
thermo_style                custom step temp c_fluidtem press  pe etotal
#thermo_style               custom step temp etotal press pe c_pe
# thermo_modify              temp fluidtem press fluidpress

restart                ${restartstep} AL2O3.c2h2.restart.$a

run                         ${runstep}

clear
# use the restart file as the initial configuration of the md every loop
# because in the velocity command, the system has been set a new velocity
# so it may be independent with the former configuration run, i think.
read_restart        AL2O3.c2h2.restart.$a.${runstep}
next a
jump in.lammps loop

这个程序是别人拿来做另外一种研究的,跟我的差不多,它的就能运行,怎么我的不行呢
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

智能机器人

Robot (super robot)

我们都爱小木虫

相关版块跳转 我要订阅楼主 aa2349439 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 学科评审组评审是指会评吗? +4 瞬息宇宙 2026-08-31 4/200 2026-09-01 14:58 by jiaoxg
[论文投稿] 小白求助 投论文要求的highlights应该如何写 5+3 l1963982152 2026-08-29 4/200 2026-09-01 09:04 by 北京莱茵编辑
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +7 gdd2018 2026-08-28 12/600 2026-09-01 08:32 by 尼古拉斯小虫
[基金申请] 哪位高人中了,把查询到的截图贴出来让我看看,让我长长见识 +6 yuleib84 2026-08-26 7/350 2026-08-31 19:46 by 鱼翔浅底1
[基金申请] 面上意见出来了 +12 黄鸟于飞Chao 2026-08-29 23/1150 2026-08-31 18:57 by 黄鸟于飞Chao
[基金申请] 能否申诉? +7 echo8914667 2026-08-30 8/400 2026-08-31 17:00 by yihongxu
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[考博] 找导师 +6 yuanjiabao 2026-08-29 7/350 2026-08-30 14:40 by 生科新手
[基金申请] 国自然面上复盘~欢迎讨论 (金币+15) +15 晴天加油 2026-08-26 16/800 2026-08-29 18:28 by symmetry
[基金申请] 国自然评审意见 +13 wangmingqi 2026-08-28 19/950 2026-08-29 10:22 by Poppy1104
[基金申请] 2026年叶企孙基金 +4 bud_bud 2026-08-27 7/350 2026-08-29 07:23 by foolishmani
[基金申请] 系统查不到 +11 董八千 2026-08-26 11/550 2026-08-28 18:06 by Leogzhya
[基金申请] 基金系统什么内容也没有 30+4 winsaint 2026-08-27 9/450 2026-08-28 11:06 by maolC
[基金申请] 怎么查啊 +6 huang1991js 2026-08-26 6/300 2026-08-28 08:42 by winsaint
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 为什么国自然不能直接公布 +4 bjdxyxy 2026-08-26 4/200 2026-08-26 13:12 by qingmu1201
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 国际合作可查了,中了面上 (EPI+1)(金币+50) +18 Ldrop2023 2026-08-26 18/900 2026-08-26 11:15 by cmrandy
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
信息提示
请填处理意见