Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90825308
fix_gld.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 5, 03:02
Size
7 KB
Mime Type
text/html
Expires
Thu, Nov 7, 03:02 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22109269
Attached To
rLAMMPS lammps
fix_gld.html
View Options
<HTML>
<CENTER><A
HREF =
"http://lammps.sandia.gov"
>
LAMMPS WWW Site
</A>
-
<A
HREF =
"Manual.html"
>
LAMMPS Documentation
</A>
-
<A
HREF =
"Section_commands.html#comm"
>
LAMMPS Commands
</A>
</CENTER>
<HR>
<H3>
fix gld command
</H3>
<P><B>
Syntax:
</B>
</P>
<PRE>
fix ID group-ID gld Tstart Tstop N_k seed series c_1 tau_1 ... c_N_k tau_N_k keyword values ...
</PRE>
<UL><LI>
ID, group-ID are documented in
<A
HREF =
"fix.html"
>
fix
</A>
command
<LI>
gld = style name of this fix command
<LI>
Tstart,Tstop = desired temperature at start/end of run (temperature units)
<LI>
N_k = number of terms in the Prony series representation of the memory kernel
<LI>
seed = random number seed to use for white noise (positive integer)
<LI>
series =
<I>
pprony
</I>
is presently the only available option
<LI>
c_k = the weight of the kth term in the Prony series (mass per time units)
<LI>
tau_k = the time constant of the kth term in the Prony series (time units)
<LI>
zero or more keyword/value pairs may be appended
<PRE>
keyword =
<I>
frozen
</I>
or
<I>
zero
</I>
<I>
frozen
</I>
value =
<I>
no
</I>
or
<I>
yes
</I>
<I>
no
</I>
= initialize extended variables using values drawn from equilibrium distribution at Tstart
<I>
yes
</I>
= initialize extended variables to zero (i.e., from equilibrium distribution at zero temperature)
<I>
zero
</I>
value =
<I>
no
</I>
or
<I>
yes
</I>
<I>
no
</I>
= do not set total random force to zero
<I>
yes
</I>
= set total random force to zero
</PRE>
</UL>
<P><B>
Examples:
</B>
</P>
<PRE>
fix 1 all gld 1.0 1.0 2 82885 pprony 0.5 1.0 1.0 2.0 frozen yes zero yes
fix 3 rouse gld 7.355 7.355 4 48823 pprony 107.1 0.02415 186.0 0.04294 428.6 0.09661 1714 0.38643
</PRE>
<P><B>
Description:
</B>
</P>
<P>
Applies Generalized Langevin Dynamics to a group of atoms, as
described in
<A
HREF =
"#Baczewski"
>
(Baczewski)
</A>
. This is intended to model the
effect of an implicit solvent with a temporally non-local dissipative
force and a colored Gaussian random force, consistent with the
Fluctuation-Dissipation Theorem. The functional form of the memory
kernel associated with the temporally non-local force is constrained
to be a Prony series.
</P>
<P>
IMPORTANT NOTE: While this fix bears many similarities to
<A
HREF =
"fix_langevin.html"
>
fix
langevin
</A>
, it has one significant
difference. Namely,
<A
HREF =
"fix_gld.html"
>
fix gld
</A>
performs time integration,
whereas
<A
HREF =
"fix_langevin.html"
>
fix langevin
</A>
does NOT. To this end, the
specification of another fix to perform time integration, such as
<A
HREF =
"fix_nve.html"
>
fix
nve
</A>
, is NOT necessary.
</P>
<P>
With this fix active, the force on the
<I>
j
</I>
th atom is given as
</P>
<CENTER><IMG
SRC =
"Eqs/fix_gld1.jpg"
>
</CENTER>
<P>
Here, the first term is representative of all conservative (pairwise,
bonded, etc) forces external to this fix, the second is the temporally
non-local dissipative force given as a Prony series, and the third is
the colored Gaussian random force.
</P>
<P>
The Prony series form of the memory kernel is chosen to enable an
extended variable formalism, with a number of exemplary mathematical
features discussed in
<A
HREF =
"#Baczewski"
>
(Baczewski)
</A>
. In particular, 3N_k
extended variables are added to each atom, which effect the action of
the memory kernel without having to explicitly evaluate the integral
over time in the second term of the force. This also has the benefit
of requiring the generation of uncorrelated random forces, rather than
correlated random forces as specified in the third term of the force.
</P>
<P>
Presently, the Prony series coefficients are limited to being greater
than or equal to zero, and the time constants are limited to being
greater than zero. To this end, the value of series MUST be set to
<I>
pprony
</I>
, for now. Future updates will allow for negative coefficients
and other representations of the memory kernel. It is with these
updates in mind that the series option was included.
</P>
<P>
The units of the Prony series coefficients are chosen to be mass per
time to ensure that the numerical integration scheme stably approaches
the Newtonian and Langevin limits. Details of these limits, and the
associated numerical concerns are discussed in
<A
HREF =
"#Baczewski"
>
(Baczewski)
</A>
.
</P>
<P>
The desired temperature at each timestep is ramped from
<I>
Tstart
</I>
to
<I>
Tstop
</I>
over the course of the next run.
</P>
<P>
The random #
<I>
seed
</I>
must be a positive integer. A Marsaglia random
number generator is used. Each processor uses the input seed to
generate its own unique seed and its own stream of random
numbers. Thus the dynamics of the system will not be identical on two
runs on different numbers of processors.
</P>
<HR>
<P>
The keyword/value option pairs are used in the following ways.
</P>
<P>
The keyword
<I>
frozen
</I>
can be used to specify how the extended variables
associated with the GLD memory kernel are initialized. Specifying no
(the default), the initial values are drawn at random from an
equilibrium distribution at
<I>
Tstart
</I>
, consistent with the
Fluctuation-Dissipation Theorem. Specifying yes, initializes the
extended variables to zero.
</P>
<P>
The keyword
<I>
zero
</I>
can be used to eliminate drift due to the
thermostat. Because the random forces on different atoms are
independent, they do not sum exactly to zero. As a result, this fix
applies a small random force to the entire system, and the
center-of-mass of the system undergoes a slow random walk. If the
keyword
<I>
zero
</I>
is set to
<I>
yes
</I>
, the total random force is set exactly
to zero by subtracting off an equal part of it from each atom in the
group. As a result, the center-of-mass of a system with zero initial
momentum will not drift over time.
</P>
<HR>
<P><B>
Restart, run start/stop, minimize info:
</B>
</P>
<P>
The instantaneous values of the extended variables are written to
<A
HREF =
"restart.html"
>
binary restart files
</A>
. Because the state of the random
number generator is not saved in restart files, this means you cannot
do "exact" restarts with this fix, where the simulation continues on
the same as if no restart had taken place. However, in a statistical
sense, a restarted simulation should produce the same behavior.
</P>
<P>
None of the
<A
HREF =
"fix_modify.html"
>
fix_modify
</A>
options are relevant to this
fix. No global or per-atom quantities are stored by this fix for
access by various
<A
HREF =
"Section_howto.html#howto_15"
>
output commands
</A>
.
</P>
<P>
This fix can ramp its target temperature over multiple runs, using the
<I>
start
</I>
and
<I>
stop
</I>
keywords of the
<A
HREF =
"run.html"
>
run
</A>
command. See the
<A
HREF =
"run.html"
>
run
</A>
command for details of how to do this.
</P>
<P>
This fix is not invoked during
<A
HREF =
"minimize.html"
>
energy minimization
</A>
.
</P>
<P><B>
Restrictions:
</B>
</P>
<P>
This fix is part of the MISC package. It is only enabled if LAMMPS
was built with that package. See the
<A
HREF =
"Section_start.html#start_3"
>
Making
LAMMPS
</A>
section for more info.
</P>
<P><B>
Related commands:
</B>
</P>
<P><A
HREF =
"fix_langevin.html"
>
fix langevin
</A>
,
<A
HREF =
"fix_viscous.html"
>
fix viscous
</A>
,
<A
HREF =
"pair_dpd.html"
>
pair_style dpd/tstat
</A>
</P>
<P><B>
Default:
</B>
</P>
<P>
The option defaults are frozen = no, zero = no.
</P>
<HR>
<A
NAME =
"Baczewski"
></A>
<P><B>
(Baczewski)
</B>
A.D. Baczewski and S.D. Bond, J. Chem. Phys. 139, 044107 (2013).
</P>
</HTML>
Event Timeline
Log In to Comment