<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 27, 2012 at 2:53 PM, Thomas Schlesier <span dir="ltr">&lt;<a href="mailto:schlesi@uni-mainz.de" target="_blank">schlesi@uni-mainz.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am <a href="tel:27.04.2012%2015" value="+12704201215" target="_blank">27.04.2012 15</a>:31, schrieb <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Gmx Users,<br>
<br>
I run umbrella sampling simulation and for one window I lost my files:<br>
pullf.xvg and pullx.xvg.<br>
Is there any way to extract it based on the trajectory from this window?<br>
<br>
Steven<br>
</blockquote>
<br>
Should be possible, but you will be limited to the output-rate of your trajectory:<br></blockquote><div><br>Thank you a lot :) This sentence gave me the answer :)<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

You should be able to extract the position of the pulled (PULL) and reference (REF) group from the trajectory. From this you can recalculate the pullx.xvg (think it&#39;s position of REF, then vector connecting both groups).<br>

>From the position of REF and the input for the pulling, you can calculate the position of the origin of the umbrella potential. Then just calculate the distance of the PULL to this origin to get the &#39;extension&#39; -&gt; multiply by the force constant and you get the force.<br>

<br>
If you had &#39;pull_geometry=distance&#39; it&#39;s trivial:<br>
(1) &#39;pull_init&#39; is distance REF to origin<br>
(2) &#39;g_dist&#39; to get distance from REF to PULL<br>
(1)-(2) gives distance of PULL to origin<br>
* force constant -&gt; force<br>
<br>
For the other options it&#39;s also straight forward:<br>
in the end you want to know the distance of the umbrella origin - PULL<br>
* from input you know the distance REF - origin<br>
* &#39;g_dist&#39; gives you the distance REF - PULL<br>
<br>
Thing to note:<br>
* Depending on the using of &#39;pull_start&#39; you need to modify &#39;pull_init&#39;<br>
If you have &#39;pull_start=yes&#39;, just use &#39;g_dist&#39; to get the initial distance of REF to PULL, add this to &#39;pull_init&#39;<br>
* If you pull only in one dimension, just only use this dimension and not just the whole vector<br>
<br>
Greetings<span class="HOEnZb"><font color="#888888"><br>
Thomas<br>
-- <br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/<u></u>mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists</a><br>
</font></span></blockquote></div><br></div>