<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>Also I don't know what you chose for the compressibility.<br>In the z direction you mainly compress the gas, not the water.<br>Therefore the compressibility in z will be orders of magnitude higher<br>than for water. If you chose the compressibility of water for z,<br>the fluctuations will be orders of magnitude too slow and you will<br>probably not equilibrate the box size and pressure in reasonable time.<br>You can check this by looking at the box dimensions and/or pressure<br>with g_energy.<br><br>Berk<br><br><hr id="stopSpelling">From: gmx3@hotmail.com<br>To: gmx-users@gromacs.org<br>Subject: RE: [gmx-users] Cannot obtain the expected pressure using the        Parrinello-Rahman coupling in a gas-liquid system<br>Date: Sun, 1 Mar 2009 22:18:51 +0100<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


Hi,<br><br>But this has nothing to do with bug 165, does it?<br><br>If you have a surface, you have surface tension which tries to minimize the surface area.<br>That is what you should get and what you indeed do get; x/y get smaller, z gets larger,<br>decreasing the surface area.<br><br>If you have a x/y surface, you should keep the x/y sizes constant and only couple z.<br><br>Berk<br><br><hr id="EC_stopSpelling">From: guogj@hotmail.com<br>To: gmx-users@gromacs.org<br>Subject: RE: [gmx-users] Cannot obtain the expected pressure using the        Parrinello-Rahman coupling in a gas-liquid system<br>Date: Sun, 1 Mar 2009 05:09:39 +0000<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


