24小时热门版块排行榜    

查看: 1011  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 我的国基提前知道中了,可是同事的操作让我实在接受不了,怎么会有这样的人 +7 家与远方 2026-08-10 10/500 2026-08-10 16:31 by vivianleos
[基金申请] 关于Filecode分析方法 +3 majunge000 2026-08-10 3/150 2026-08-10 15:46 by lch2012
[基金申请] 应该是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
[基金申请] 综述论文作为代表作会不会影响评审专家的印象分? +10 yufeiwaner 2026-08-09 10/500 2026-08-10 13:44 by cdutwml
[基金申请] 据悉今年马上要出结果了 +7 瞬息宇宙 2026-08-10 8/400 2026-08-10 12:42 by Vivilian
[基金申请] 关于代码变化问题,想知道的进来 +16 且听虎啸 2026-08-07 23/1150 2026-08-10 12:35 by majunge000
[基金申请] 2026国自然放榜时间 +9 布布和一二 2026-08-08 9/450 2026-08-10 11:22 by xxxx2020
[基金申请] 这样的filecode谁见过 +11 布布和一二 2026-08-08 22/1100 2026-08-10 11:10 by wmfsnow
[基金申请] 面上项目filecode邪修 +5 西山十月 2026-08-09 7/350 2026-08-10 07:32 by 仁砚薪传
[基金申请] fileCode有新解读? +10 Tide man 2026-08-08 18/900 2026-08-09 12:55 by 仁砚薪传
[基金申请] 国基金的申报应该改成非等额制,评价高的钱多评价低的钱少,但是增加资助率 +7 a089 2026-08-07 7/350 2026-08-08 18:05 by gltch
[基金申请] 基金中了 +14 laoda193707 2026-08-06 14/700 2026-08-08 00:23 by 实验小白ha
[基金申请] 听说今天filecode变了 +24 布布和一二 2026-08-06 47/2350 2026-08-07 16:02 by zhiyanjiang
[基金申请] filecode变化情况 +6 布布和一二 2026-08-07 22/1100 2026-08-07 14:45 by 且听虎啸
[基金申请] filecode +14 等待解的谜 2026-08-06 19/950 2026-08-07 12:20 by wlwhappy
[基金申请] filecode +8 布布和一二 2026-08-06 11/550 2026-08-06 20:41 by tangpu318
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[基金申请] 好消息?这个有何含义??? +8 Tide man 2026-08-05 10/500 2026-08-05 16:14 by xmuxiaoyu
[基金申请] 纯娱乐,不喜欢勿喷 +7 Tide man 2026-08-04 10/500 2026-08-04 15:10 by loufangrui
信息提示
请填处理意见