3 <TITLE>g_dielectric
</TITLE>
4 <LINK rel=stylesheet
href=
"style.css" type=
"text/css">
5 <BODY text=
"#000000" bgcolor=
"#FFFFFF" link=
"#0000FF" vlink=
"#990000" alink=
"#FF0000">
6 <TABLE WIDTH=
"98%" NOBORDER
>
8 <TABLE WIDTH=
400 NOBORDER
>
10 <a href=
"http://www.gromacs.org/"><img SRC=
"../images/gmxlogo_small.png"BORDER=
0 </a></td>
11 <td ALIGN=LEFT VALIGN=TOP WIDTH=
280><br><h2>g_dielectric
</h2><font size=-
1><A HREF=
"../online.html">Main Table of Contents
</A></font><br><br></td>
12 </TABLE></TD><TD WIDTH=
"*" ALIGN=RIGHT VALIGN=BOTTOM
><p><B>VERSION
4.6<br>
13 Sat
19 Jan
2013</B></td></tr></TABLE>
17 <tt>g_dielectric
</tt> calculates frequency dependent dielectric constants
18 from the autocorrelation function of the total dipole moment in
19 your simulation. This ACF can be generated by
<tt><a href=
"g_dipoles.html">g_dipoles
</a></tt>.
20 The functional forms of the available functions are:
<p>
21 One parameter: y = exp(-a_1 x),
<br>
22 Two parameters: y = a_2 exp(-a_1 x),
<br>
23 Three parameters: y = a_2 exp(-a_1 x) + (
1 - a_2) exp(-a_3 x).
<br>
24 Start values for the fit procedure can be given on the command line.
25 It is also possible to fix parameters at their start value, use
<tt>-fix
</tt>
26 with the number of the parameter you want to fix.
28 Three output files are generated, the first contains the ACF,
29 an exponential fit to it with
1,
2 or
3 parameters, and the
30 numerical derivative of the combination data/fit.
31 The second file contains the real and imaginary parts of the
32 frequency-dependent dielectric constant, the last gives a plot
33 known as the Cole-Cole plot, in which the imaginary
34 component is plotted as a function of the real component.
35 For a pure exponential relaxation (Debye relaxation) the latter
36 plot should be one half of a circle.
39 <TABLE BORDER=
1 CELLSPACING=
0 CELLPADDING=
2>
40 <TR><TH>option
</TH><TH>filename
</TH><TH>type
</TH><TH>description
</TH></TR>
41 <TR><TD ALIGN=RIGHT
> <b><tt>-f
</tt></b> </TD><TD ALIGN=RIGHT
> <tt><a href=
"xvg.html"> dipcorr.xvg
</a></tt> </TD><TD> Input
</TD><TD> xvgr/xmgr file
</TD></TR>
42 <TR><TD ALIGN=RIGHT
> <b><tt>-d
</tt></b> </TD><TD ALIGN=RIGHT
> <tt><a href=
"xvg.html"> deriv.xvg
</a></tt> </TD><TD> Output
</TD><TD> xvgr/xmgr file
</TD></TR>
43 <TR><TD ALIGN=RIGHT
> <b><tt>-o
</tt></b> </TD><TD ALIGN=RIGHT
> <tt><a href=
"xvg.html"> epsw.xvg
</a></tt> </TD><TD> Output
</TD><TD> xvgr/xmgr file
</TD></TR>
44 <TR><TD ALIGN=RIGHT
> <b><tt>-c
</tt></b> </TD><TD ALIGN=RIGHT
> <tt><a href=
"xvg.html"> cole.xvg
</a></tt> </TD><TD> Output
</TD><TD> xvgr/xmgr file
</TD></TR>
47 <H3>Other options
</H3>
48 <TABLE BORDER=
1 CELLSPACING=
0 CELLPADDING=
2>
49 <TR><TH>option
</TH><TH>type
</TH><TH>default
</TH><TH>description
</TH></TR>
50 <TR><TD ALIGN=RIGHT
> <b><tt>-[no]h
</tt></b> </TD><TD ALIGN=RIGHT
> bool
</TD><TD ALIGN=RIGHT
> <tt>no
</tt> </TD><TD> Print help info and quit
</TD></TD>
51 <TR><TD ALIGN=RIGHT
> <b><tt>-[no]version
</tt></b> </TD><TD ALIGN=RIGHT
> bool
</TD><TD ALIGN=RIGHT
> <tt>no
</tt> </TD><TD> Print version info and quit
</TD></TD>
52 <TR><TD ALIGN=RIGHT
> <b><tt>-nice
</tt></b> </TD><TD ALIGN=RIGHT
> int
</TD><TD ALIGN=RIGHT
> <tt>19</tt> </TD><TD> Set the nicelevel
</TD></TD>
53 <TR><TD ALIGN=RIGHT
> <b><tt>-b
</tt></b> </TD><TD ALIGN=RIGHT
> time
</TD><TD ALIGN=RIGHT
> <tt>0 </tt> </TD><TD> First frame (ps) to read from trajectory
</TD></TD>
54 <TR><TD ALIGN=RIGHT
> <b><tt>-e
</tt></b> </TD><TD ALIGN=RIGHT
> time
</TD><TD ALIGN=RIGHT
> <tt>0 </tt> </TD><TD> Last frame (ps) to read from trajectory
</TD></TD>
55 <TR><TD ALIGN=RIGHT
> <b><tt>-dt
</tt></b> </TD><TD ALIGN=RIGHT
> time
</TD><TD ALIGN=RIGHT
> <tt>0 </tt> </TD><TD> Only use frame when t MOD dt = first time (ps)
</TD></TD>
56 <TR><TD ALIGN=RIGHT
> <b><tt>-[no]w
</tt></b> </TD><TD ALIGN=RIGHT
> bool
</TD><TD ALIGN=RIGHT
> <tt>no
</tt> </TD><TD> View output
<tt>.
<a href=
"xvg.html">xvg
</a></tt>,
<tt>.
<a href=
"xpm.html">xpm
</a></tt>,
<tt>.
<a href=
"eps.html">eps
</a></tt> and
<tt>.
<a href=
"pdb.html">pdb
</a></tt> files
</TD></TD>
57 <TR><TD ALIGN=RIGHT
> <b><tt>-xvg
</tt></b> </TD><TD ALIGN=RIGHT
> enum
</TD><TD ALIGN=RIGHT
> <tt>xmgrace
</tt> </TD><TD> <a href=
"xvg.html">xvg
</a> plot formatting:
<tt>xmgrace
</tt>,
<tt>xmgr
</tt> or
<tt>none
</tt> </TD></TD>
58 <TR><TD ALIGN=RIGHT
> <b><tt>-[no]fft
</tt></b> </TD><TD ALIGN=RIGHT
> bool
</TD><TD ALIGN=RIGHT
> <tt>no
</tt> </TD><TD> use fast fourier transform for correlation function
</TD></TD>
59 <TR><TD ALIGN=RIGHT
> <b><tt>-[no]x1
</tt></b> </TD><TD ALIGN=RIGHT
> bool
</TD><TD ALIGN=RIGHT
> <tt>yes
</tt> </TD><TD> use first column as
<it>x
</it>-axis rather than first data set
</TD></TD>
60 <TR><TD ALIGN=RIGHT
> <b><tt>-eint
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>5 </tt> </TD><TD> Time to end the integration of the data and start to use the fit
</TD></TD>
61 <TR><TD ALIGN=RIGHT
> <b><tt>-bfit
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>5 </tt> </TD><TD> Begin time of fit
</TD></TD>
62 <TR><TD ALIGN=RIGHT
> <b><tt>-efit
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>500 </tt> </TD><TD> End time of fit
</TD></TD>
63 <TR><TD ALIGN=RIGHT
> <b><tt>-tail
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>500 </tt> </TD><TD> Length of function including data and tail from fit
</TD></TD>
64 <TR><TD ALIGN=RIGHT
> <b><tt>-A
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>0.5 </tt> </TD><TD> Start value for fit parameter A
</TD></TD>
65 <TR><TD ALIGN=RIGHT
> <b><tt>-tau1
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>10 </tt> </TD><TD> Start value for fit parameter
τ1 </TD></TD>
66 <TR><TD ALIGN=RIGHT
> <b><tt>-tau2
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>1 </tt> </TD><TD> Start value for fit parameter
τ2 </TD></TD>
67 <TR><TD ALIGN=RIGHT
> <b><tt>-eps0
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>80 </tt> </TD><TD> ε0 of your liquid
</TD></TD>
68 <TR><TD ALIGN=RIGHT
> <b><tt>-epsRF
</tt></b> </TD><TD ALIGN=RIGHT
> real
</TD><TD ALIGN=RIGHT
> <tt>78.5 </tt> </TD><TD> ε of the reaction field used in your simulation. A value of
0 means infinity.
</TD></TD>
69 <TR><TD ALIGN=RIGHT
> <b><tt>-fix
</tt></b> </TD><TD ALIGN=RIGHT
> int
</TD><TD ALIGN=RIGHT
> <tt>0</tt> </TD><TD> Fix parameters at their start values, A (
2), tau1 (
1), or tau2 (
4)
</TD></TD>
70 <TR><TD ALIGN=RIGHT
> <b><tt>-ffn
</tt></b> </TD><TD ALIGN=RIGHT
> enum
</TD><TD ALIGN=RIGHT
> <tt>none
</tt> </TD><TD> Fit function:
<tt>none
</tt>,
<tt>exp
</tt>,
<tt>aexp
</tt>,
<tt>exp_exp
</tt>,
<tt>vac
</tt>,
<tt>exp5
</tt>,
<tt>exp7
</tt>,
<tt>exp9
</tt> or
<tt>erffit
</tt> </TD></TD>
71 <TR><TD ALIGN=RIGHT
> <b><tt>-nsmooth
</tt></b> </TD><TD ALIGN=RIGHT
> int
</TD><TD ALIGN=RIGHT
> <tt>3</tt> </TD><TD> Number of points for smoothing
</TD></TD>
76 <font size=
"-1"><a href=
"http://www.gromacs.org">http://www.gromacs.org
</a></font><br>
77 <font size=
"-1"><a href=
"mailto:gromacs@gromacs.org">gromacs@gromacs.org
</a></font><br>