Hi David,<br>
Thanks for your kindly reply.<br>Because I am simulating a pure fluid system, I used the epsilon-r = 1in the .mdp file. <br>_____________________________________________________<br>
coulombtype&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = pme<br>
rcoulomb-switch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0<br>
rcoulomb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1.1<br>
; Dielectric constant (DC) for cut-off or DC of reaction field<br>
epsilon-r&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1<br>
_____________________________________________________<br><br>&nbsp;If I don't use the Reaction-Field method, how should I use the -rpsilonRF option? (I want to use 0. But because 0 means infinity here, I have no idea how to use it)&nbsp; I calculated dielectric constant with and without &quot;-esilonRF&quot; option, please see the following results
<br>
_____________________________________________________<br>g_dipoles -temp 425 -f md2 -s md2 -enx md2.edr<br>Epsilon = 826.496<br><br>g_dipoles -temp 425 -epsilonRF 1 -f md2 -s md2 -enx md2.edr<br>Epsilon = -2.01094<br>
_____________________________________________________<br><br>Neither result are the values what I expect. What wrong?<br><br><br><br><div><span class="gmail_quote">2006/11/13, David van der Spoel &lt;<a href="mailto:spoel@xray.bmc.uu.se" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
spoel@xray.bmc.uu.se</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Qiao Baofu wrote:<br>&gt; Hi all,<br>&gt;<br>&gt; I have some question about calculating dielectric constant:<br>&gt; 1. From the manual, it seems that there are two methods to calculate the<br>&gt; dielectric constant: a. use g_dipoles -temp 400 -f -s directly, b) use
<br>&gt; g_dipoles -nonormalize -corr total&nbsp;&nbsp;-c dipcorr.xvg, then g_dielectric -f<br>&gt; dipcorr.xvg -o epsw.xvg. (Please correct me if the commandlines are<br>&gt; wrong). Thus I want to know the difference between them.
<br><br>g_dielectric does another analyis. You want to run g_dipoles either with<br>the -enx flag or with a trajectory.<br><br>&gt; 2. If I want to calculate the dielectric constant, must I use the<br>&gt; Reaction Field in the couloumbtype? Now I have some results from PME.
<br>&gt; Can I use these results directly to calculate the dielectric constant?<br><br>PME is fine. You have to supply the right dielectric constant to the<br>program (though the default of 0 == infinity) is what most people use.
<br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>&gt; Thanks very much in advances!<br>&gt;<br>&gt;<br>&gt;<br>&gt; Sincerely yours,
<br>&gt; Baofu Qiao<br>&gt;<br>&gt;<br>&gt; <br>--<br>David.<br>________________________________________________________________________<br></blockquote></div><br><br clear="all"><br>