计算化学公社

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

[GROMACS] 关于gmx的pull代码

[复制链接 Copy URL]

86

帖子

0

威望

237

eV
积分
323

Level 3 能力者

请问大家,谁做过umbrella或者constant-force
我对参考点(参考组)和弹簧点有点不理解,虽然我已经将仔细阅读过李老师的博文和sob老师的博文了,也pull成功了,但是我还是处于一知半解的状态。
; Pull code
pull                    = yes                                 ; Pull start
pull_ngroups            = 2                               ; The number of pull groups
pull_ncoords            = 1                               ; The number of pull coordinates
pull_group1_name        = A                          ; The name of the pull group
pull_group2_name        = B                          ; The name of the pull group (It is frozen here)
pull_coord1_type        = constant-force          ; Center of mass pulling using a linear potential and therefore a constant force
pull-coord1_geometry    = direction-periodic   ; As direction, but allows the distance to be larger than half the box size
pull_coord1_dim         = Y N N                      ; the distance components to be used with geometry distance
pull_coord1_vec         = 1.0 0.0 0.0               ; Pull direction
pull_coord1_k           = 1000                        ; pulling force kJ mol^-1 nm^-1
pull-coord1-groups      = 1 2                        ; The two groups indices should be given on which this pull coordinate will operate
pull-nstxout            = 10                             ; frequency for writing out the COMs of all the pull group
pull-nstfout            = 1                               ; frequency for writing out the force of all the pulled group

这是我模仿教程的pull code写的。使用的拉方式为constant-force所以没有弹簧点,有A、B两个拉伸组,但是我限制了B的运动,所以只能拉伸A组。
请问以上代码没有定义参考组吧?
其实就像想问,拉伸方式是umbrella或constant-force怎么设置参考组和弹簧点。

86

帖子

0

威望

237

eV
积分
323

Level 3 能力者

来自 2#
 楼主 Author| 发表于 Post on 2018-5-3 13:08:27 | 只看该作者 Only view this author
我好像绝对坐标和相对坐标弄得模棱两可了

86

帖子

0

威望

237

eV
积分
323

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2018-5-4 12:09:39 | 只看该作者 Only view this author
sob老师,请您指点一下吧,谢谢

73

帖子

0

威望

245

eV
积分
318

Level 3 能力者

4#
发表于 Post on 2024-9-21 16:14:26 | 只看该作者 Only view this author
我也想知道怎么设置弹簧点

本版积分规则 Credits rule

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

GMT+8, 2026-2-18 00:59 , Processed in 0.223346 second(s), 22 queries , Gzip On.

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