24小时热门版块排行榜    

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

acnes

金虫 (正式写手)

[求助] LAMMPS计算水分子扩散系数 已有3人参与

想研究水分子在分子筛里面的自由扩散系数,in文件如下
-----------------------------------------------------------------------------------
units          real
atom_style     full
bond_style     harmonic
angle_style    harmonic
dihedral_style harmonic
boundary       p p p

#Build the model
read_data w1.data
variable T equal 298.15
group zeo type 1 2 3
group water type 4 5

#Specify the potential

pair_style hybrid lj/cut/coul/long 9.0 10.0 lj/cut/tip4p/long 4 5 3 4 0.125 10.0
pair_coeff 1 1 lj/cut/coul/long   0.0 0.0
pair_coeff 1 2 lj/cut/coul/long   0.0 0.0
pair_coeff 1 3 lj/cut/coul/long   0.0 0.0
pair_coeff 2 2 lj/cut/coul/long   0.0 0.0
pair_coeff 2 3 lj/cut/coul/long   0.0 0.0
pair_coeff 3 3 lj/cut/coul/long   0.0 0.0
pair_coeff 1 4 lj/cut/coul/long 0.28672 3.58600
pair_coeff 1 5 lj/cut/coul/long 0.0 0.0
pair_coeff 2 4 lj/cut/coul/long 0.22282 3.42950
pair_coeff 2 5 lj/cut/coul/long 0.0 0.0
pair_coeff 3 4 lj/cut/coul/long 0.17394 3.08200
pair_coeff 3 5 lj/cut/coul/long 0.0 0.0
pair_coeff 4 4 lj/cut/tip4p/long 0.16275 3.16435
pair_coeff 4 5 lj/cut/tip4p/long 0.0 0.0
pair_coeff 5 5 lj/cut/tip4p/long 0.0 0.0

# Coulomb interaction
kspace_style pppm/tip4p 1.0e-5

thermo 100
neighbor 2.0 bin
neigh_modify delay 0 every 1 check yes

min_style fire
minimize 1.0e-8 1.0e-10 50000 100000

fix 1 water nvt temp 298.15 298.15 0.001
compute mymsd water msd com yes
variable msdx equal c_mymsd[1]
variable msdy equal c_mymsd[2]
variable msdz equal c_mymsd[3]
variable msdtot equal c_mymsd[4]
variable timestep equal step
fix mymsd all ave/time 1 1 5000 c_mymsd[4] file tmp.avetime
fix 2 all print 10 &
        "${timestep} ${msdx} ${msdy} ${msdz} ${msdtot}" &
        screen no file tmp.print &
        title "#Mean Square Displacement\n #x y z total"

#Output
dump 1 water custom 5000 Position.txt id type x y z
dump 2 all xyz 5000 Result.xyz

#Run
timestep 1.0
run 2000000
-----------------------------------------------------------------------------

运行后会提示:ERROR: Out of range atoms - cannot compute PPPM (../pppm_tip4p.cpp:107)
按照说明书的提示,将timestep改到0.001,作业才能正常运行。但总步长结束后,水分子基本不怎么动,MSD图也是折线型的,一段一段的。不知道问题在哪里?
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

acnes

金虫 (正式写手)

确实。。。输出的温度很小,按说明书一般设置成100么?
3楼2017-08-23 09:34:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

薛博德

铁虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
fix nvt 升温那里最后一个参数太小了,输出你的温度看有没有升到想要的温度。
渐渐地的已经不知道该怎么用一句话来表达自己的信仰
2楼2017-08-23 09:17:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

acnes

金虫 (正式写手)

改完这个参数原子位置的确是有了明显变化,但是程序运行一段时间后就自动停掉了,输出文件也没看有什么错误提示。。。

最后
Total # of neighbors = 187464
Ave neighs/atom = 162.306
Ave special neighs/atom = 15.9636
Neighbor list builds = 2
Dangerous builds = 0
就这样了
4楼2017-08-23 10:54:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

iSimuLy

捐助贵宾 (正式写手)

资深专家顾问


分子筛里的水本身运动就慢,如果结构没问题,数据处理没问题,那就不用担心

发自小木虫Android客户端
5楼2017-08-23 11:56:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 投票:  有多少人是今天查系统知道结果的? +17 爱看书的可乐 2026-08-26 19/950 2026-09-02 00:19 by xiangy672
[基金申请] 面上函评意见出来了,像什么等级? 20+4 Tsingking1 2026-08-27 17/850 2026-09-01 19:51 by 超级无敌华子
[基金申请] 为什么资助数各大高校都创新高,自己申请怎么就这么难 +13 Kittylucky 2026-08-27 14/700 2026-09-01 11:06 by feng6531
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +7 gdd2018 2026-08-28 12/600 2026-09-01 08:32 by 尼古拉斯小虫
[基金申请] 怎么看青基中了没有啊 +6 叶九微 2026-08-26 6/300 2026-08-31 23:54 by yudaoqian88
[基金申请] 基金未中,这种答复是模板吗? +6 zhaosm1982 2026-08-27 7/350 2026-08-31 21:18 by qdxxmc
[基金申请] 面上意见出来了 +12 黄鸟于飞Chao 2026-08-29 23/1150 2026-08-31 18:57 by 黄鸟于飞Chao
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[基金申请] 29号明天会评吗 +4 笨笨唐 2026-08-28 4/200 2026-08-31 09:30 by huixian257
[基金申请] 基金不中,共勉 +12 eulota 2026-08-26 12/600 2026-08-31 08:42 by ZJTJZ
[基金申请] 有没有仍没收到信息的 +7 德尚中行 2026-08-27 8/400 2026-08-30 20:52 by purplejack
[基金申请] 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
[基金申请] 为什么 国际(地区)合作与交流项目 没有放榜? 10+3 majunge000 2026-08-26 11/550 2026-08-27 08:42 by 北京莱茵编辑
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 出来了 +9 trojank 2026-08-26 9/450 2026-08-26 14:25 by 宝贝虫子
[基金申请] 国合里面能看到了 +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
[基金申请] 牛来!米来!面来! +8 beefly 2026-08-26 8/400 2026-08-26 08:37 by xuzhipiao
信息提示
请填处理意见