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 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;  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&#39;s not a good reason. Choose a volume and shape that makes sense for<br>
&gt; &gt;your target density. Cubic probably doesn&#39;t make sense when a<br>
&gt; &gt;rectangular shape is possible. Then you&#39;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   F1T   1   0.444   0.344   0.246<br>
&gt;<br>
&gt; 1TFE   CT     2   0.334  0.245   0.246<br>
&gt;<br>
&gt; 1TFE   F2T    3   0.350  0.160   0.364<br>
&gt;<br>
&gt; 1TFE   F3T    4   0.350  0.160   0.127<br>
&gt;<br>
&gt; 1TFE   CH2T  5  0.187  0.326   0.246<br>
&gt;<br>
&gt; 1TFE   OT      6  0.075  0.220   0.246<br>
&gt;<br>
&gt; 1TFE   HT      7  -0.019 0.266   0.246<br>
&gt;<br>
&gt; 0.49174   0.49174   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    1  TFE  F1T   1   -0.170   18.9984<br>
&gt;<br>
&gt; 2 CTFE    1  TFE  CT    1    0.452   12.0110<br>
&gt;<br>
&gt; 3 FTFE    1  TFE  F2T   1   -0.170   18.9984<br>
&gt;<br>
&gt; 4 FTFE    1  TFE  F3T   1   -0.170   18.9984<br>
&gt;<br>
&gt; 5 CHTFE 1  TFE  CH2T 1    0.273   14.0270<br>
&gt;<br>
&gt; 6 OTFE   1  TFE  OT     1   -0.625   15.9994<br>
&gt;<br>
&gt; 7 H          1  TFE  HT     1   0.410   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 &quot;Work out how much volume a single molecule would have in<br>
the box of your chosen density and size. Useeditconf<br>
&lt;<a 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.&quot; It does not seem to me that you have done this.<br>
<br>
Mark<br></blockquote><div><br></div>I 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 average value comes out to be 1397 g/L with a std deviation of 30 g/L, thus it seems range. Moreover, the potential energy of this one molecule (tfe.gro) was coming out to be highly negative (-6.4E+08 kJ/mol). But on generating a solvent system with 216 TFE molecules the energy becomes (1.9E+04 kJ/mol). </div>

</div><div class="gmail_quote"><br></div><div class="gmail_quote">Harpreet</div>