<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title></title>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
  margin: 5px 5px 5px 5px;
  background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
 font-size: 9pt;
 font-family: 'Courier New';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
span.rvts1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000ff;
}
span.rvts2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
span.rvts3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
span.rvts6
{
 font-size: 11pt;
 font-family: 'segoe ui';
 font-weight: bold;
 color: #ffffff;
 background-color: #0000ff;
}
span.rvts7
{
 font-size: 11pt;
 font-family: 'segoe ui';
}
a.rvts8, span.rvts8
{
 font-size: 11pt;
 font-family: 'segoe ui';
 color: #0000ff;
 text-decoration: underline;
}
span.rvts9
{
 font-size: 8pt;
 font-family: 'arial';
 font-style: italic;
 color: #c0c0c0;
}
a.rvts10, span.rvts10
{
 font-size: 8pt;
 font-family: 'arial';
 color: #0000ff;
 text-decoration: underline;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
 text-align: center;
}
--></style>
</head>
<body>

<p>Hi,</p>
<p><br></p>
<p>Thanks for your suggestion. Just before we try this: the point of what I am doing is _not_ making CNT/graphene simply "run" in solvent, I know it can be done. I specifically want to reparameterize the bond, angle, and the dihedral constants with something that I know to be at least somewhat representative of graphene and isn't something from oplsaa, which comes from an entirely different paradigm. The Andrea Minoia's tutorial actually allows that level of flexibility.&nbsp;</p>
<p><br></p>
<p>What I understand from your suggestion is that nb parameters will be set, while all bonded parameters will be inherited from oplsaa. I am not interested in that. Can it be extended toward actually specifying the bond, angle, and dihedral energy constants, as well as their types?&nbsp;</p>
<p><br></p>
<p>For instance, I am comfortable with the bond type 1, angle type 2 (G96) and dihedral type #3 (Ryckaert-Bellemans), and I have exact constant values so that the experimental phonon spectrum of graphene is reproduced relatively closely. It may not matter much in a biomolecular simulation, but this level of flexibility should be available.</p>
<p><br></p>
<p>Any thoughts?</p>
<p><br></p>
<p>Thank you,</p>
<p><br></p>
<p>Alex</p>
<p><br></p>
<p><br></p>
<p><br></p>
<div><table border=0 cellpadding=1 cellspacing=2>
<tr valign=top>
<td width=11 style="background-color: #0000ff;">
<p><span class=rvts6>&gt;</span></p>
</td>
<td width=1215 style="background-color: #ffffff;">
<p><span class=rvts7>HI,&nbsp;</span></p>
<p><br></p>
<p><span class=rvts7>&nbsp;Copy the oplsaa.ff directory to your working directory. Then in ffnonbonded.itp file add the following lines..</span></p>
<p><span class=rvts7>&nbsp;opls_995 &nbsp; C &nbsp; &nbsp; &nbsp;6 &nbsp; &nbsp;12.01100 &nbsp; &nbsp; 0.000 &nbsp; &nbsp; &nbsp; A &nbsp; &nbsp;3.40000e-01 &nbsp;3.61200e-01</span></p>
<p><span class=rvts7>&nbsp;opls_996 &nbsp; C &nbsp; &nbsp; &nbsp;6 &nbsp; &nbsp;12.01100 &nbsp; &nbsp; 0.000 &nbsp; &nbsp; &nbsp; A &nbsp; &nbsp;3.40000e-01 &nbsp;3.61200e-01</span></p>
<p><span class=rvts7>&nbsp;opls_997 &nbsp; C &nbsp; &nbsp; &nbsp;6 &nbsp; &nbsp;12.01100 &nbsp; &nbsp; 0.000 &nbsp; &nbsp; &nbsp; A &nbsp; &nbsp;3.40000e-01 &nbsp;3.61200e-01</span></p>
<p><br></p>
<p><span class=rvts7>Here you can modify the non bonded parameters.&nbsp;</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>Then in &nbsp; atomname2type.n2t file add the following lines.</span></p>
<p><span class=rvts7>C &nbsp; &nbsp;opls_995 &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;12.011 &nbsp;2 &nbsp; &nbsp;C &nbsp;0.142 &nbsp;C 0.142</span></p>
<p><span class=rvts7>C &nbsp; &nbsp;opls_996 &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;12.011 &nbsp;3 &nbsp; &nbsp;C &nbsp;0.142 &nbsp;C 0.142 &nbsp;C 0.142</span></p>
<p><span class=rvts7>C &nbsp; &nbsp;opls_997 &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;12.011 &nbsp;1 &nbsp; &nbsp;C &nbsp;0.142</span></p>
<p><br></p>
<p><span class=rvts7>Then use g_x2top. This will work.</span></p>
<p><br></p>
<p><span class=rvts7>Thanks</span></p>
<p><span class=rvts7>Abhijit</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>On Mon, Mar 23, 2015 at 8:44 AM, Alex &lt;</span><a class=rvts8 href="mailto:nedomacho@gmail.com">nedomacho@gmail.com</a><span class=rvts7>&gt; wrote:</span></p>
<p><br></p>
<p><span class=rvts7>Hey Justin,</span></p>
<p><br></p>
<p><span class=rvts7>Great you had a moment to look at my post.</span></p>
<p><span class=rvts7>This is an impossible task without the coordinates input file, because this is now</span></p>
<p><span class=rvts7>the realm of solid-state physics, and there really isn't a single</span></p>
<p><span class=rvts7>"residue" that can be created once and for all. It could be really</span></p>
<p><span class=rvts7>cumbersome to post everything, and sort of useless to everyone at this</span></p>
<p><span class=rvts7>point, before we figure this out.</span></p>
<p><br></p>
<p><span class=rvts7>Would you be OK with me emailing you the input along with the simple series of steps? This way you won't</span></p>
<p><span class=rvts7>need to mess with the tutorials, I'll just show you exactly what works</span></p>
<p><span class=rvts7>on my end and what doesn't.</span></p>
<p><br></p>
<p><span class=rvts7>Thanks,</span></p>
<p><br></p>
<p><span class=rvts7>Alex</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>JL&gt; On 3/22/15 12:50 PM, Alex wrote:</span></p>
<p><span class=rvts7>&gt;&gt; Hi All,</span></p>
<p><span class=rvts7>&gt;&gt;</span></p>
<p><span class=rvts7>&gt;&gt; I'm sure you've seen this many times before, but I think it might help</span></p>
<p><span class=rvts7>&gt;&gt; those who have never done this before, are new to Gromacs, or, like</span></p>
<p><span class=rvts7>&gt;&gt; me, haven't done anything relatively advanced with it in a while.</span></p>
<p><span class=rvts7>&gt;&gt;</span></p>
<p><span class=rvts7>&gt;&gt; So, here goes. My intermediate goal here was a solvated sheet of</span></p>
<p><span class=rvts7>&gt;&gt; graphene, so I followed&nbsp;</span><a class=rvts8 href="http://www.gromacs.org/Documentation/How-tos/Carbon_Nanotube">http://www.gromacs.org/Documentation/How-tos/Carbon_Nanotube</a></p>
<p><span class=rvts7>&gt;&gt; under "Andrea Minoia's tutorial" pretty much to the word (there is a link</span></p>
<p><span class=rvts7>&gt;&gt; with the exact file content). Everything prior to solvating the system</span></p>
<p><span class=rvts7>&gt;&gt; worked without a hitch. To solvate the system, I used genbox, making</span></p>
<p><span class=rvts7>&gt;&gt; it also update the topology file (created with g_x2top). This is when</span></p>
<p><span class=rvts7>&gt;&gt; grompp started screaming about "defaults" duplicates, and, as I tried</span></p>
<p><span class=rvts7>&gt;&gt; removing the #include to cnt_oplsaa.ff/forcefield.itp from the</span></p>
<p><span class=rvts7>&gt;&gt; topology file and just put all parameters explicitly in there, there was a bunch of other problems.</span></p>
<p><span class=rvts7>&gt;&gt; Without going into detail of the latter, I don't think I know what I am doing at this</span></p>
<p><span class=rvts7>&gt;&gt; point.</span></p>
<p><span class=rvts7>&gt;&gt;</span></p>
<p><span class=rvts7>&gt;&gt; Can you please help with this task in a simple &amp; robust step-by-step way?</span></p>
<p><span class=rvts7>&gt;&gt; In fact, I'd like to write up an updated tutorial</span></p>
<p><span class=rvts7>&gt;&gt; based on our discussion, because, among other things,</span></p>
<p><span class=rvts7>&gt;&gt; Andrea's parameters are taken from oplsaa on aromatics, which can and</span></p>
<p><span class=rvts7>&gt;&gt; should be further refined. All input is greatly appreciated and I'd</span></p>
<p><span class=rvts7>&gt;&gt; especially love to hear from the Gromacs superhero Justin Lemkul. :)</span></p>
<p><span class=rvts7>&gt;&gt;</span></p>
<p><br></p>
<p><span class=rvts7>JL&gt; At a conference, so time is limited. &nbsp;Provide every step of what you did and any</span></p>
<p><span class=rvts7>JL&gt; problem you encountered. &nbsp;Generating the topology is the hard part; if that was</span></p>
<p><span class=rvts7>JL&gt; generated successfully, there (in principle) shouldn't be issues. I don't do</span></p>
<p><span class=rvts7>JL&gt; CNT simulations and don't follow those tutorials so I don't know how well they</span></p>
<p><span class=rvts7>JL&gt; are expected to work. &nbsp;The .n2t file for such species should be trivial to</span></p>
<p><span class=rvts7>JL&gt; create, and if it's derived from OPLS-AA, everything should be very straightforward.</span></p>
<p><br></p>
<p><span class=rvts7>JL&gt; -Justin</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>--</span></p>
<p><span class=rvts7>Gromacs Users mailing list</span></p>
<p><br></p>
<p><span class=rvts7>* Please search the archive at&nbsp;</span><a class=rvts8 href="http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List">http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List</a><span class=rvts7>&nbsp;before posting!</span></p>
<p><br></p>
<p><span class=rvts7>* Can't post? Read&nbsp;</span><a class=rvts8 href="http://www.gromacs.org/Support/Mailing_Lists">http://www.gromacs.org/Support/Mailing_Lists</a></p>
<p><br></p>
<p><span class=rvts7>* For (un)subscribe requests visit</span></p>
<p><a class=rvts8 href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users</a><span class=rvts7>&nbsp;or send a mail to&nbsp;</span><a class=rvts8 href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a><span class=rvts7>.</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>--&nbsp;</span></p>
<p><br></p>
<p><span class=rvts7>Abhijit kayal</span></p>
<p><span class=rvts7>Research Scholar</span></p>
<p><span class=rvts7>Theoretical Chemistry</span></p>
<p><span class=rvts7>IIT Kanpur</span></p>
</td>
</tr>
</table>
</div>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts9>--&nbsp;</span></p>
<p><span class=rvts9>Best regards,</span></p>
<p><span class=rvts9>&nbsp;Alex &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><a class=rvts10 href="mailto:nedomacho@gmail.com">mailto:nedomacho@gmail.com</a></p>

</body></html>