Hello,<br>

<br>

Thank you for your answer. <br>
<br>
1- If I am right I have to increase the length in two directions rather than one, to create a plane parallel to XY for example?<br>
<br>
2- Can you please give me an idea on how many molecules I need to have 
in the box and also what should be the thickness of layer? I have now 
3nm X 9 X 9 dimensions. That is thickness of 3nm. What I did was 
replicating a 3nm box using genconf -nbox 3 3 1. I dont know what is the
 correct way of creating a layer for surface tension calculation. <br>
<br>
I appreciate any comments about number of molecules, box dimensions for such a study.  <br>
<br>
3- my last question is how can I make sure surface tension reported by 
g_energy is the equilibrated one. RMSD is very big compared to surf. 
ten. ! <br>
<br>
Thanks for your time.<br>
Elisabeth<br>

<br>

******************************************<br>
<br>
if you are interested in the surface tension of a pure liquid, which I assume is<br>


true from your message, then you need to create at least one surface, since<br>

periodic boundary conditions make the model system infinite, i.e., without a<br>

surface whatsoever.<br>

<br>

the easiest way to make that happen is to increase the length of the box in<br>

one direction, say the z direction. that way you will end up with a system that<br>

resemble a (thin) liquid film with vacuum below and above, meaning that you<br>

now have two surfaces. run a regular simulation (NVT) e use g_energy to get<br>

the surface tension.<br>

<br>

btw: as any other pressure related property, fluctuations are huge.<br>

<br>

best<br>

<br>

Andre<br>

<br>

On Wed, Mar 9, 2011 at 12:25 PM, Elisabeth &lt;<a href="mailto:katesedate@gmail.com" target="_blank">katesedate@gmail.com</a>&gt; wrote:<br>

&gt; Dear gmx users,<br>

&gt;<br>

&gt; Since I am new to surface tension topic I need to ask very trivial<br>

&gt; questions. Please help me out with these simple questions.<br>

&gt;<br>

&gt; As a starting point I am going to calculate surface tension of a pure alkane<br>

&gt; in a cubic box and compare with experimental values.<br>

&gt;<br>

&gt; 1- g_energy is giving #Surf*SurfTen by default. On the other hand surface<br>

&gt; tension can be obtained by gamma = (Pzz - (Pxx+Pyy)/2) / Lz. i.e<br>

&gt; Pres-XX-(bar),  Pres-YY(bar),  Pres--(bar)<br>

&gt;<br>

&gt; Can anyone tell me what the difference between these two is?<br>

&gt;<br>

&gt; 2- In pressure coupling settings there is surface_tension option which I<br>

&gt; guess is applicable where surface tension needs to be kept fixed. If one<br>

&gt; want to calculate surface tension I dont think this option make sense. Am I<br>

&gt; right?<br>

&gt;<br>

&gt; 3- I am using the following setting: I calculate the average for a 2ns run<br>

&gt; and different start times as shown below. Although T, P and other quantities<br>

&gt; are equilibrated after 200ps, surface tension is not giving a constant<br>

&gt; value. Is that because I am not using berenden P coupling? (As mentioned in<br>

&gt; the manual surface tension works with berendsen)<br>

&gt;<br>

&gt; Pcoupl              =  Parrinello-Rahman<br>

&gt; Pcoupltype          =  isotropic<br>

&gt; tau_p               =  1      1<br>

&gt; compressibility     =  4.5e-5<br>

&gt; ref_p               =  40<br>

&gt;<br>

&gt;<br>

&gt; time period for which average is calculated   Average       RMSD<br>

&gt; Fluct.      Drift  Tot-Drift<br>

&gt; -------------------------------------------------------------------------------<br>

&gt; 1-2000 ps run: #Surf*SurfTen                    6.43844    3588.74<br>

&gt; 3588.35   0.091406    182.721<br>

&gt; 500-2000 ps    #Surf*SurfTen                   12.8518    3605.72<br>

&gt; 3605.26   0.132126    198.189<br>

&gt; 1000-2000ps   #Surf*SurfTen                    18.8821    3610.97<br>

&gt; 3610.8    0.11819    118.191<br>

&gt; 1500-2000ps   #Surf*SurfTen                     23.0072    3585.51<br>

&gt; 3584.93  -0.444037   -222.019<br>

&gt;<br>

&gt;<br>

&gt;<br>

&gt; 4- Assuming I am getting surface tension for a cubic box, to compare this<br>

&gt; with reported values in literature I need to divide by 6 (no. of surfaces)?<br>

&gt;<br>

&gt; 5- Does box six affect the results? (mine is 3.3 nm ).<br>

&gt;<br>

&gt;<br>

&gt; Thank you,<br>

&gt;