<div dir="ltr">The system works now, thanks for finding a simple mistake.&nbsp; Another question I had is if I want to calculate the average velocities of all the atoms over a period of time can I use g_traj to create an average velocity of the atoms, but looking at all_veloc.xvg file the atom number starts at 0 so I don&#39;t know where to cross reference it with another file to coordinates of that atom.&nbsp; Is there a function in GROMACS that will give averages of velocities and positions of atoms?<br>
<br>Thanks,<br>Andy<br><br><div class="gmail_quote">On Tue, Sep 2, 2008 at 3:25 PM, Vitaly Chaban <span dir="ltr">&lt;<a href="mailto:chaban@univer.kharkov.ua">chaban@univer.kharkov.ua</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div>

<p>&nbsp; &nbsp; 1NIT &nbsp; &nbsp; N1 &nbsp; &nbsp;1 &nbsp;-0.552 &nbsp; 0.004 &nbsp;-0.026</p>
<p>&nbsp; &nbsp; 1NIT &nbsp; &nbsp; N2 &nbsp; &nbsp;2 &nbsp; 0.552 &nbsp;-0.004 &nbsp; 0.026</p>
<p>&nbsp; 2.00000 &nbsp;2.00000 &nbsp;1.20000</p>
<p><br></p>
<p>Andy,</p>
<p><br></p>
<p>If I were your system, I would explode immediately and never let run myself again.</p>
<p><br></p>
<p><br></p>
<p>b0 (N-N) = (0.552+0.552)=1.104 nm. How should the system behave with such unrealistic solvent and huge energies respectively?</p>
<p><br></p>
<p><br></p>
<p>AS&gt; Vitaly,</p>
<p>AS&gt;&nbsp;</p>
<p>AS&gt; Attached is all the files for my forcefield. &nbsp;In ffgmxnb.itp there are two sets of data used for C-N, C-O, and O-N. &nbsp;One set of data is from literature I found and is commented out. &nbsp;The other is from combining like in the gromacs manual with the values given from the ffgmxnb.itp file. Thanks for the help.</p>