Hi,<br>
After I recheck the box, it is indeed the case described in bugzilla 165. The length of box increases in the Z-direction and decreases in the X/Y-direction with time. When I prolong the run, it exits abnormally at the time when the Box-X/Y reduces to a value less than 2*rvdw. When I fix the Box-Z by setting the compressibility as zero, the semiisotropic with P-R barostat produces the inaccurate pressure again. Now, I have to use the Berendsen barostat for my methane-water interface system.<br>
Guang-Jun<br>
&nbsp;<br>&gt; Date: Sat, 28 Feb 2009 19:53:10 +0100<br>&gt; From: spoel@xray.bmc.uu.se<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] Cannot obtain the expected pressure using the Parrinello-Rahman coupling in a gas-liquid system<br>&gt; <br>&gt; GuoGuangjun wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; The question is resolved by changing the pcoupltype from isotropic to <br>&gt; &gt; semiisotropic. Correspondingly, the compressibility and ref_p are given <br>&gt; &gt; for the x/y and z directions with the same original values, <br>&gt; &gt; respectively. The test system includes 300 methane, 1725 water, and 300 <br>&gt; &gt; methane, forming two interfaces parallel to the xy-plane. Now, the <br>&gt; &gt; accurate average-total-pressure is obtained from a short run (0.2 ns) <br>&gt; &gt; with the default tau_p (1 ps).<br>&gt; <br>&gt; Please be careful when you use this kind of pressure coupling, you may<br>&gt; get the right pressure but you box might keep growing in one direction<br>&gt; forever. See bugzilla 165. Actually I'm pretty sure it will.<br>&gt; Unfortunately we don't really understand what is going on here.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Thank you for your kind replies and useful clues.<br>&gt; &gt; <br>&gt; &gt; Guang-Jun<br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; From: gmx3@hotmail.com<br>&gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; Subject: RE: [gmx-users] Cannot obtain the expected pressure using the <br>&gt; &gt; Parrinello-Rahman coupling in a gas-liquid system<br>&gt; &gt; Date: Sat, 28 Feb 2009 15:00:50 +0100<br>&gt; &gt; <br>&gt; &gt; Hi,<br>&gt; &gt; <br>&gt; &gt; Is 327 bar the averge total pressure or one the of components of the <br>&gt; &gt; pressure tensor?<br>&gt; &gt; You will have a surface tension acting in the system causing a <br>&gt; &gt; difference in the different components.<br>&gt; &gt; <br>&gt; &gt; Also it is still not completely clear to me how long you equilibrate and <br>&gt; &gt; average.<br>&gt; &gt; Also the results will depend very much on the size of the system.<br>&gt; &gt; In small systems the pressure fluctuations are enormous.<br>&gt; &gt; With Berendsen these fluctuations will be surpressed, with PR not.<br>&gt; &gt; <br>&gt; &gt; With PR I would use a tau_p of around 10 ps.<br>&gt; &gt; You might need to average the pressure over several (tens of?) ns (after <br>&gt; &gt; several ns of equilibration)<br>&gt; &gt; to obtain a good average.<br>&gt; &gt; <br>&gt; &gt; Berk<br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; From: guogj@hotmail.com<br>&gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; Subject: RE: [gmx-users] Cannot obtain the expected pressure using the <br>&gt; &gt; Parrinello-Rahman coupling in a gas-liquid system<br>&gt; &gt; Date: Sat, 28 Feb 2009 13:51:15 +0000<br>&gt; &gt; <br>&gt; &gt; Hi, Justin,<br>&gt; &gt; <br>&gt; &gt; Thanks for your rapid reply. Let me decribes the question in more details.<br>&gt; &gt; First ,two gaseous mathane systems and one liquid water system are <br>&gt; &gt; equilibrated at 300 bar and 250 K in advance. Then, the gas systems are <br>&gt; &gt; put at the both sides of liquid. The combined system is performed for <br>&gt; &gt; 3ns with the Parrinello-Rahman barostat, which produces a average <br>&gt; &gt; pressure of 327 bar. I am strange to the value and several tests are <br>&gt; &gt; run, mentioned previously. All these test runs take the end gro file of <br>&gt; &gt; the 3ns-run as the beginning. When the berendsen barostat is used, <br>&gt; &gt; the pressure is OK. When the Parrinello-Rahman barostat is used, the <br>&gt; &gt; questionary pressure occurs again. Although I will try to make a long <br>&gt; &gt; run for equilibrium, I think the equilibrium has reached because the <br>&gt; &gt; ~330 bar is always obtained no matter how long simulations are sampled, <br>&gt; &gt; from 0.2 ns to 3 ns. The version of Gromacs I used is 4.0.4. By the way, <br>&gt; &gt; how long did you equilibrate your membrane system and how many atoms <br>&gt; &gt; in it? Thanks again.<br>&gt; &gt; <br>&gt; &gt; Guang-Jun<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; Date: Sat, 28 Feb 2009 07:43:29 -0500<br>&gt; &gt; &gt; From: jalemkul@vt.edu<br>&gt; &gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; Subject: Re: [gmx-users] Cannot obtain the expected pressure using <br>&gt; &gt; the Parrinello-Rahman coupling in a gas-liquid system<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; GuoGuangjun wrote:<br>&gt; &gt; &gt; &gt; In fact, I once run the gas-liquid interface for 3 ns, the pressure is<br>&gt; &gt; &gt; &gt; still as high as 327 bar.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; There are two possibilities in my mind:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; 1. 3 ns is still not long enough.<br>&gt; &gt; &gt; 2. Your gas phase is causing the problem. If the pressure is right <br>&gt; &gt; for water<br>&gt; &gt; &gt; alone, then the problem likely comes from the inclusion of your gas <br>&gt; &gt; phase and<br>&gt; &gt; &gt; whatever parameters you're using for whatever species you have in <br>&gt; &gt; this phase.<br>&gt; &gt; &gt; Examine your parameters and consider how they were derived and <br>&gt; &gt; whether or not<br>&gt; &gt; &gt; they are adequate.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Also, what version of Gromacs are you using? There were some changes <br>&gt; &gt; made to<br>&gt; &gt; &gt; the Parrinello-Rahman barostat between 3.3.x and 4.0.x.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; -Justin<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Guang-Jun<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Date: Sat, 28 Feb 2009 07:19:30 -0500<br>&gt; &gt; &gt; &gt; &gt; From: jalemkul@vt.edu<br>&gt; &gt; &gt; &gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; &gt; Subject: Re: [gmx-users] Cannot obtain the expected pressure using<br>&gt; &gt; &gt; &gt; the Parrinello-Rahman coupling in a gas-liquid system<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; GuoGuangjun wrote:<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Hi, All,<br>&gt; &gt; &gt; &gt; &gt; &gt; I am simulating an interface system composed of methane gas and <br>&gt; &gt; liquid<br>&gt; &gt; &gt; &gt; &gt; &gt; water in the NPT ensemble. The temperature is well controlled <br>&gt; &gt; by using<br>&gt; &gt; &gt; &gt; &gt; &gt; either the Berendsen or the Nose-Hoover T-couplings. As for <br>&gt; &gt; pressure,<br>&gt; &gt; &gt; &gt; &gt; &gt; the Berendsen P-coupling also works well. However, the<br>&gt; &gt; &gt; &gt; Parrinello-Rahman<br>&gt; &gt; &gt; &gt; &gt; &gt; P-coupling always produces a higher pressure than the expected. For<br>&gt; &gt; &gt; &gt; &gt; &gt; example, I set ref_p=300 bar in the mdp file but obtain an average<br>&gt; &gt; &gt; &gt; &gt; &gt; pressure as ~330 bar (over 0.5 ns). I test the tau_p in the range<br>&gt; &gt; &gt; &gt; 0.1 ~<br>&gt; &gt; &gt; &gt; &gt; &gt; 10 ps, the case does not change. When I test the sin! ! gle-phase<br>&gt; &gt; &gt; &gt; system,<br>&gt; &gt; &gt; &gt; &gt; &gt; i.e., pure water, the Parrinello-Rahman P-coupling can indeed <br>&gt; &gt; produce<br>&gt; &gt; &gt; &gt; &gt; &gt; the expected pressure with the deviation less than 2 bar. What <br>&gt; &gt; is the<br>&gt; &gt; &gt; &gt; &gt; &gt; matter in the two-phase system?<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; When I've used the Parrinello-Rahman barostat for membrane systems,<br>&gt; &gt; &gt; &gt; it works<br>&gt; &gt; &gt; &gt; &gt; just fine. Perhaps 500 ps is too short of a timeframe to arrive at<br>&gt; &gt; &gt; &gt; the average.<br>&gt; &gt; &gt; &gt; &gt; Heterogeneous systems often take longer to equilibrate.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; -Justin<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Thanks a lot.<br>&gt; &gt; &gt; &gt; &gt; &gt; Guang-Jun<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt; &gt; &gt; &gt; 立刻下载 MSN 保护盾,保障 MSN 安全稳定! 现在就下载!<br>&gt; &gt; &gt; &gt; &gt; &gt; &lt;http://im.live.cn/safe/&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; &gt; &gt;! ! ; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; &gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; &gt; &gt; &gt; Please search the archive at http://www.gromacs.org/search before<br>&gt; &gt; &gt; &gt; posting!<br>&gt; &gt; &gt; &gt; &gt; &gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; &gt; &gt; &gt; &gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &gt; &gt; &gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; --<br>&gt; &gt; &gt; &gt; &gt; ========================================<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Justin A. Lemkul<br>&gt; &gt; &gt; &gt; &gt; Graduate Research Assistant<br>&gt; &gt; &gt; &gt; &gt; Department of Biochemistry<br>&gt; &gt; &gt; &gt; &gt; Virginia Tech<br>&gt; &gt; &gt; &gt; &gt; Blacksburg, VA<br>&gt; &gt; &gt; &gt; &gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; &gt; &gt; &gt; &gt; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; ========================================<br>&gt; &gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; &gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; &gt; &gt; Please! ! search the archive at http://www.gromacs.org/search before<br>&gt; &gt; &gt; &gt; posting!<br>&gt; &gt; &gt; &gt; &gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; &gt; &gt; &gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &gt; &gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt; &gt; 你和你的爱人都去过哪里?快来微软地图一起绘制爱的地图吧! 立即查看!<br>&gt; &gt; &gt; &gt; &lt;http://ditu.live.com/?form=MICHAJ &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; ========================================<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Justin A. Lemkul<br>&gt; &gt; &gt; Graduate Research Assistant<br>&gt; &gt; &gt; Department of Biochemistry<br>&gt; &gt; &gt; Virginia Tech<br>&gt; &gt; &gt; Blacksburg, VA<br>&gt; &gt; &gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; &gt; &gt; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; ========================================<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; Please search the archive at http://www.gromacs.org/search before <br>&gt; &gt; posting!<br>&gt; &gt; &gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; &gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; 你和你的爱人都去过哪里?快来微软地图一起绘制爱的地图吧! 立即查看! <br>&gt; &gt; &lt;http://ditu.live.com/?form=MICHAJ&gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Express yourself instantly with MSN Messenger! MSN Messenger <br>&gt; &gt; &lt;http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/&gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; MSN 9.0 正式版上线,捆绑免费25G网络硬盘! 立刻下载! <br>&gt; &gt; &lt;http://im.live.cn/msn9/&gt;<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; David van der Spoel, Ph.D., Professor of Biology<br>&gt; Molec. Biophys. group, Dept. of Cell &amp; Molec. Biol., Uppsala University.<br>&gt; Box 596, 75124 Uppsala, Sweden. Phone: +46184714205. Fax: +4618511755.<br>&gt; spoel@xray.bmc.uu.se spoel@gromacs.org http://folding.bmc.uu.se<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br><hr>你和你的爱人都去过哪里?快来微软地图一起绘制爱的地图吧! <a href="http://ditu.live.com/?form=MICHAJ%20">立即查看!</a><br><hr>Express yourself instantly with MSN Messenger! <a href="http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/">MSN Messenger</a><br /><hr />See all the ways you can stay connected <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>to friends and family</a></body>
</html>