<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>



Thank you very much for the suggestion.<br>&nbsp;Actually, I am trying to
reproduce the results from another publication (JACS 2005, 127, 7166)
http://pubs.acs.org/doi/full/10.1021/ja050044d where they used
Gromacs/amber to simulate a CNT.<font style="font-size: 10pt;" size="2"><font style="" face="Times New Roman"> They apply: </font></font>"Carbon−carbon bond lengths of 0.14 nm and bond angles of 120° were
maintained by harmonic potentials with spring constants of 393&nbsp;960 kJ
mol<sup>-</sup><sup>1</sup> nm<sup>-</sup><sup>2</sup> and 527 kJ mol<sup>-</sup><sup>1</sup> deg<sup>-</sup><sup>2</sup> before relaxation. In addition, a weak dihedral angle potential was applied to bonded carbon atoms.<sup>" <br><br></sup>So, as I understand, they apply RESTRAINTS to the bonds, angles and dihedrals.<br><br>I have tried to construct the [distance_restraints] for my system (I show you here a little part):<br><br>[ distance_restraints ]<br>; atom1&nbsp; atom2&nbsp; type&nbsp; index&nbsp; type2&nbsp; low&nbsp;&nbsp; up1&nbsp;&nbsp; up2&nbsp;&nbsp; fac<br>1 310 1 1 1 0.142 0.146 0.150 1.0<br>2 290 1 2 1 0.142 0.146 0.150 1.0<br>3 291 1 3 1 0.142 0.146 0.150 1.0<br>(...)<br><br>but&nbsp;
I don' t understand very well which value should I write for "low&nbsp;&nbsp;
up1&nbsp;&nbsp; up2". The manual says that "the columns low, up1 and up2 hold the
values of r0 , r1 and r2 from eqn. 4.76", but looking at this equation
I still don' t understand which should be the better values for my
case. I have looked into the mail archive, and some other people asked
for that, but I did not find any proper solution.<br>How could I choose the best values for "low&nbsp;&nbsp; up1&nbsp;&nbsp; up2" to restrain my bond values to 1.42 Amstrong?<br><br>The
other question is about angle restraints, I have found indications in
the wiki of how to treat the dihedral restraints
(http://wiki.gromacs.org/index.php/Dihedral_Restraints), however I did
not find any similar for the angle restraints. I have seen in the mail
archive that 2 pairs of atoms should be used, but I did not find
anything to trust in. Could you please give me some indications of how
to treat angle restraints?<br><br>Thank you very much,<br><br>Best wishes, <br><br>Rebeca Garcia<br>Parc Cientific de Barcelona<br>Spain<br><br>&gt; Date: Thu, 21 May 2009 12:41:57 -0400<br>&gt; From: jalemkul@vt.edu<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] bond, angle and dihedral restraints in Gromacs<br>&gt; <br>&gt; <br>&gt; <br>&gt; Rebeca García Fandiño wrote:<br>&gt; &gt; Hello,<br>&gt; &gt; I would like to simulate a CNT and I want to apply a harmonic potential:<br>&gt; &gt; -on the C-C bonds<br>&gt; &gt; -on the bond angles<br>&gt; &gt; -on the dihedral angles<br>&gt; &gt; with a different spring constant for each case.<br>&gt; &gt; <br>&gt; &gt; I have read Section 4.3 from Gromacs manual, but I actually have some <br>&gt; &gt; doubts about how to include this in the topology.<br>&gt; &gt; <br>&gt; &gt; -for the distance restraints I have tried to use genrestr:<br>&gt; &gt; <br>&gt; &gt; genrestr -f cnt_wat_gmx_centered.gro -o posre_dist.itp -disre -fc 400000<br>&gt; &gt; <br>&gt; &gt;  The file I obtain is something like:<br>&gt; &gt; <br>&gt; &gt; ; distance restraints for UNK of cnt_wat_gmx.gro created by <br>&gt; &gt; rdparm2gmx.pl Wed May 20 10:20:59 BST 2009<br>&gt; &gt; <br>&gt; &gt; [ distance_restraints ]<br>&gt; &gt; ;   i     j ? label      funct         lo        up1        up2     weight<br>&gt; &gt;     1     2 1     0          1   0.403354   0.603354    1.60335          1<br>&gt; &gt;     1     3 1     1          1   0.587676   0.787676    1.78768          1<br>&gt; &gt;     1     4 1     2          1   0.769212   0.969212    1.96921          1<br>&gt; &gt;     1     5 1     3          1    0.86081    1.06081    2.06081          1<br>&gt; &gt; (...)<br>&gt; &gt; <br>&gt; &gt; This is different from the [distance_restraint] example shown in pag 69 <br>&gt; &gt; of the manual, now I don' t have the fac column. I would like to apply a<br>&gt; <br>&gt; The format of the distance_restraints section appears correct.  If you read the <br>&gt; description of the "fac" column, it is a weighting factor for that particular <br>&gt; restraint.  So therefore, "weight" is probably equivalent.<br>&gt; <br>&gt; &gt; spring constant of 400000 to C-C bonds, but where is the constant here? <br>&gt; &gt; How could I apply a determined spring constant? In the .mdp file? <br>&gt; &gt; Besides, all the distances are restrained... Is there any way to <br>&gt; &gt; restrain only the C-C bonds? I mean I don' t want to restrain the <br>&gt; &gt; distance between a carbon and a carbon far away from it, only <br>&gt; &gt; restraining the neighbouring carbons to a distance of 1.4 A.<br>&gt; &gt; <br>&gt; <br>&gt; You cannot use genrestr for this purpose.  Using genrestr -disre generates a <br>&gt; matrix of all atoms you specify.  Also, -fc is expected to be used with position <br>&gt; restraints; note the format given in genrestr -h.<br>&gt; <br>&gt; Are you really interested in applying restraints to all bonds, angles, <br>&gt; dihedrals, and distances?  Realize that constraints (Section 5.5) and restraints <br>&gt; are separate ideas in Gromacs.<br>&gt; <br>&gt; If you want to define your own force constants for bonds, angles, etc. simply do <br>&gt; so in the topology yourself (Table 5.4).<br>&gt; <br>&gt; -Justin<br>&gt; <br>&gt; &gt; Another question is: Is there any tool to construct the equivalent <br>&gt; &gt; angle_restraints and dihedral_restraints in an authomatic way, or should <br>&gt; &gt; I do it by hand?<br>&gt; &gt; <br>&gt; &gt; Thank you very much in advance for your help.<br>&gt; &gt; <br>&gt; &gt; Best wishes,<br>&gt; &gt; <br>&gt; &gt; Dr. Rebeca Garcia<br>&gt; &gt; Parc Cientific de Barcelona<br>&gt; &gt; Spain<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Haz búsquedas con Live Search, ¡todas tus búsquedas tienen premio! <br>&gt; &gt; &lt;http://www.buscalasuerte.com/&gt;<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; <br>&gt; -- <br>&gt; ========================================<br>&gt; <br>&gt; Justin A. Lemkul<br>&gt; Ph.D. Candidate<br>&gt; ICTAS Doctoral Scholar<br>&gt; Department of Biochemistry<br>&gt; Virginia Tech<br>&gt; Blacksburg, VA<br>&gt; jalemkul[at]vt.edu | (540) 231-9080<br>&gt; http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin<br>&gt; <br>&gt; ========================================<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/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/mailing_lists/users.php<br><br /><hr />¿Eres del Madrid, del Barça, del Atleti...? Apoya a tu equipo en la  <a href='http://opiniones.msn.es/default.aspx/Futbol/Atletico-de-Madrid ' target='_new'>Zona Fan de MSN Deportes</a></body>
</html>