<p>AS&gt;&nbsp;</p>
<p>AS&gt; Andy</p>
<p>AS&gt;&nbsp;</p>
<p>AS&gt;&nbsp;</p>
<p>AS&gt; On Tue, Sep 2, 2008 at 10:00 AM, Vitaly Chaban &lt;<a href="mailto:chaban@univer.kharkov.ua" target="_blank">chaban@univer.kharkov.ua</a>&gt; wrote:</p>
<p>AS&gt;&nbsp;</p>
<p>AS&gt; You have problems with your force field.</p>
<p>AS&gt;&nbsp;</p>
<p>AS&gt; If you send me all the files describing your system I&#39;ll try to see</p>
<p>AS&gt; what really happens when I have free time..</p>
<p>AS&gt;&nbsp;</p>
<p>AS&gt;&nbsp;</p>
<p>AS&gt; 2008/9/2 Andy Shelley &lt;<a href="mailto:robert.shelley@gmail.com" target="_blank">robert.shelley@gmail.com</a>&gt;:</p>
<p>AS&gt;&nbsp;</p><div><div></div><div class="Wj3C7c">
<p>&gt;&gt; I have been able to get the molecules to become more homogenous. The problem</p>
<p>&gt;&gt; was I wasn&#39;t running the system long enough. &nbsp;I looked at the energy of the</p>
<p>&gt;&gt; system though and am getting very large fluctuations. The system was ran</p>
<p>&gt;&gt; with the initial temperature set at 300K by setting inital velocities, but</p>
<p>&gt;&gt; the average temperature is very high and fluctuates alot. Here is what</p>
<p>&gt;&gt; g_energy outputs for temperature, pressure, and total energy. &nbsp;Any ideas on</p>
<p>&gt;&gt; how to keep the fluctuations down.</p>
<p>&gt;&gt;</p>
<p>&gt;&gt; Statistics over 220001 steps [ 0.0000 thru 110.0000 ps ], 3 data sets</p>
<p>&gt;&gt;</p>
<p>&gt;&gt; Energy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Average &nbsp; &nbsp; &nbsp; RMSD &nbsp; &nbsp; Fluct. &nbsp; &nbsp; &nbsp;Drift</p>
<p>&gt;&gt; Tot-Drift</p>
<p>&gt;&gt; -------------------------------------------------------------------------------</p>
<p>&gt;&gt; Total Energy &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.20431e+15 6.35463e+14 6.15468e+14 4.98049e+12</p>
<p>&gt;&gt; 5.47857e+14</p>
<p>&gt;&gt; Temperature &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5.62218e+13 8.49769e+12 8.23031e+12 6.66013e+10</p>
<p>&gt;&gt; 7.32618e+12</p>
<p>&gt;&gt; Pressure (bar) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 6.10308e+12 9.22454e+11 8.93429e+11 7.2298e+09</p>
<p>&gt;&gt; 7.95282e+11</p>
<p>&gt;&gt; Heat Capacity Cv: &nbsp; &nbsp; &nbsp;12.9143 J/mol K (factor = 0.022845)</p>
<p>&gt;&gt;</p>
<p>&gt;&gt; ; RUN CONTROL PARAMETERS</p>
<p>&gt;&gt; integrator &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = md</p>
<p>&gt;&gt; ; Start time and timestep in ps</p>
<p>&gt;&gt; tinit &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0</p>
<p>&gt;&gt; dt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0.0005</p>
<p>&gt;&gt; nsteps &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 2000000</p>
<p>&gt;&gt; ; For exact run continuation or redoing part of a run</p>
<p>&gt;&gt; init_step &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0</p>
<p>&gt;&gt; ; mode for center of mass motion removal</p>
<p>&gt;&gt; comm-mode &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= Angular</p>
<p>&gt;&gt; ; number of steps for center of mass motion removal</p>
<p>&gt;&gt; nstcomm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1</p>
<p>&gt;&gt; ; group(s) for center of mass motion removal</p>
<p>&gt;&gt; comm-grps &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= UNK</p>
<p>&gt;&gt;</p>
<p>&gt;&gt; ; GENERATE VELOCITIES FOR STARTUP RUN</p>
<p>&gt;&gt; gen_vel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= yes</p>
<p>&gt;&gt; gen_temp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 300</p>
<p>&gt;&gt; gen_seed &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 1993</p>
<p>&gt;&gt;</p>
<p>&gt;&gt; Thanks for any input,</p>
<p>&gt;&gt; Andy</p>
<p>&gt;&gt;</p>
<p>&gt;&gt;</p>
<p>&gt;&gt;</p>
<p>&gt;&gt; On Tue, Aug 26, 2008 at 1:56 PM, Vitaly Chaban &lt;<a href="mailto:chaban@univer.kharkov.ua" target="_blank">chaban@univer.kharkov.ua</a>&gt;</p>
<p>&gt;&gt; wrote:</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; Could you provide a movie or at least snapshots? What about energy of the</p>
<p>&gt;&gt;&gt; system? How it changes?</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; &gt;</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; Sorry I am not very good at describing my system. &nbsp;After running the</p>
<p>&gt;&gt;&gt; simulation for a while or equilibrating the system all the oxygen molecules</p>
<p>&gt;&gt;&gt; move along one wall (a rectangular box with the long side in the z direction</p>
<p>&gt;&gt;&gt; and the shorter sides in the x and y direction at the origin) of my periodic</p>
<p>&gt;&gt;&gt; boundary condition box. The nitrogen molecules stay fairly evenly</p>
<p>&gt;&gt;&gt; distributed in the simulation box. I checked all the parameters and the</p>
<p>&gt;&gt;&gt; charges were set to 0. I have about 175.2 g/l nitrogen and 56.5 g/l oxygen</p>
<p>&gt;&gt;&gt; in my system. I realize this is higher pressure than atmosphere and have</p>
<p>&gt;&gt;&gt; purposely done this.</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; Andy</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; On Tue, Aug 26, 2008 at 5:28 AM, Vitaly Chaban &lt;<a href="mailto:chaban@univer.kharkov.ua" target="_blank">chaban@univer.kharkov.ua</a>&gt;</p>
<p>&gt;&gt;&gt; wrote:</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; &gt; Using the parameters listed earlier I equalized my system after trying</p>
<p>&gt;&gt;&gt; &gt; to</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; &gt; place the oxygen and nitrogen molecules evenly throughout my system.</p>
<p>&gt;&gt;&gt; &gt; &nbsp;The</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; &gt; result showed the nitrogen molecules fairly even throughout the system</p>
<p>&gt;&gt;&gt; &gt; but</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; &gt; all the oxygen molecules on one side. &nbsp;Any ideas on why the system might</p>
<p>&gt;&gt;&gt; &gt; not</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; &gt; be equalizing out to an even distribution of oxygen by nitrogen?</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; What&#39;s the density of O2 and N2 in your system?</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; What&#39;s &quot;all the oxygen molecules on one side&quot;? What side?</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; Are you sure no occasional charges are present on some site in your</p>
<p>&gt;&gt;&gt;</p>
<p>&gt;&gt;&gt; system?</p>
<p><br></p>
<p><br></p>
<p><br></p>

</div></div></div>

</blockquote></div><br></div>