<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 16/11/2011 1:18 AM, Harpreet Basra wrote:
    <blockquote
cite="mid:CAEAiM5sSFLvHhe+ZM1Z60T4b-BkuJ5VcPbEfza92g255qY27rA@mail.gmail.com"
      type="cite">Hi Mark,
      <div><br>
      </div>
      <div>Thanks for the quick reply. But i have already done what u
        suggested.<br>
        <br>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <br>
            <br>
            On 15/11/2011 6:06 PM, Harpreet Basra wrote:<br>
            &gt; Hi<br>
            &gt; I am still stuck with same problem of obtaining
            positive potential<br>
            &gt; energy.<br>
            &gt; &gt;&gt;On 11/11/2011 5:07 PM, Harpreet Basra wrote:<br>
            &gt; &gt;&gt; Hi<br>
            &gt; &gt;&gt;<br>
            &gt; &gt;&gt; I am trying to generate an equilibrated box of
            216 TFE molecules.To<br>
            &gt; &gt;&gt; generate the 216 TFE molecule box i performed
            following steps:<br>
            &gt; &gt;<br>
            &gt; &gt;A suggested workflow can be found here<br>
            &gt; &gt;<a moz-do-not-send="true"
              href="http://www.gromacs.org/Documentation/How-tos/Non-Water_Solvation"
              target="_blank">http://www.gromacs.org/Documentation/How-tos/Non-Water_Solvation</a><br>
            &gt; I have been following this link only.<br>
            &gt; &gt;<br>
            &gt; &gt;<br>
            &gt; &gt;&gt; 1) I got the tfe.gro file and created a cubic
            box of edge length =<br>
            &gt; &gt;&gt; 0.516 nm containing 1 TFE molecule (at its
            center), using the<br>
            &gt; &gt;&gt; following command:<br>
            &gt; &gt;&gt;<br>
            &gt; &gt;&gt;&gt;&gt; editconf -f tfe.gro -c -o tfe_box.gro
            -bt cubic -box 0.516<br>
            &gt; &gt;&gt; &nbsp;I chose this length because in the tfe.gro
            file dimensions of the TFE<br>
            &gt; &gt;&gt; molecule are 0.516 0.516 0.516.<br>
            &gt; &gt;<br>
            &gt; &gt;That's not a good reason. Choose a volume and shape
            that makes sense for<br>
            &gt; &gt;your target density. Cubic probably doesn't make
            sense when a<br>
            &gt; &gt;rectangular shape is possible. Then you'll probably
            want to choose -nbox<br>
            &gt; &gt;differently later.<br>
            &gt; I chose a rectangular box too. still i get a positive
            value for PE and<br>
            &gt; moreover all the molecules move towards two opposite
            walls of the box.<br>
            &gt; I am not sure that the way I am using the genconf
            command is the<br>
            &gt; correct way. because I have tried every other
            possibility for not<br>
            &gt; getting a positive potential, with no success. So here
            are my .gro<br>
            &gt; file and the topology file for TFE.<br>
            &gt; *****tfe.gro file*****<br>
            &gt; 7<br>
            &gt;<br>
            &gt; 1TFE &nbsp; F1T &nbsp; 1 &nbsp; 0.444 &nbsp; 0.344 &nbsp; 0.246<br>
            &gt;<br>
            &gt; 1TFE &nbsp; CT &nbsp; &nbsp; 2 &nbsp; 0.334 &nbsp;0.245 &nbsp; 0.246<br>
            &gt;<br>
            &gt; 1TFE &nbsp; F2T &nbsp; &nbsp;3 &nbsp; 0.350 &nbsp;0.160 &nbsp; 0.364<br>
            &gt;<br>
            &gt; 1TFE &nbsp; F3T &nbsp; &nbsp;4 &nbsp; 0.350 &nbsp;0.160 &nbsp; 0.127<br>
            &gt;<br>
            &gt; 1TFE &nbsp; CH2T &nbsp;5 &nbsp;0.187 &nbsp;0.326 &nbsp; 0.246<br>
            &gt;<br>
            &gt; 1TFE &nbsp; OT &nbsp; &nbsp; &nbsp;6 &nbsp;0.075 &nbsp;0.220 &nbsp; 0.246<br>
            &gt;<br>
            &gt; 1TFE &nbsp; HT &nbsp; &nbsp; &nbsp;7 &nbsp;-0.019 0.266 &nbsp; 0.246<br>
            &gt;<br>
            &gt; 0.49174 &nbsp; 0.49174 &nbsp; 0.49174<br>
            &gt;<br>
            &gt; ****topology file****<br>
            &gt;<br>
            &gt; [ moleculetype ]<br>
            &gt;<br>
            &gt; ; Name nrexcl<br>
            &gt;<br>
            &gt; TFE 3<br>
            &gt;<br>
            &gt; [ atoms ]<br>
            &gt;<br>
            &gt; ; nr type resnr resid atom cgnr charge mass<br>
            &gt;<br>
            &gt; 1 FTFE &nbsp; &nbsp;1 &nbsp;TFE &nbsp;F1T &nbsp; 1 &nbsp; -0.170 &nbsp; 18.9984<br>
            &gt;<br>
            &gt; 2 CTFE &nbsp; &nbsp;1 &nbsp;TFE &nbsp;CT &nbsp; &nbsp;1 &nbsp; &nbsp;0.452 &nbsp; 12.0110<br>
            &gt;<br>
            &gt; 3 FTFE &nbsp; &nbsp;1 &nbsp;TFE &nbsp;F2T &nbsp; 1 &nbsp; -0.170 &nbsp; 18.9984<br>
            &gt;<br>
            &gt; 4 FTFE &nbsp; &nbsp;1 &nbsp;TFE &nbsp;F3T &nbsp; 1 &nbsp; -0.170 &nbsp; 18.9984<br>
            &gt;<br>
            &gt; 5 CHTFE 1 &nbsp;TFE &nbsp;CH2T 1 &nbsp; &nbsp;0.273 &nbsp; 14.0270<br>
            &gt;<br>
            &gt; 6 OTFE &nbsp; 1 &nbsp;TFE &nbsp;OT &nbsp; &nbsp; 1 &nbsp; -0.625 &nbsp; 15.9994<br>
            &gt;<br>
            &gt; 7 H &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp;TFE &nbsp;HT &nbsp; &nbsp; 1 &nbsp; 0.410 &nbsp; 1.0080<br>
            &gt;<br>
            &gt; [ bonds ]<br>
            &gt;<br>
            &gt; ; ai aj fu c0, c1, ...<br>
            &gt;<br>
            &gt; 2 1 2 0.133 3380866.9 0.133 3380866.9 ; C1 F1<br>
            &gt;<br>
            &gt; 2 3 2 0.133 3380866.9 0.133 3380866.9 ; C1 F2<br>
            &gt;<br>
            &gt; 2 4 2 0.133 3380866.9 0.133 3380866.9 ; C1 F3<br>
            &gt;<br>
            &gt; 2 5 2 0.153 7150000.0 0.153 7150000.0 ; C1 C2<br>
            &gt;<br>
            &gt; 5 6 2 0.143 8180000.0 0.143 8180000.0 ; C2 O<br>
            &gt;<br>
            &gt; 6 7 2 0.100 15700000.0 0.100 15700000.0 ; O H<br>
            &gt;<br>
            &gt; [ pairs ]<br>
            &gt;<br>
            &gt; ; ai aj fu c0, c1, ...<br>
            &gt;<br>
            &gt; 1 6 1 ; F1 O<br>
            &gt;<br>
            &gt; 2 7 1 ; C1 H<br>
            &gt;<br>
            &gt; 3 6 1 ; F2 O<br>
            &gt;<br>
            &gt; 4 6 1 ; F3 O<br>
            &gt;<br>
            &gt; [ angles ]<br>
            &gt;<br>
            &gt; ; ai aj ak fu c0, c1, ...<br>
            &gt;<br>
            &gt; 1 2 3 2 109.5 520.0 109.5 520.0 ; F1 C1 F2<br>
            &gt;<br>
            &gt; 1 2 4 2 109.5 520.0 109.5 520.0 ; F1 C1 F3<br>
            &gt;<br>
            &gt; 1 2 5 2 109.5 520.0 109.5 520.0 ; F1 C1 C2<br>
            &gt;<br>
            &gt; 3 2 4 2 109.5 520.0 109.5 520.0 ; F2 C1 F3<br>
            &gt;<br>
            &gt; 3 2 5 2 109.5 520.0 109.5 520.0 ; F2 C1 C2<br>
            &gt;<br>
            &gt; 4 2 5 2 109.5 520.0 109.5 520.0 ; F3 C1 C2<br>
            &gt;<br>
            &gt; 2 5 6 2 109.5 520.0 109.5 520.0 ; C1 C2 O<br>
            &gt;<br>
            &gt; 5 6 7 2 109.5 450.0 109.5 450.0 ; C2 O H<br>
            &gt;<br>
            &gt; [ dihedrals ]<br>
            &gt;<br>
            &gt; ; ai aj ak al fu c0, c1, m, ...<br>
            &gt;<br>
            &gt; 6 5 2 1 1 0.0 5.9 3 0.0 5.9 3 ; dih O C2 C1 F1<br>
            &gt;<br>
            &gt; 2 5 6 7 1 0.0 1.3 3 0.0 1.3 3 ; dih C1 C2 O H<br>
            &gt;<br>
            &gt; and to construct a box of TFE solvent i took the
            tfe.gro file and<br>
            &gt; replicated the TFE molecule by using<br>
            &gt; genconf -f tfe.gro -o tfe_sol.gro -rot -nbox 6<br>
            &gt; can u plz suggest is it that I am using genconf in a
            wrong way that it<br>
            &gt; is causing this problem? I am not sure how many
            molecules (-nbox<br>
            &gt; option in genconf) should i keep in the box in order to
            get a mass<br>
            &gt; density of 1383g/L for TFE.<br>
            <br>
            That link says "Work out how much volume a single molecule
            would have in<br>
            the box of your chosen density and size. Useeditconf<br>
            &lt;<a moz-do-not-send="true"
              href="http://www.gromacs.org/editconf" target="_blank">http://www.gromacs.org/editconf</a>&gt;to
            place a box of that size around your<br>
            single molecule." It does not seem to me that you have done
            this.<br>
            <br>
            Mark<br>
          </blockquote>
          <div><br>
          </div>
          I&nbsp;did place the <b>single molecule</b> in a box of size
          required to get a density of 1383 g/L. I also checked the
          density of the solvent box (containing 216 molecules after NVT
          equilibration for 200 ps) I constructed the&nbsp;average value
          comes out to be 1397 g/L with a std deviation of 30 g/L,
          thus&nbsp;it seems range. Moreover,&nbsp;the potential energy of this
          one molecule (tfe.gro) was coming out to be highly&nbsp;negative
          (-6.4E+08 kJ/mol). But on generating a solvent system with 216
          TFE&nbsp;molecules the energy becomes (1.9E+04 kJ/mol).&nbsp;</div>
      </div>
      <br>
    </blockquote>
    <br>
    Since a single molecule looks OK, the usual reasons for a large
    positive PE would be atomic overlap (visualise the result of genconf
    - perhaps a cubic box is not a good shape), or invalid
    inter-molecular non-bonded parameters (place two boxes 0.5nm apart
    and see what the energy does).<br>
    <br>
    Mark<br>
  </body>
</html>