<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<pre>Dear all, 
Regarding my question concerning the format of the [bonds] part of the topology file, I tried some new things:
Changing the [bonds] part in the topology to: 
[ bonds ]
;ai&nbsp;&nbsp; aj&nbsp;  func  n
&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp; 9  0</pre>

<div>
<div>for n=0 (and therefore the file: table_b0.xvg)&nbsp; produces this error message:</div>

<div>&nbsp;</div>

<div>Fatal error:<br/>
Incorrect number of parameters - found 1, expected 2 or 4 for Tab. Bonds.</div>

<div>&nbsp;</div>

<div>But the other error message reported in the first post vanished.</div>

<div>I would be really grateful if somebody could tell me how the line in the [bonds] part has to look like when using tabulated boned interactions.</div>

<div>Do I for example have to specify the force constant reported in the 4.2.14 section of the manual (by simply writing it behind the n) ?</div>

<div>&nbsp;</div>

<div>Best,</div>

<div>Liz</div>

<div>&nbsp;</div>

<div>&nbsp;</div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b>&nbsp;Dienstag, 04. August 2015 um 14:41 Uhr<br/>
<b>Von:</b>&nbsp;&quot;Liz Bell&quot; &lt;LizBell@gmx.at&gt;<br/>
<b>An:</b>&nbsp;gromacs.org_gmx-users@maillist.sys.kth.se<br/>
<b>Betreff:</b>&nbsp;[gmx-users] tabulated bonded interaction functions</div>

<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div>
<pre>Dear all,</pre>

<div>
<pre>I am perfoming MD simulations of P3Ht chains and I would like to define the bonded as well as the nonbonded parameters using tables. 
Regarding the bonded parameters, there are no problems until now, as I simply wrote some additional lines in the mdp file (similar to this explanation: <a href="http://www.gromacs.org/Documentation/How-tos/Tabulated_Potentials" target="_blank">http://www.gromacs.org/Documentation/How-tos/Tabulated_Potentials</a>). 
But how do I tell gromacs to use the information for [bonds], [angles]... (all the bonded potentials)... from table_b0.xvg for example.

The first line of the [bonds] section in my topology file looks like: 
[ bonds ]
;ai&nbsp;&nbsp; aj&nbsp; func
&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp; 9
Where 1 and 2 are the atoms and 9 is the function type.
Running grompp produces various of those mistakes: 
</pre>

<div>
<div>No default Tab. Bonds NC types</div>
No default Lin. Angle types</div>

<div>No default Proper Dih. types</div>

<div>&nbsp;</div>

<div>I think Gromacs can not find the values that I defined in the table_b*.xvg, table_a*.xvg and table_d*.xvg.</div>

<pre>The section 4.2.12 in the gromacs manual tells &quot;...for a bond with n=0 [...] the table is read from the file table_b0.xvg.  
But where do I have to specify that the atoms 1 2 have the bonds with n=0, with the information provided in the table_b0.xvg?</pre>

<div>Does anybody know how to adapt the topology file, or whether some additional lines are needed in the mdp files?<br/>
&nbsp;</div>

<div>Thank you very much in advance,</div>

<div>&nbsp;</div>

<div>Liz</div>
</div>
</div>
</div>
-- Gromacs Users mailing list * Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List</a> before posting! * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a> * For (un)subscribe requests visit <a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users</a> or send a mail to gmx-users-request@gromacs.org.</div>
</div>
</div>
</div></div></body></html>