<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>1)<br>The "compressibility" or elastic tensor is a full tensor.<br>You only mention the three eigenvectors and eigenvalues,<br>but there are off-diagonal components.<br>I would assume all the eigenvalues are very close.<br>As a rough guess I would just use the same value for all diagonal<br>and off-diagonal components.<br><br>2)<br>PR bij itself is not unstable, only for equilibration it might problematic.<br>But for a crystal the frequency PR barostat should not be close<br>to an eigenfrequency of the crystal.<br>Using Berendsen avoids these issues.<br><br>Your mdrun errors seem simply to be due to a slightly too small box,<br>make it a bit bigger.<br>Also for crystals you might need shifted LJ potentials (I assume you<br>use PME for electrostatics).<br><br>Berk<br><br><hr id="stopSpelling">Date: Sat, 21 Mar 2009 04:21:00 -0700<br>From: lastexile7gr@yahoo.de<br>Subject: RE: [gmx-users] compressibility tensor components,        pressure coupling anisotropic PR, triclinic systems<br>To: gmx-users@gromacs.org<br><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top">Hello,<br><br>thank you Mr Berk for your answers once again. Taking them as feedback and judging from my simulations, two more questions arise.<br>I would be more than grateful if you could answer me the following:<br><br>1)you refer to an initial guess for the compressibility tensor of gromacs. As it was refered to a previous post, the best thing someone can have as an input is the linear compressibility, which as far as I know is a vector and not a tensor. I have found it as scalar modulus too. Taking it as a vector and consulting the book:<br>Physical properties of crystals by J.F.Nye, I get this equation for beta:<br><br>β= (s11+s12+s13)l1**2 + (s12+s22+s23)l2**2 + (s13+s23+s33)l3**2<br><br>with l1, l2, l3 the unit axis vectors and sxx the compliance tensor components. <br><br>Now, judging from the above, the xy compressibility tensor component in your
 implementation in gromacs, should be something like the resultant of the components of beta in l1 and l2 direction (or if you prefer in x and y)?<br><br>2)You mention than if I have a liquid then PR anisotropic pressure coupling should be avoided because the box should deform a lot. No objection to this. My question though is:<br><br>If I start from the crystal structure with anisotropic pressure coupling and want to melt it, how I should be able to conduct such an md knowing that the melt after a while should crash. I have to mention that It crashed either if I have an anisotropic melt md simulation or if I started from a crystal and melt that crystal. The message I get is:<br>Not all bonded interactions have been properly assigned to the domain decomposition cells <br>or<br>Fatal error:<br>The X-size of the box (1.808111) times the triclinic skew factor (0.989963) is smaller than the number of DD cells (2) times<br>the smallest allowed cell size
 (0.895000)<br><br>The independent simulations (anisotropic crystal, isotropic melt) face no problem.<br><br>Thank you in advance,<br>Nikos<br><br>--- Berk Hess &lt;gmx3@hotmail.com&gt; schrieb am Do, 19.3.2009:<br>Von: Berk Hess &lt;gmx3@hotmail.com&gt;<br>Betreff: RE: [gmx-users] compressibility tensor components, pressure coupling anisotropic PR, triclinic systems<br>An: "Discussion list for GROMACS users" &lt;gmx-users@gromacs.org&gt;<br>Datum: Donnerstag, 19. März 2009, 12:43<br><br>&nbsp;Hi,<br><br>You will have to come up yourself with a reasonable guess.<br>If you have a hard crystal, I guess it would be close to the diagonal values.<br><br>Note that with PR coupling tau_p has to be large enough, something like 10 ps.<br>(note that in Gromacs 4.0 a bug has been corrected which scaled tau_p by 16.6<br>in version 3.3 and before)<br><br>But for equilibration I would start with Berendsen.<br><br>Berk<br><br><br>Date: Thu, 19 Mar 2009 04:30:44
 -0700<br>From: lastexile7gr@yahoo.de<br>Subject: RE: [gmx-users] compressibility tensor components, pressure coupling anisotropic PR, triclinic systems<br>To: gmx-users@gromacs.org<br>Hello,<br><br>I do have a crystal system.. You refer to an initial guess. So if I understand correctly, it is a trial and error, if I do not have any data, this is what I can make out of. The part of the shear stress you are reffering I think that it is from experimental values?<br><br><br>Now you say that : compressibility (real)&nbsp; =&nbsp; tau_p*compressibility (gromacs) ?<br><br>If this is the case I do not think that the units coincide.<br>(ps/bar) =? (1/bar)<br><br>I think that what you mean has to do with equation 3.36 in the manual, where with these components the W is calculated. <br><br>Forgive my ignorance in the issue.<br><br>Thank you, <br>Nikos<br><br>--- Berk Hess &lt;gmx3@hotmail.com&gt; schrieb am Do, 19.3.2009:<br>Von: Berk Hess
 &lt;gmx3@hotmail.com&gt;<br>Betreff: RE: [gmx-users] compressibility tensor components, pressure coupling anisotropic PR, triclinic systems<br>An: "Discussion list for GROMACS users" &lt;gmx-users@gromacs.org&gt;<br>Datum: Donnerstag, 19. März 2009, 10:23<br><br>&nbsp;Hi,<br><br>If you have a liquid system (no off-diagonal elasticity), you should not use full anistropic pressure coupling.<br>If you have a solid system (for instance a crystal), you will have an elastic shear stress response<br>and you can determine and use off-diagonal compressibility values.<br><br>You need the compressibility values to set the time scale of the pressure coupling.<br>The compressibility does not affect any thermodynamic quantity, only the dynamics.<br>The compressibility always occurs as a product with 1/tau_p.<br>If you want to determine them from a simulation, you need a reasonable initial guess<br>for the compressibility and you can use a large tau_p to be on the
 safe side<br>with the actual coupling time.<br><br>Berk<br><br>Date: Wed, 18 Mar 2009 16:02:38 -0700<br>From: lastexile7gr@yahoo.de<br>To: gmx-users@gromacs.org<br>Subject: [gmx-users] compressibility tensor components, pressure coupling anisotropic PR, triclinic systems<br>Hello,<br><br>Searching first the gromacs mailing list I could not find an answer to the problem I face.<br><br>I would like to know the vaules I have to give to the mdp file where it asks for compressibility.<br>I have to conduct an NPT simulation using barostat Parrinello-Rahman. My pressure coupling should be anisotropic. The values I have given up to now are:<br>tau_p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1.0<br>compressibility&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 4.5e-5 4.5e-5 4.5e-5 4.5e-5 4.5e-5
 4.5e-5<br>ref_p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1.0 1.0 1.0 0.0 0.0 0.0<br><br>when I try to calculate the elastic constants I get reasonable values for the diagonal elements, yet not good for the off-diagonal. The system I have is a monoclinic one, so giving zeros to xy,xz,yz components is not an option. <br>An experimental linear compressibility value I have found out is very close to the value above, so this is why I think I get good values in the diagonal elements.<br><br>I have found out many different questions, including one about monoclinic systems. In one of them someone was wondering why he had to put as input the compressibility values, while he is supposed to calculate them from the simulation. As far as the monoclinic system is concerned the question had to to with the components in gromacs derived from the linear experimental values... There was no answer
 to that.<br><br>I have tried some different values myself, for the off - diagonal components and I get either a crash of my simulation of different results for the elastic constants. Is there an algorithm which clearly can point me to the right direction on how to derive the right values? <br><br>Thank you in advance,<br>Nikos<br><br><br><br><br>What can you do with the new Windows Live? Find out <br>_______________________________________________<br>gmx-users mailing list&nbsp;&nbsp;&nbsp; gmx-users@gromacs.org<br>http://www.gromacs.org/mailman/listinfo/gmx-users<br>Please search the archive at http://www.gromacs.org/search before posting!<br>Please don't post (un)subscribe requests to the list. Use the <br>www interface or send it to gmx-users-request@gromacs.org.<br>Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br><br><br>Express yourself instantly with MSN Messenger! MSN Messenger
 <br>_______________________________________________<br>gmx-users mailing list&nbsp;&nbsp;&nbsp; gmx-users@gromacs.org<br>http://www.gromacs.org/mailman/listinfo/gmx-users<br>Please search the archive at http://www.gromacs.org/search before posting!<br>Please don't post (un)subscribe requests to the list. Use the <br>www interface or send it to gmx-users-request@gromacs.org.<br>Can't post? Read http://www.gromacs.org/mailing_lists/users.php</td></tr></tbody></table><br><br /><hr />What can you do with the new Windows Live? <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>Find out</a></body>
</html>