24小时热门版块排行榜    

Znn3bq.jpeg
查看: 985  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[教师之家] 某211大学教师把个人教师官方主页改成:我跑了我跑了我跑了!官宣跑路! +4 zju2000 2026-05-21 5/250 2026-05-24 09:35 by songwz
[考博] 26/27申博自荐 10+4 ZXW0202 2026-05-22 9/450 2026-05-24 08:47 by bjvtcliu
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 hvkbtfonbv 2026-05-23 3/150 2026-05-24 08:01 by 9ps9vgkqva
[硕博家园] 售SCI一区T0P文章,我:8.O.5.5.1.O.5.4,科目齐全,可+急 +3 pmo95bazuy 2026-05-23 7/350 2026-05-24 06:35 by fpo5ljpv91
[基金申请] 河北省自然科学基金 +5 Peterchao 2026-05-18 7/350 2026-05-23 16:57 by articlefan
[基金申请] 揭秘青基评审内幕:几个A才能顺利中标 +3 国自然国社科中 2026-05-23 4/200 2026-05-23 15:37 by 2000zf36392
[基金申请] 青B发送上会通知了吗 +5 chemBioBro 2026-05-22 7/350 2026-05-23 12:35 by zhuifengzhy
[考博] 博士申请 +3 焦晓明 2026-05-21 3/150 2026-05-23 11:26 by mlc840311
[论文投稿] 投稿求助,期刊 +4 希冀,有书读 2026-05-20 8/400 2026-05-22 10:16 by 希冀,有书读
[文学芳草园] 献血感触 +7 呀呀好傻 2026-05-19 13/650 2026-05-21 20:15 by 呀呀好傻
[基金申请] 面上本子正文33页,违规吗?会被低分嘛? +14 1234567wang 2026-05-17 16/800 2026-05-21 17:58 by 脆脆的饼干
[基金申请] 国自然评分 +4 无名者登山 2026-05-20 5/250 2026-05-21 16:35 by swuq
[基金申请] 国自然上会要求 +7 无名者登山 2026-05-18 11/550 2026-05-21 15:50 by draco1987
[基金申请] 提交了我也来说说感想 +9 fummck 2026-05-20 10/500 2026-05-21 14:17 by draco1987
[基金申请] 评审有感 +15 popular289 2026-05-18 26/1300 2026-05-21 10:35 by 西葫芦炒鸡蛋
[考博] 云南大学材料与能源学院解琳课题组钙钛矿博士招生 +4 光伏爱好者 2026-05-17 6/300 2026-05-21 01:37 by 17520222914
[有机交流] 反应很差,大量原料没有反应 5+3 Mr.Zot 2026-05-19 8/400 2026-05-20 22:19 by Equinoxhua
[考博] 如果工作了想读博,可以边工作边读全日制嘛? 30+3 铁达火车 2026-05-18 5/250 2026-05-20 09:33 by tfang
[考博] 博士申请 +5 星…… 2026-05-18 6/300 2026-05-18 23:49 by 糊糊涂涂好
[硕博家园] 我在等一个没有答案的答案 +3 Love_MH 2026-05-17 3/150 2026-05-18 02:22 by 竹林孤影
信息提示
请填处理意见