hey<div><br></div><div>another approach to do this without using energy group exclusion is to define non-bonded interactions parameter explicitly between atoms in ffnonbonded.itp file. You can specify sigma and epsilon to be zero in virtual sites atoms definition and specify individual pair interactions parameters using non-bonded interactions like following ...</div>
<div><br></div><div><div>; virtual site</div><div>VS1     0        0              0       D       0               0</div><div>VS2      0        0              0       D       0               0</div><div>VS3     0        0              0       D       0               0</div>
<div><br></div><div>[ nonbond_params ]</div><div>VS1     C     1       1.0             0.25</div><div>VS2     C     1       1.0             0.25</div><div>VS2     C     1       1.0             0.25</div><div><br></div><div>
--</div><div>sikandar</div><br><div class="gmail_quote">On Thu, May 5, 2011 at 11:47 AM, Gavin Melaugh <span dir="ltr">&lt;<a href="mailto:gmelaugh01@qub.ac.uk">gmelaugh01@qub.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Justin<br>
<br>
I do not intend to have charges on the sites. All I want is;<br>
when a CH3 group gets close to the site it feels a repulsive force. I<br>
have calculated a sigma and epsilon value for this interaction.<br>
<div class="im"><br>
Gavin<br>
<br>
Justin A. Lemkul wrote:<br>
&gt;<br>
&gt;<br>
</div><div class="im">&gt; Gavin Melaugh wrote:<br>
&gt;&gt; Hi Justin<br>
&gt;&gt;<br>
&gt;&gt; I am reading the manual at the moment. I want to include some virtual<br>
&gt;&gt; sites in my molecule so that only surrounding CH3s atom type C3 interact<br>
&gt;&gt; with then. All other atoms I don&#39;t want to interact with them. Do I<br>
&gt;&gt; create energy groups in the index file called say &quot;virtual sites&quot; and<br>
&gt;&gt; &quot;exclusions&quot;, and list all the indices of the atom types that I don&#39;t<br>
&gt;&gt; want to interact with the virtual site in one group and all the virtual<br>
&gt;&gt; sites in another.<br>
&gt;&gt; e.g<br>
&gt;&gt;<br>
&gt;&gt; [virtual sites]<br>
&gt;&gt; 17 18 19 20<br>
&gt;&gt;<br>
&gt;&gt; [virtsite_exclus]<br>
&gt;&gt; 1 2 3 4 5 6 7 8 9 .....<br>
&gt;&gt;<br>
&gt;<br>
&gt; In a general sense, yes, that&#39;s the right approach.  Note that if any<br>
&gt; of these sites is charged and/or you&#39;re using PME, then this whole<br>
&gt; exclusion thing goes out the window, as has been discussed several<br>
&gt; times in recent days.  Using energygrp_excl applies only to<br>
&gt; short-range nonbonded interactions.  If you need complete exclusion,<br>
&gt; you may have to look into tabulated potentials if this is the case.<br>
&gt;<br>
&gt; -Justin<br>
&gt;<br>
<br>
--<br>
</div><div><div></div><div class="h5">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>
</div></div></blockquote></div><br></div>