24小时热门版块排行榜    

查看: 966  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 289材料与化工(085600)B区求调剂 +3 这么名字咋样 2026-03-22 4/200 2026-03-22 17:56 by 云民大李老师
[考研] 275求调剂 +6 shansx 2026-03-22 8/400 2026-03-22 15:27 by barlinike
[考研] 求调剂院校信息 +6 CX 330 2026-03-21 6/300 2026-03-22 15:25 by 无懈可击111
[考研] 070300化学求调剂 +3 苑豆豆 2026-03-20 3/150 2026-03-22 14:48 by ColorlessPI
[考研] 285求调剂 +6 ytter 2026-03-22 6/300 2026-03-22 12:09 by 星空星月
[考研] 材料学硕333求调剂 +3 北道巷 2026-03-18 3/150 2026-03-21 18:17 by 学员8dgXkO
[考研] 278求调剂 +9 烟火先于春 2026-03-17 9/450 2026-03-21 17:47 by 学员8dgXkO
[考研] 306求0703调剂一志愿华中师范 +5 纸鱼ly 2026-03-21 5/250 2026-03-21 17:11 by 学员8dgXkO
[考研] 求调剂 +3 .m.. 2026-03-21 4/200 2026-03-21 16:25 by barlinike
[考研] 303求调剂 +5 睿08 2026-03-17 7/350 2026-03-21 03:11 by JourneyLucky
[考研] 材料 336 求调剂 +3 An@. 2026-03-18 4/200 2026-03-21 01:39 by JourneyLucky
[考研] 一志愿南昌大学,327分,材料与化工085600 +9 Ncdx123456 2026-03-19 9/450 2026-03-20 23:41 by lovewei0727
[考研] 一志愿中海洋材料工程专硕330分求调剂 +8 小材化本科 2026-03-18 8/400 2026-03-20 23:16 by JourneyLucky
[考研] 一志愿 西北大学 ,070300化学学硕,总分287,双非一本,求调剂。 +4 晨昏线与星海 2026-03-19 4/200 2026-03-20 22:15 by JourneyLucky
[考研] 一志愿吉林大学材料学硕321求调剂 +11 Ymlll 2026-03-18 15/750 2026-03-20 19:40 by 丁丁*
[考研] 081700化工学硕调剂 +3 【1】 2026-03-16 3/150 2026-03-19 23:40 by edmund7
[考研] 一志愿福大288有机化学,求调剂 +3 小木虫200408204 2026-03-18 3/150 2026-03-19 13:31 by houyaoxu
[考研] 301求调剂 +4 A_JiXing 2026-03-16 4/200 2026-03-17 17:32 by ruiyingmiao
[考博] 26申博 +4 八6八68 2026-03-16 4/200 2026-03-17 13:00 by 轻松不少随
[论文投稿] 有没有大佬发小论文能带我个二作 +3 增锐漏人 2026-03-17 4/200 2026-03-17 09:26 by xs74101122
信息提示
请填处理意见