计算化学公社

 找回密码 Forget password
 注册 Register
Views: 1940|回复 Reply: 3
打印 Print 上一主题 Last thread 下一主题 Next thread

[GROMACS] 做拉伸水合物,水分子到处乱飞,且期望的拉断变成了挤压过程

[复制链接 Copy URL]

1478

帖子

0

威望

4539

eV
积分
6017

Level 6 (一方通行)

本帖最后由 牧生 于 2022-9-15 22:07 编辑

仿照拉伸纳米金线的教程,完全可以重复出来。但是自己改动了一下,做拉伸二氧化碳水合物时,没有观察到拉断,却观察到挤压过程,分子到处乱飞。请大神指点一下哪里有错误,
我的操作步骤如下:

1、以跑完的CO2水合物gro进行拉伸处理,用语句same residue as x<10   和same residue as x>60看了一下,计划将两端的部分固定住,并拉伸。图形上看来没问题

2、
measure center [atomselect top "same residue as x<10" ] weight mass
得到5.108371257781982 11.87882137298584 12.215145111083984
measure center [atomselect top "same residue as x>60"] weight mass
得到65.6033706665039 12.411291122436523 12.213542938232422

从而两个薄片之间的质心距离为65.6033706665039-5.108371257781982=60.49499941A     即为6.495 nm     

3、使用gmx make_ndx -f md.gro,选择所有
再将rangeindex.tcl内容复制到已经打开gro文件的命令行窗口,再分别两次输入rangeindex "same residue as  x<10"和rangeindex "same residue as  x>60",分别得到左边和右边薄片的原子编号,分别复制到index.ndx中,分别为[ left ]和[ right ]

4、改一下直接用拉伸纳米金线的stretch.mdp  (因为想做的是在密闭,且低温高压下的拉伸情况,所以加入了温度和压力),

define =
integrator = md
dt         = 0.002   ; ps
nsteps     = 150000
comm-grps  = system
comm-mode  = ANGULAR
energygrps =
;
nstxout = 0
nstvout = 0
nstfout = 0
nstlog  = 500
nstenergy = 500
nstxout-compressed = 500
compressed-x-grps  = system
;
pbc = no
nstlist = 10
rlist = 1.2
cutoff-scheme = group
coulombtype   = cut-off
rcoulomb      = 1.2
vdwtype       = cut-off
rvdw          = 1.2
DispCorr = no
;
pull = yes
pull-ngroups = 2
pull-group1-name = left
pull-group2-name = right
pull-ncoords = 1
pull-coord1-type = constraint
pull-coord1-geometry = distance
pull-coord1-groups = 1 2
pull_coord1-init =6.495
pull_coord1-rate = 0.04
pull-coord1-dim = Y N N
;
freezegrps = left right
freezedim = N Y Y N Y Y

Tcoupl  = V-rescale
tau_t   = 0.2
tc_grps = system
ref_t   = 275
;
Pcoupl     = parrinello-rahman
pcoupltype = isotropic
tau_p = 2.0
ref_p = 100.0
compressibility = 4.5e-5



得到结果的轨迹如下视频,看起来不是很正确的样子:
https://www.bilibili.com/video/BV1oV4y1T7xz/



使用的文件如下
PULL.rar (218.57 KB, 下载次数 Times of downloads: 21)
只需要在这个文件夹里面,跑一下stretch就可以。
请帮忙看下哪里错了


又菜又爱玩

1478

帖子

0

威望

4539

eV
积分
6017

Level 6 (一方通行)

2#
 楼主 Author| 发表于 Post on 2022-9-16 13:24:46 | 只看该作者 Only view this author
问题已经解决。
设定做拉伸,但轨迹看起来变成了挤压的原因,是因为设定了100bar的压力。如果将压力设为1bar,则可以明显看到拉断的过程。
又菜又爱玩

17

帖子

0

威望

207

eV
积分
224

Level 3 能力者

3#
发表于 Post on 2025-5-19 20:20:29 | 只看该作者 Only view this author
你好,我想问下,按照您相同的方式拉伸水合物,但是水合物总体往右边偏移,且被拉出了盒子,是什么原因导致的呢?

1747657084563.png (346.56 KB, 下载次数 Times of downloads: 20)

未拉伸

未拉伸

1747657101671.png (408.19 KB, 下载次数 Times of downloads: 21)

拉伸后

拉伸后

1478

帖子

0

威望

4539

eV
积分
6017

Level 6 (一方通行)

4#
 楼主 Author| 发表于 Post on 2025-5-19 21:45:45 | 只看该作者 Only view this author
Caril 发表于 2025-5-19 20:20
你好,我想问下,按照您相同的方式拉伸水合物,但是水合物总体往右边偏移,且被拉出了盒子,是什么原因导致 ...

Materials Today Chemistry, 2024, 37: 101975.

用gmx的deform功能吧
又菜又爱玩

本版积分规则 Credits rule

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2025-8-14 04:12 , Processed in 0.179952 second(s), 23 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list