<br><br><div class="gmail_quote">On 6 April 2011 19:28, Justin A. Lemkul <span dir="ltr">&lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
Elisabeth wrote:<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
On 6 April 2011 15:01, Michael Brunsteiner &lt;<a href="mailto:mbx0009@yahoo.com" target="_blank">mbx0009@yahoo.com</a> &lt;mailto:<a href="mailto:mbx0009@yahoo.com" target="_blank">mbx0009@yahoo.com</a>&gt;&gt; wrote:<br>

<br>
<br>
    Elisabeth,<br>
<br>
    You CAN, in fact calculate the contribution of the reciprocal part<br>
    of the PME energy to the binding energy between two components in<br>
    a heterogeneous system, its just quite tedious...<br>
    say, your system is molecules A and B for which you want to know<br>
    the interaction energy, and the rest of the system, typically<br>
    the solvent, we call C.<br>
    Now your total Reciprocal Coulomb energy will have six parts:<br>
    ER_tot = ER_AA + ER_BB + ER_CC + ER_AB + ER_AC + ER_BC<br>
    but these parts are NOT given in the gromacs output as they<br>
    cannot be calculated DIRECTLY, you have to calculate<br>
    them by setting the charges on A, B, or C (or combinations thereof)<br>
    to zero (there is a tool for setting the charges in a tpr file<br>
    to zero) and then do more runs with: &quot;mdrun -rerun&quot; based on the<br>
    original trajectory to get the required contributions.<br>
<br>
    then E_AB = ER_C0 - ER_A0C0 - ER_B0C0<br>
<br>
    (or something like it, do double check that formula, i can&#39;t be bothered<br>
    thinking it through now ... here ER_A0C0, for example,  is the<br>
    reciprocal<br>
    part of the coulomb energy with charges in groups A and C set to<br>
    zero, etc)<br>
<br>
    this being said ... it&#39;s tedious, time-consuming, and error-prone<br>
    (you need to use double precision and save a lot of frames to<br>
    get reasonably accurate numbers)<br>
<br>
<br>
 <br>
    You might be better off using reaction field, or PME and simply<br>
    ignore the reciprocal part altogether (if your molecules A, B<br>
    are NOT charged and have no permanent and large dipole moment<br>
    you might get away with the latter)<br>
<br>
Thanks for your elaborate message.<br>
<br>
The point is in my case there is no option other than ignoring LR since LR is not covered by shift or switch functions but at least what PME reports for SR is more accurate. So the decomposed Coulmb. SR terms I am getting using energy groups from PME are &quot;reliable ?<br>

<br>
</blockquote>
<br></div></div>
I don&#39;t understand your question entirely, so hopefully someone else can comment.</blockquote><div> </div><div><br>Hi Justin,<br><br>I am using PME and extract decomposed Coulmb. SR terms using energy groups from g_energy. As we discussed LR terms (coulmb recip) can not be decomposed. What I want to make sure about is that at least energy groups give reliable PME Coulmb. SR terms.. Reading your statement below makes me interpret that both PME related terms i.e SR and LR (coulmb recip.) can no be decomposed. <br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">so again I am copying your statement : &quot;The <b>PME-related terms</b> contain both solute-solvent, solvent-solvent, and potentially solute-solute terms (depending  on the size and nature of the solute), so trying to interpret this term in some pairwise fashion is an exercise in futility.&quot;<br>
</div></blockquote><div><br>  
In other words <b>if one needs to obtain decomposed nonbonded intermolecular terms</b>, 
PME is not an option and maybe shift potentials must be used. Is that what you mean?<br><br>I appreciate any clarification on  <b>&quot;PME-related terms&quot;</b>...<br><br>Thanks :)<br>Best,<br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
BTW: I am dealing with non polar particles i.e alkanes and carbon and hydrogen are the only species I have. Can you please tell me about the tool in tpr file that sets all charges to zero..I might use this to check how turning off electrostatics affects properties.<br>

<br>
</blockquote>
<br></div>
tpbconv -zeroq<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
and just a little question: I am unclear about LJ-14 and Coulomb-14 too. Are these included in LJ-SR and Coulomb-SR or for each pair one needs to add up the respective 14 term? i.e A-B LJ-14 + A-B LJ-SR + A-B Coulomb-14 + A-B Coulomb-SR to get nonbonded inter molecular energy for A-B components? If they are already included what is the point of reporting them separately?<br>

