<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>g_rdf limits the distance to half the minimum periodic image distance.<br>So the volume normalization is always simply&nbsp; 4 pi r^2.<br>It uses the starting unit-cell with a factor of 0.99.<br>So you would only see strange effects when the box length reduces<br>more than 1% due to pressure coupling.<br><br>Berk<br><br>&gt; Date: Tue, 24 Nov 2009 13:23:30 +0100<br>&gt; Subject: Re: [gmx-users] Normalization in g_rdf<br>&gt; From: ondrej.marsalek@gmail.com<br>&gt; To: gmx-users@gromacs.org<br>&gt; <br>&gt; On Tue, Nov 24, 2009 at 13:01, Omer Markovitch &lt;omermar@gmail.com&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; On Tue, Nov 24, 2009 at 02:27, Ondrej Marsalek &lt;ondrej.marsalek@gmail.com&gt;<br>&gt; &gt; wrote:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Dear all,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I would like to understand better the way g_rdf performs<br>&gt; &gt;&gt; normalization. I have two unexpected results:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; 1) In a simple simulation of atomic ions in water in a cubic box, I<br>&gt; &gt;&gt; get RDFs that clearly reach a constant value at large enough<br>&gt; &gt;&gt; distances, but that value is somewhat lower than one. The simulation<br>&gt; &gt;&gt; is NpT, could that be a problem for the normalization?<br>&gt; &gt;&gt;<br>&gt; &gt; g(r) should fluctuate around 1 at large distances, say 9 Angstroms for pure<br>&gt; &gt; water.<br>&gt; <br>&gt; Indeed. However, see also Berk's remark. It seems to match very well<br>&gt; for my system.<br>&gt; <br>&gt; &gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; 2) In a simulation in a dodecahedron, I get an unexpected decrease in<br>&gt; &gt;&gt; the RDF at larger distances (for free ions in solution). Is there some<br>&gt; &gt;&gt; know problem with normalization in triclinic cells? Is the RDF perhaps<br>&gt; &gt;&gt; not truncated "soon" enough?<br>&gt; &gt;<br>&gt; &gt; Try calculating it for much larger distances, if you have PBC this should<br>&gt; &gt; not be a problem even with the current docecahedron.<br>&gt; <br>&gt; Maybe I am missing something, but the range that g_rdf considers is<br>&gt; hardwired - half the smallest box length with PBC, 3x the largest one<br>&gt; without PBC. Is there a way to include contributions from multiple<br>&gt; images of the unit cell?<br>&gt; <br>&gt; BTW, if g_rdf really only considers the box edge lengths and<br>&gt; disregards angles, it would make sense that normalization is broken in<br>&gt; general cells at larger distances, no?<br>&gt; <br>&gt; Ondrej<br>&gt; <br>&gt; <br>&gt; &gt; --Omer.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; gmx-users mailing list &nbsp; &nbsp;gmx-users@gromacs.org<br>&gt; &gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; &gt;<br>&gt; -- <br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<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>