<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>This question has been asked several times before on this list.<br>The proper way to handle this in Gromacs is to introduce two dummy mass particles<br>in such a way the total mass and the moment of inertia is identical to CO2.<br>Then you can construct the positions of the three mass-less C and O atoms from<br>the positions of the masses using virtual sites (see the manual).<br><br>Berk<br><br>&gt; Date: Fri, 10 Jul 2009 16:58:29 +0100<br>&gt; From: Jennifer.Williams@ed.ac.uk<br>&gt; To: gmx-users@gromacs.org<br>&gt; CC: <br>&gt; Subject: [gmx-users] Best way to handle linear rigid molecules.<br>&gt; <br>&gt; Hello users,<br>&gt; <br>&gt; I am using gromacs v 4.0.5<br>&gt; <br>&gt; What is the best way to treat linear triatomic molecules such as CO2.  <br>&gt; Is there some kind of rigid algorthym as in DL_POLY?<br>&gt; <br>&gt; In the asbsence of a ?rigid? algorthym. I initially intended to ?fix?  <br>&gt; the C=O bond length using constraints (as below) and somehow ?fix? the  <br>&gt; O=C=O bond angle to 180.<br>&gt; <br>&gt; <br>&gt; [ atomtypes ]<br>&gt; ;   type      mass    charge    ptype       c6            c12<br>&gt;     C_CO2    12.01115    0.5406      A        0.0000      0.00000000<br>&gt;     O_CO2    15.9994    -0.2703      A        0.29847     1.10765301<br>&gt; <br>&gt; [ moleculetype ]<br>&gt; ; name  nrexcl<br>&gt; CO2         2<br>&gt; <br>&gt; [ atoms ]<br>&gt; ;   nr  type    resnr   residu  atom    cgnr    charge        mass<br>&gt; 1       C_CO2     1       CO2    C_CO2      1        0.5406  12.01115<br>&gt; 2       O_CO2     1       CO2    O_CO2      1       -0.2703  15.9994<br>&gt; 3       O_CO2     1       CO2    O_CO2      1       -0.2703  15.9994<br>&gt; <br>&gt; [ constraints ]<br>&gt; ;  ai  aj funct           c0           c1<br>&gt; 1       2        1           0.12088<br>&gt; 1       3        1           0.12088<br>&gt; <br>&gt; [ angles ]<br>&gt; ;  ai    aj    ak       funct   c0      c1<br>&gt;      2     1     3       1       180.00<br>&gt; <br>&gt; First question... How do I go about fixing this angle to 180degrees?   <br>&gt; Should I just make c1 extremely large? Is there a more elegant way of  <br>&gt; going about this? Someone also mentioned using a virtual site  <br>&gt; representation for the C. Any comments on this welcome.<br>&gt; <br>&gt; I read some posts which imply that the angle bending code apparently can't<br>&gt; handle angles of exactly 180 degrees.<br>&gt; <br>&gt; http://www.mail-archive.com/gmx-users@gromacs.org/msg09979.html<br>&gt; <br>&gt; This was a while ago so perhaps this has been dealt with in the  <br>&gt; current version of gromacs?<br>&gt; <br>&gt; <br>&gt; Thanks<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; The University of Edinburgh is a charitable body, registered in<br>&gt; Scotland, with registration number SC005336.<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/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>