24小时热门版块排行榜    

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

ruthxu

金虫 (正式写手)

[求助] Gromacs 中 PME 的用法

在看文献时,有一段关于cutoff的设定的内容,如下:

For Lennard-Jones interactions, a cutoff at 1.4 nm was applied, while electrostatic interactions were treated with the particle mesh Ewald (PME) method and a realspace
cutoff of 0.9 nm.

A larger than usual Lennard-Jones cutoff was used in order to increase the accuracy of the van der Waals interactions.

Electrostatic interactions were treated with the PME method, which does not introduce artificial ordering like cutoff methods.

The real-space cutoff of 0.9 nm used with the PME method is merely a numerical device in order to separate the direct- and reciprocal-space sums.

Long-range dispersion corrections for energy and pressure were applied.

通过上述内容,在mdp文件中如何具体的设置呢?

从这个问题中发现,在使用PME 时对于 rlist, rcoulomb, fourierspacing 的设定很困惑,希望高手可以解答一下!

有相同问题的,可以一起讨论一下!
回复此楼
Betterlatethannever!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ruthxu

金虫 (正式写手)

引用回帖:
Originally posted by fcenf at 2011-07-15 00:42:32:
按文献里说的,我感觉mdp文件应该是这样吧。

rlist=0.9
vdwtype=cut-off
rvdw=1.4
DispCorr=EnerPres
coulombtype=PME
rcoulomb=0.9

对于PME方法,应该rlist=rcoulomb。在可选的范围内,rlist越大,计 ...

谢谢!

我的设定也是这样的,可师兄认为 rlist=rcoulom=rvdw=1.4 而fourierspacing=0.9,我觉得不对可又讲不出哪里不对。
Betterlatethannever!
4楼2011-07-15 08:21:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

fcenf

木虫 (初入文坛)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★
ruthxu(金币+10): 很感谢! 我的设定也是这样的,可师兄认为 rlist=rcoulom=rvdw=1.4 而fourierspacing=0.9,我觉得不对可又讲不出哪里不对。 2011-07-15 08:17:42
zh1987hs(金币+5): 谢谢 2011-07-15 22:56:37
zh1987hs(金币+5): 谢谢 2011-07-15 22:57:06
按文献里说的,我感觉mdp文件应该是这样吧。

rlist=0.9
vdwtype=cut-off
rvdw=1.4
DispCorr=EnerPres
coulombtype=PME
rcoulomb=0.9

对于PME方法,应该rlist=rcoulomb。在可选的范围内,rlist越大,计算结果越精确,但过大的rlist值会影响计算效率的。主要看你的体系总体势能函数随距离变化的衰减速度,衰减快可以取小些,衰减慢就要适当取大些。
至于fourierspacing,我也说不太好,一般情况下用默认值。感觉其他条件不变,fourierspacing越小,PME方法的结果应该越精确,但过小就会影响计算的效率。0.1~0.12的设定应该是可以接受的。另为,手册上说同时增大或减小rcoulomb和fourierspacing,静电势的计算精度不变的。
http://home.ustc.edu.cn/~fucf
2楼2011-07-15 00:42:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fcenf

木虫 (初入文坛)

【答案】应助回帖

★ ★ ★ ★
ruthxu(金币+10): 嗯,非常感谢! 2011-07-15 08:18:59
zh1987hs(金币+2): 谢谢 2011-07-15 22:56:48
zh1987hs(金币+2): 谢谢 2011-07-15 22:57:01
还有,Ewald方法实空间和虚空间在rcoulomb处的收敛精度由ewald_rtol设定,越小精度越高。一般取1e-6就可以了。
并行计算中pme_order也会影响计算精度的,可以适当增大。
http://home.ustc.edu.cn/~fucf
3楼2011-07-15 00:54:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fcenf

木虫 (初入文坛)

【答案】应助回帖

★ ★
zh1987hs(金币+2): 谢谢 2011-07-15 22:56:58
ruthxu(金币+10): 本该送给你的 2011-07-17 09:51:26
引用回帖:
Originally posted by ruthxu at 2011-07-15 08:21:19:
谢谢!

我的设定也是这样的,可师兄认为 rlist=rcoulom=rvdw=1.4 而fourierspacing=0.9,我觉得不对可又讲不出哪里不对。

The real-space cutoff of 0.9 nm,这里指的是rcoulomb。
而fourierspacing是控制Ewald算法在做fourier变换时体系在每个维度分割的grid数。这完全是两个概念呀~
http://home.ustc.edu.cn/~fucf
5楼2011-07-15 16:36:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见