<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
But you can not talk about popping back, since there is pbc.<br>What matters is how the pull code determines the distance.<br>At least in 4.0.4 and 4.0.5 it add the rate*t before doing pbc,<br>such that it pulls smoothly even if the distance is larger than the box.<br>But if your force constant is only 1000 it might lag by a lot.<br>Furthermore, if you did not use pull_start, it might start at a random<br>distance with an enormous force.<br><br>Berk<br><br>&gt; Date: Wed, 2 Sep 2009 15:48:56 +0200<br>&gt; From: alexander.herz@mytum.de<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] t_trxframe speed units<br>&gt; <br>&gt; Yes, the diamond moves through the complete sim box (eg. from left to<br>&gt; right) before it pops back to the left side due to pbc.<br>&gt; But looking at the diamond speed (which is increasing) it looks as if<br>&gt; the afm tip is not shifted back to the left side when it leaves the sim<br>&gt; box at the right side. If that was the case then the distance of the tip<br>&gt; and the group would increase all the time<br>&gt; (after the diamond has been shifted back to the left side the first time<br>&gt; due to pbc but the afm is not shifted back) which would explain the<br>&gt; increasing speed of the diamond.<br>&gt; <br>&gt; Let me rephrase the question, what happens with the pull position when<br>&gt; it reaches the box boundaries??<br>&gt; Is it shifted back (so pull_pos[XX]-=box[XX][XX]) or not? Also, are the<br>&gt; atoms shifted back when they leave the box?<br>&gt; <br>&gt; Berk Hess schrieb:<br>&gt; &gt; I don't understand what you want to say.<br>&gt; &gt; The diamond does move a lot right?<br>&gt; &gt;<br>&gt; &gt; I think the main problem might be that you use an umbrella potential<br>&gt; &gt; will an very small force constant (for such large groups).<br>&gt; &gt; Try using pull=constraint.<br>&gt; &gt; (and use pull_start=yes)<br>&gt; &gt;<br>&gt; &gt; Berk<br>&gt; &gt;<br>&gt; &gt; &gt; Date: Wed, 2 Sep 2009 15:22:45 +0200<br>&gt; &gt; &gt; From: alexander.herz@mytum.de<br>&gt; &gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; Subject: Re: [gmx-users] t_trxframe speed units<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; hm..<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; after thinking about this for a sec I'd say I'm missing an option to<br>&gt; &gt; &gt; apply the pbc to the pull position.<br>&gt; &gt; &gt; Currently it looks as if the position of the "afm tip" is moving in<br>&gt; &gt; &gt; absolute coordinates further and further away from the original position<br>&gt; &gt; &gt; while the diamonds stay in the original box due to applied pbc.<br>&gt; &gt; &gt; Therefore the distance of the diamond to the<br>&gt; &gt; &gt; "afm tip" is increasing and hence the force grows bigger and bigger. If<br>&gt; &gt; &gt; I could apply the pbc to the afm position as well then<br>&gt; &gt; &gt; everything would work as expected??<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Alex<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Berk Hess schrieb:<br>&gt; &gt; &gt; &gt; Then you were lucky with Gromacs 3.<br>&gt; &gt; &gt; &gt; The pull code in Gromacs 3 does not treat pbc at all,<br>&gt; &gt; &gt; &gt; so I am surprised that it worked.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I just realized that pull_pbcatom is always set in Gromacs 4.<br>&gt; &gt; &gt; &gt; Maybe it would be enough to add pull_start=yes.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Berk<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Date: Wed, 2 Sep 2009 14:38:35 +0200<br>&gt; &gt; &gt; &gt; &gt; From: alexander.herz@mytum.de<br>&gt; &gt; &gt; &gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; &gt; Subject: Re: [gmx-users] t_trxframe speed units<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; I will try this, thx for the help.<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Anyways, what is the correct way to do what I want with gromacs 4?<br>&gt; &gt; &gt; &gt; &gt; (apparently the setup I tryed to use worked for gromacs 3, since I<br>&gt; &gt; &gt; &gt; &gt; ported the input data<br>&gt; &gt; &gt; &gt; &gt; from old sims and now I'm trying to recreate the old results).<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Alex<br>&gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; Berk Hess schrieb:<br>&gt; &gt; &gt; &gt; &gt; &gt; The simple issue is that a center of mass is not uniquely defined<br>&gt; &gt; &gt; &gt; &gt; &gt; for a periodic group of particles.<br>&gt; &gt; &gt; &gt; &gt; &gt; If you work on the velocity level, this problem is easy to solve.<br>&gt; &gt; &gt; &gt; &gt; &gt; But the pull code works on the coordinate level.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Try with pull_pbcatom set, it might work.<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt; Berk<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; Date: Wed, 2 Sep 2009 14:11:11 +0200<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; From: alexander.herz@mytum.de<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; Subject: Re: [gmx-users] t_trxframe speed units<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; We wanted to use 2 slabs so that the net impuls is conserved.<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; Also I'm looking at the slip length, so I actually want to<br>&gt; &gt; &gt; &gt; extract the<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; velocity profile of the water in between the two diamond<br>&gt; &gt; slabs. I'm<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; pulling in x (the pull setup is reproduced at the bottom of<br>&gt; &gt; the old<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; mail) and I'm using pbc in 3d.<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; What is the problem with pulling the diamond slabs at const<br>&gt; &gt; speed? I<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; don't actually care where exactly they are.<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; I only care about the boundary condition at the diamond water<br>&gt; &gt; &gt; &gt; interface<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; (so that the diamond moves along the surface<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; with v=cst). I mean, I'm pulling with "direction" not distance,<br>&gt; &gt; &gt; &gt; why does<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; "direction" care about the COM distance?<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; Would it work with absolute coords (empty pullgroup0,<br>&gt; &gt; &gt; &gt; pullgroup1=DIAM1<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; and pullgroup2=DIAM2)??<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; Alex<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt; Berk Hess schrieb:<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt; Ah, maybe now I understand the issue.<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt; Are you pulling in x and are the slabs periodic in x?<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt; That will not work, as the COM is not defined in a periodic<br>&gt; &gt; &gt; &gt; direction<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt;<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt; _______________________________________________<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; &gt; &gt; &gt;&gt;&gt; Please search the archive at http://www.gromacs.org/search<br>&gt; &gt; &gt; &gt; before posting!<br>&gt; &gt; &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;&gt;&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &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; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; &gt; http://lists.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; Express yourself instantly with MSN Messenger! MSN Messenger<br>&gt; &gt; &gt; &gt; &lt;http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/&gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; &gt; Please search the archive at http://www.gromacs.org/search before<br>&gt; &gt; posting!<br>&gt; &gt; &gt; &gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; &gt; &gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<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://lists.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; 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;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; &gt; http://lists.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; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.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 />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>