<br><br><div class="gmail_quote">On 6 April 2011 15:01, Michael Brunsteiner <span dir="ltr">&lt;<a href="mailto:mbx0009@yahoo.com">mbx0009@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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 reciprocal<br>
part of the coulomb energy with charges in groups A and C set to 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>
</blockquote><div><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 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></blockquote><div>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>
 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>
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>
Thank you so much,<br>
<br><br><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;">
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 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 on the<br>
&gt; size and nature of the solute), so trying to interpret this term 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 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. recip.&quot; and the<br>
short-range interactions (contained within rcoulomb, calculated by a 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 extract<br>
&gt; solute-solvent, solvent-solvent, solute-solute terms. Did you mean that<br>
&gt; applying doing so with PME as electrostatics treatment is not correct?<br>
&gt;<br>
<br>
PME has been consistently shown to be one of the most accurate long-range<br>
electrostatics methods and is widely used, but in your case is preventing you<br>
from extracting the quantity you&#39;re after (if it can even be reasonably defined<br>
at all).  Using energygrps will not resolve the problem I described above.  The<br>
&quot;Coul. recip.&quot; term contains long-range energies between (potentially) A-B, A-A,<br>
<br>
and B-B, depending on the nature of what A and B are.  The only terms that are<br>
decomposed via energygrps are the short-range terms, which are calculated<br>
pairwise.  Thus, with PME, there is no straightforward way to simply define an<br>
&quot;intermolecular energy&quot; for a heterogeneous system.  You might be able to define<br>
<br>
such a term for a completely homogeneous system (which also assumes that the<br>
sampling has converged such that the charge densities etc are 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>
<font color="#888888"><br>
--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">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<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">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>
</font></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>