<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;"><br></div><br><br><br><hr id="stopSpelling">&gt; Date: Thu, 27 Mar 2008 06:41:12 -0700<br>&gt; From: dmobley@gmail.com<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] minimization -- bugzilla or general advice?<br>&gt; <br>&gt; Berk,<br>&gt; <br>&gt; &gt; The problem could be in the constraints.<br>&gt; &gt; Gromacs 3 constrains the forces during EM by adding c*f to the coordinates,<br>&gt; &gt; constraining those and then dividing the constraint displacement by c.<br>&gt; &gt; This limits the accuracy.<br>&gt; &gt;<br>&gt; &gt; In Gromacs 4 I have implemented force constraining for LINCS and SETTLE.<br>&gt; &gt; This seems to improve the accuracy a lot.<br>&gt; <br>&gt; I'm running without constraints. Can you explain in a little more<br>&gt; detail what you mean here? c*f, where c is what? Why is this done? I<br>&gt; know "to constrain the forces" but it's not clear to me what the<br>&gt; incentive is.<br><br>I assume you are using a rigid water model, and thus constraints via SETTLE.<br><br>Constraining is required to measure the size of the force (for convergence and<br>step size adjustment) and to make correct steps without enormous extra<br>displacements in the direction of the force which could cause problems due<br>to non-linearity.<br>In Gromacs 3 we had only a coordinate version of SETTLE and LINCS<br>did not work well for "triangle constraints". So to constrain the force during EM<br>we needed to use only coordinates. The trick is to add c*f to the coordinates,<br>somewhat analogous to constraining velocities in leap frog, and then get the<br>force without constraint components as:<br>(x+c*f - constrained(x+c*f))/c<br>I chose c as the minimization step size divided by the maximum force.<br>But there are two issues here, for large c non-linearity problems<br>and for small c float/double accuracy issues.<br>The non-linearity issue could be causing your problems.<br><br>Although there is also another issue: water is difficult to minimize in general.<br><br>Berk.<br><br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>