<br>
</blockquote>
<br></div>
1-4 interactions are intramolecular, not intermolecular.  Every nonbonded energy term that is listed in the .edr file is a separate entity.<br>
<br>
-Justin<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Thank you so much,<br>
<br>
<br>
<br>
<br>
<br>
 <br>
    What Justin said is correct, PME (or any other Ewald-like<br>
    method, PPPM, FMA, etc) is standard these days, and for a good reason.<br>
    However, different properties are affected to a different<br>
    extent by neglecting the long range interactions, and for<br>
    what you want to calculate it might be OK for getting at least<br>
    a qualitative answer, as long as you use PME for the actual MD.<br>
    (I&#39;d be VERY surprised if everybody who did LIE in the last 10<br>
    years went through the trouble outlined above)<br>
<br>
    have fun!<br>
<br>
    mic<br>
<br>
<br>
<br>
<br>
<br>
    Elisabeth wrote:<br>
     &gt; Hello Justin,<br>
     &gt;<br>
     &gt; Several days ago you answered my question about calculating nonbonded<br>
     &gt; terms:<br>
     &gt;<br>
     &gt; Question: If I want to look at nonboded interactions only, do I<br>
    have to<br>
     &gt; add  Coul. recip.  to [ LJ (SR)  + Coulomb (SR) ] ?<br>
     &gt;<br>
     &gt; Answer: The PME-related terms contain both solute-solvent,<br>
     &gt; solvent-solvent, and potentially solute-solute terms (depending<br>
    on the<br>
     &gt; size and nature of the solute), so trying to interpret this term<br>
    in some<br>
     &gt; pairwise fashion is an exercise in futility.<br>
     &gt;<br>
     &gt; my question is if I want to add up nonbonded related terms to get<br>
    inter<br>
     &gt; molecular energies, do I have to add Coul. recip. or it is already<br>
     &gt; included in Coulomb (SR)?<br>
     &gt;<br>
<br>
    They are separate energy terms.  The PME mesh terms is &quot;Coul.<br>
    recip.&quot; and the<br>
    short-range interactions (contained within rcoulomb, calculated by a<br>
    modified<br>
    switch potential) are &quot;Coulomb (SR).&quot;<br>
<br>
     &gt; and also, for a A-B system, I have been using energy groups to<br>
    extract<br>
     &gt; solute-solvent, solvent-solvent, solute-solute terms. Did you<br>
    mean that<br>
     &gt; applying doing so with PME as electrostatics treatment is not<br>
    correct?<br>
     &gt;<br>
<br>
    PME has been consistently shown to be one of the most accurate<br>
    long-range<br>
    electrostatics methods and is widely used, but in your case is<br>
    preventing you<br>
    from extracting the quantity you&#39;re after (if it can even be<br>
    reasonably defined<br>
    at all).  Using energygrps will not resolve the problem I described<br>
    above.  The<br>
    &quot;Coul. recip.&quot; term contains long-range energies between<br>
    (potentially) A-B, A-A,<br>
<br>
    and B-B, depending on the nature of what A and B are.  The only<br>
    terms that are<br>
    decomposed via energygrps are the short-range terms, which are<br>
    calculated<br>
    pairwise.  Thus, with PME, there is no straightforward way to simply<br>
    define an<br>
    &quot;intermolecular energy&quot; for a heterogeneous system.  You might be<br>
    able to define<br>
<br>
    such a term for a completely homogeneous system (which also assumes<br>
    that the<br>
    sampling has converged such that the charge densities etc are<br>
    uniform...but I&#39;m<br>
    sort of thinking out loud on that), but not one that is a mixture.<br>
<br>
    -Justin<br>
<br>
     &gt; Thanks for your help!<br>
     &gt; Best,<br>
     &gt;<br>
     &gt;<br>
     &gt;<br>
<br>
    --<br>
<br>
    --<br>
    gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br></div></div>
    &lt;mailto:<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a>&gt;<div class="im"><br>
    <a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
    Please search the archive at<br>
    <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
    Please don&#39;t post (un)subscribe requests to the list. Use the<br>
    www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a><br></div>
    &lt;mailto:<a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>&gt;.<div class="im"><br>
    Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
<br>
</div></blockquote>
<br>
-- <br>
========================================<br>
<br>
Justin A. Lemkul<br>
Ph.D. Candidate<br>
ICTAS Doctoral Scholar<br>
MILES-IGERT Trainee<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
<a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
<br>
========================================<br><font color="#888888">
-- <br></font><div><div></div><div class="h5">
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/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/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/Support/Mailing_Lists</a><br>
</div></div></blockquote></div><br>