计算化学公社

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

[GROMACS] 在进行pull的时候是否需要对质心进行平转动限制?

[复制链接 Copy URL]

46

帖子

0

威望

245

eV
积分
291

Level 3 能力者

如题,我在进行pull时,想把右侧的油分子压入孔隙中,但出现了油侧油一进去,左侧的板子就会往左移动,我个人认为是为了保证质心的不变,所以左边的体系会往左走。如何避免这种情况,我想实现的是左右板子同时向中间压缩。下面是我的pull过程代码,请各位指点一下


; title       = constant-force
define      =
; Run parameters
integrator  = md
dt          = 0.00001
tinit       = 0
nsteps      = 1000000    ; 10 ps
nstcomm     = 1000
; Output parameters
nstxout     = 1000    ;
nstvout     = 1000
nstfout     = 1000
nstxout-compressed   = 1000       ;
nstenergy   = 1000
comm-grps   =  middle  sgl          ;这里的sgl是我中间的孔隙
comm-mode   =  Angular
; Bond parameters
;constraint_algorithm    = lincs
;constraints             = h-bonds
;continuation            = yes       ; continuing from NPT
; Single-range cutoff scheme
cutoff-scheme   = Verlet
;ns_type         = grid
rcoulomb        = 1.5
rvdw            = 1.5
; PME electrostatics parameters
coulombtype     = PME
; optimize_fft    = yes
; Berendsen temperature coupling is on in two groups
Tcoupl  = V-rescale
tau_t   = 0.2 0.2
tc_grps = vel fixed
ref_t   = 418 418
;
; Pressure coupling is on
;Pcoupl          = Berendsen
;pcoupltype      = semiisotropic
;tau_p           = 5.0      
;compressibility = 4.5e-5
;ref_p           = 1.0
;refcoord_scaling = com
; Generate velocities is off
gen_vel     = no
; Periodic boundary conditions are on in all directions
pbc     = xyz
; Long-range dispersion correction
DispCorr    = no
;Pull code
pull                     = yes
pull-ngroups             = 3
pull-ncoords             = 2
pull-group1-name         = left
pull-group2-name         = right
pull-group3-name         = middle

pull-coord1-type         = constant-force
pull-coord1-geometry     = direction-periodic
pull-coord1-groups       = 1 3
pull-coord1-vec          = 1 0 0
pull-coord1-dim          = Y N N
pull-coord1-k            = 927.41 ; avoid forces working directly on this distance

pull-coord2-type         = constant-force
pull-coord2-geometry     = direction-periodic
pull-coord2-groups       = 2 3
pull-coord2-vec          = -1 0 0
pull-coord2-dim          = Y N N
pull-coord2-k            = 684       ; avoid forces working directly on this distance

;
freezegrps  = fixed left right
freezedim   = y y y n y y n y y
constraints = hbonds



46

帖子

0

威望

245

eV
积分
291

Level 3 能力者

2#
 楼主 Author| 发表于 Post on 2024-5-9 02:38:10 | 只看该作者 Only view this author
顶一下

本版积分规则 Credits rule

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

GMT+8, 2026-2-26 06:31 , Processed in 0.191186 second(s), 23 queries , Gzip On.

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