g_dipoles_d (1) - Linux Manuals
g_dipoles_d: computes the total dipole plus fluctuations
NAME
g_dipoles - computes the total dipole plus fluctuationsSYNOPSIS
g_dipoles -enx ener.edr -f traj.xtc -s topol.tpr -n index.ndx -o Mtot.xvg -eps epsilon.xvg -a aver.xvg -d dipdist.xvg -c dipcorr.xvg -g gkr.xvg -adip adip.xvg -dip3d dip3d.xvg -cos cosaver.xvg -cmap cmap.xpm -q quadrupole.xvg -slab slab.xvg -[no]h -nice int -b time -e time -dt time -[no]w -[no]xvgr -mu real -mumax real -epsilonRF real -skip int -temp real -corr enum -[no]pairs -ncos int -axis string -sl int -gkratom int -gkratom2 int -rcmax real -[no]phi -nlevels int -ndegrees int -acflen int -[no]normalize -P enum -fitfn enum -ncskip int -beginfit real -endfit realDESCRIPTION
g_dipoles computes the total dipole plus fluctuations of a simulation system. From this you can compute e.g. the dielectric constant for low dielectric media. For molecules with a net charge, the net charge is subtracted at center of mass of the molecule.
The file Mtot.xvg contains the total dipole moment of a frame, the components as well as the norm of the vector. The file aver.xvg contains |Mu|2 and |Mu| 2 during the simulation. The file dipdist.xvg contains the distribution of dipole moments during the simulation The mu_max is used as the highest value in the distribution graph.
Furthermore the dipole autocorrelation function will be computed when option -corr is used. The output file name is given with the -c option. The correlation functions can be averaged over all molecules ( mol), plotted per molecule seperately ( molsep) or it can be computed over the total dipole moment of the simulation box ( total).
Option -g produces a plot of the distance dependent Kirkwood G-factor, as well as the average cosine of the angle between the dipoles as a function of the distance. The plot also includes gOO and hOO according to Nymand & Linse, JCP 112 (2000) pp 6386-6395. In the same plot we also include the energy per scale computed by taking the inner product of the dipoles divided by the distance to the third power.
EXAMPLES
g_dipoles -corr mol -P1 -o dip_sqr -mu 2.273 -mumax 5.0 -nofft
This will calculate the autocorrelation function of the molecular dipoles using a first order Legendre polynomial of the angle of the dipole vector and itself a time t later. For this calculation 1001 frames will be used. Further the dielectric constant will be calculated using an epsilonRF of infinity (default), temperature of 300 K (default) and an average dipole moment of the molecule of 2.273 (SPC). For the distribution function a maximum of 5.0 will be used.
FILES
-enx ener.edr Input, Opt.
-f traj.xtc
Input
-s topol.tpr
Input
-n index.ndx
Input, Opt.
-o Mtot.xvg
Output
-eps epsilon.xvg
Output
-a aver.xvg
Output
-d dipdist.xvg
Output
-c dipcorr.xvg
Output, Opt.
-g gkr.xvg
Output, Opt.
-adip adip.xvg
Output, Opt.
-dip3d dip3d.xvg
Output, Opt.
-cos cosaver.xvg
Output, Opt.
-cmap cmap.xpm
Output, Opt.
-q quadrupole.xvg
Output, Opt.
-slab slab.xvg
Output, Opt.
-nice int 19
-b time 0
-e time 0
-dt time 0
-[no]wno
-[no]xvgryes
-mu real -1
-mumax real 5
-epsilonRF real 0
-skip int 0
-temp real 300
-corr enum none
-[no]pairsyes
-ncos int 1
-axis string Z
-sl int 10
-gkratom int 0
-gkratom2 int 0
-rcmax real 0
-[no]phino
-nlevels int 20
-ndegrees int 90
-acflen int -1
-[no]normalizeyes
-P enum 0
-fitfn enum none
-ncskip int 0
-beginfit real 0
-endfit real -1
OTHER OPTIONS
-[no]hno