<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>I already answered this mail, but somehow for a small fraction of<br>the mails I reply to hotmail replies to the user, not to the list.<br>Here is my answer:<br><br>You can't do this easily.<br>The current maximum for the number of parameters per interaction is 6.<br>If you really want to, you could increase this, as well as NR_RBDIHS<br>in include/types/idef.h. This would make your tpr files incompatible<br>with the standard release binaries.<br><br>Another option would be to use tabulated dihedral functions,<br>then you can do anything you want (see the manual).<br><br>Berk<br><br><br>&gt; Date: Tue, 23 Jun 2009 10:16:45 +1000<br>&gt; From: Mark.Abraham@anu.edu.au<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] How to increase the number of parameters in dihedral        angle potentials?<br>&gt; <br>&gt; bhong@Princeton.EDU wrote:<br>&gt; &gt; Dear all,<br>&gt; &gt; <br>&gt; &gt; This is the problem I meet with. GROMACS provides a Ryckaert-Bellemans function with 6 parameters (C0, C1, C2, ..., C5) , while what I need is a function of summation over 8 terms, that is, 8 parameters from C0 to C7. I tried to add the values of  the two additional pamameters at the end of each lines in the section of dihedral angles in the 'molecule.itp' file. The 'grompp' command then gave an error information, saying there could only be either 6 or 12 parameters for Ryckaert-Bellemans potentials. <br>&gt; <br>&gt; If you read the description of R-B in the manual, it only allows for <br>&gt; 6-parameter R-B. It's not obvious (see footnote to table 5.4, at least), <br>&gt; but the other are for free energy calculations that might be varying <br>&gt; these parameters.<br>&gt; <br>&gt; &gt;So I added 4 zeros for the rest 4 parameters in 'molecule.itp'. Now, the 'grompp' command did not gave error information any more and I run the simulation with a 12-parameter Ryckaert-Bellemans potential. The problem is that the trajectory obtained from 12-parameter RB potential is exactly the same as the trajectory having generated by 6-parameter RB potential. That means the newly added 6 parameter values can not be recognized by GROMACS. Has anyone met with such kind of problems? <br>&gt; <br>&gt; Hence, your observations. Since you're not running FE, the 7th and 8th <br>&gt; are never being used for anything.<br>&gt; <br>&gt; &gt;What did you do to make GROMACS recognize 6 more parameters in RB potentials? <br>&gt; <br>&gt; You can't. You would have to either implement your own bonded function, <br>&gt; or use a table lookup for this bonded interaction. See manual section 4.2.13<br>&gt; <br>&gt; Mark<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/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 />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>