<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi,<br><br>Maybe it is not so clear from the topology table in the manual, but when you supply<br>sigma and epsilon as non-bonded parameters, as for OPLS, the nonbond_params<br>section also expects sigma and epsilon.<br>So it seems you could not set only C6 to zero.<br>However there is an, undocumented, trick: if you use a negative sigma,<br>C6 is set to zero.<br><br>Berk<br><br>&gt; Date: Wed, 1 Dec 2010 10:42:11 -0500<br>&gt; From: nishap.patel@utoronto.ca<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] C6 attractive term off OPLSAA<br>&gt; <br>&gt; I see. I actually want to compare my RDFs with C6 term off. Earlier I  <br>&gt; tried using force.c code file and turned C6 = 0, but when i compared  <br>&gt; my RDFs, it didn't look any different so I am not sure if it even  <br>&gt; worked at all or made any difference to the simulation, but again I  <br>&gt; was using OPLS-AA and the nb.itp file itself does not indicate value  <br>&gt; for C6 or C12.<br>&gt; <br>&gt; If there any other way I could achieve this?<br>&gt; <br>&gt; <br>&gt; <br>&gt; Quoting "Justin A. Lemkul" &lt;jalemkul@vt.edu&gt;:<br>&gt; <br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; nishap.patel@utoronto.ca wrote:<br>&gt; &gt;&gt; I ran the simulation using a different force field ffG53a6. I   <br>&gt; &gt;&gt; modified the ffG53a6nb.itp file by changing the term C6 to zero for  <br>&gt; &gt;&gt;  nonbonded parameters, but this time for urea in water. The   <br>&gt; &gt;&gt; simulation ran fine without any warning or exploding. I don't   <br>&gt; &gt;&gt; understand why it would work with one force-field and not with   <br>&gt; &gt;&gt; OPLS-AA.<br>&gt; &gt;&gt;<br>&gt; &gt;<br>&gt; &gt; I don't understand why it worked at all, frankly, but more than likely<br>&gt; &gt; you've been lucky enough to make 53a6 work, but OPLS-AA failed.  You're<br>&gt; &gt; making significant alterations to the nonbonded interactions of the<br>&gt; &gt; system.<br>&gt; &gt;<br>&gt; &gt;&gt; Also using mdrun -rerun, I would basically use the nb.itp file with  <br>&gt; &gt;&gt;  nonbonded parameters as mentioned earlier and everything else is   <br>&gt; &gt;&gt; the same i.e. my .mdp parameters and do another run using my   <br>&gt; &gt;&gt; previous trajectory file? I tried to look through some of the posts  <br>&gt; &gt;&gt;  for using -rerun but I don't understand how that would not still   <br>&gt; &gt;&gt; blow up the system. I would like to give it a try for sure but I am  <br>&gt; &gt;&gt;  not quite sure how I would use the command as such.<br>&gt; &gt;&gt;<br>&gt; &gt;<br>&gt; &gt; Using mdrun -rerun recalculates energies from an existing trajectory.<br>&gt; &gt; You would generate a trajectory with a normal force field model, then<br>&gt; &gt; create a new .tpr file that has your modified potential, such that you<br>&gt; &gt; can decompose the energy terms cleverly.  If your goal is to generate<br>&gt; &gt; trajectories to study the effects of using a modified potential (i.e.,<br>&gt; &gt; C6 = 0), then you can't use -rerun.<br>&gt; &gt;<br>&gt; &gt; -Justin<br>&gt; &gt;<br>&gt; &gt;&gt; I really appreciate the help.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Thanks.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Quoting Mark Abraham &lt;Mark.Abraham@anu.edu.au&gt;:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; On 1/12/2010 5:06 AM, Justin A. Lemkul wrote:<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; nishap.patel@utoronto.ca wrote:<br>&gt; &gt;&gt;&gt;&gt;&gt; I tried using the nonbonded parameters as defined below in my    <br>&gt; &gt;&gt;&gt;&gt;&gt; ffoplsaanb.itp file for methanol in water and this is the syntax  <br>&gt; &gt;&gt;&gt;&gt;&gt;  I  used:<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt; [nonbond_params    ]<br>&gt; &gt;&gt;&gt;&gt;&gt; ;i    j    func    c6    c12<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_154    opls_111    1    0.00E+000    2.43E-006<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_154    opls_112    1    0.00E+000    0.00E+000<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_154    opls_112  1    0.00E+000    0.00E+000<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_155    opls_111  1    0.00E+000    0.00E+000<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_155    opls_112  1    0.00E+000    0.00E+000<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_155    opls_112  1    0.00E+000    0.00E+000<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_156    opls_111  1    0.00E+000    2.70E-007<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_156    opls_112  1    0.00E+000    0.00E+000<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_156    opls_112    1    0.00E+000    0.00E+000<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_157    opls_111  1    0.00E+000    3.01E-006<br>&gt; &gt;&gt;&gt;&gt;&gt; opls_157    opls_112  1    0.00E+000    0.00E+000<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt; When I tried to do mdrun, I got an error saying my system is    <br>&gt; &gt;&gt;&gt;&gt;&gt; exploding. I tried doing the mdrun without nonbonded parameters   <br>&gt; &gt;&gt;&gt;&gt;&gt;  and it runs fine. So I am not sure if I am using the    <br>&gt; &gt;&gt;&gt;&gt;&gt; nonbond_params concept correctly. i.e. I want C6 to be zero    <br>&gt; &gt;&gt;&gt;&gt;&gt; between my solute (methanol) and solvent (water). This is the   <br>&gt; &gt;&gt;&gt;&gt;&gt; error:<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt; Warning: 1-4 interaction between 2 and 6 at distance 3.786 which  <br>&gt; &gt;&gt;&gt;&gt;&gt;   is larger than the 1-4 table size 2.500 nm<br>&gt; &gt;&gt;&gt;&gt;&gt; These are ignored for the rest of the simulation<br>&gt; &gt;&gt;&gt;&gt;&gt; This usually means your system is exploding,<br>&gt; &gt;&gt;&gt;&gt;&gt; if not, you should increase table-extension in your mdp file<br>&gt; &gt;&gt;&gt;&gt;&gt; or with user tables increase the table size<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt; Suggestions?<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Your implementation of your concept is technically correct, but    <br>&gt; &gt;&gt;&gt;&gt; perhaps physically unreasonable.  You're turning off the   <br>&gt; &gt;&gt;&gt;&gt; attractive  LJ component and leaving only a repulsive component.   <br>&gt; &gt;&gt;&gt;&gt;  It sounds  about right that everything is flying apart.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Indeed. The way to do this is with mdrun -rerun on a trajectory<br>&gt; &gt;&gt;&gt; generated with the normal version of the forcefield, as I think I said<br>&gt; &gt;&gt;&gt; in another thread yesterday.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Mark<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; -Justin<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt; Thanks.<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt; -Nisha P<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt; Quoting nishap.patel@utoronto.ca:<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; Okay I am going to give it a try. I just wanted to make sure I was<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; calculating C6 and C12 correctly as well using sigma and epsilon<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; according to rule 3<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; C12 = Sigma^(6)*C6<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; C6 = 4*sigma^(6)*epsilon<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; Thanks<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt; Quoting "Justin A. Lemkul" &lt;jalemkul@vt.edu&gt;:<br>&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;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; nishap.patel@utoronto.ca wrote:<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hello,<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I have a concern regarding C6 attractive term in LJ   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; potential.  I  am using OPLS-AA force field, and I wish to   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; turn off  attractive   term C6 by setting the parameters to   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; zero. One of  the suggestion   was to add a [nonbond_params]   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; in my  ffoplsaanb.itp file and set  the  C6 to zero between   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the  non-bonded pair. In my system for  example,  which   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; consists of  one methanol in water, I wish to set  C6 term to  <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   zero between  my solute and solvent. Since OPLSAA is  all   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; atom force  field  it treats each atom individually and has    <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; sigma and epsilon   for each atom, so I am not sure how I   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; would  actually set my   nonbond_params in my nb.itp file. I   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; realize I  need to convert  each  sigma and epsilon to C6 and  <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;  C12, so say for  example for  methanol in  water my   <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [nonbond_params] would look  something  like this?<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; [ nonbond_params ]<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ; i    j func          c6           c12<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   CT        OW  1   0.00      calculated value for C12 here?<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   CT        HW1  1  0.00<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;   CT        HW2  1  0.00<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; CT is the carbon in Methanol. OW, HW1 an HW2 correspond to    <br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; atoms  in  TIP3P water model<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is that correct? Would I have to do that for each atom in methanol?<br>&gt; &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; Sounds about right to me.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; -Justin<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Any suggestions would be appreciated.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Thanks.<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Nisha P<br>&gt; &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; -- <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; Justin A. Lemkul<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Ph.D. Candidate<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; ICTAS Doctoral Scholar<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; MILES-IGERT Trainee<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Department of Biochemistry<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Virginia Tech<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Blacksburg, VA<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<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; -- <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<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; http://www.gromacs.org/Support/Mailing_Lists/Search before posting!<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Please don't post (un)subscribe requests to the list. Use the www<br>&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; 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/Support/Mailing_Lists<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&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<br>&gt; &gt;&gt;&gt; http://www.gromacs.org/Support/Mailing_Lists/Search before posting!<br>&gt; &gt;&gt;&gt; Please don't post (un)subscribe requests to the list. Use the www<br>&gt; &gt;&gt;&gt; interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt;&gt;&gt; Can't post? Read http://www.gromacs.org/Support/Mailing_Lists<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;<br>&gt; &gt; -- <br>&gt; &gt; ========================================<br>&gt; &gt;<br>&gt; &gt; Justin A. Lemkul<br>&gt; &gt; Ph.D. Candidate<br>&gt; &gt; ICTAS Doctoral Scholar<br>&gt; &gt; MILES-IGERT Trainee<br>&gt; &gt; Department of Biochemistry<br>&gt; &gt; Virginia Tech<br>&gt; &gt; Blacksburg, VA<br>&gt; &gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; &gt; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<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<br>&gt; &gt; http://www.gromacs.org/Support/Mailing_Lists/Search before posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the www<br>&gt; &gt; interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/Support/Mailing_Lists<br>&gt; <br>&gt; <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/Support/Mailing_Lists/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/Support/Mailing_Lists<br>                                               </body>
</html>