2009-02-07 00:12:07 +08:00
|
|
|
<HTML>
|
2010-09-21 22:58:42 +08:00
|
|
|
<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>
|
2009-02-07 00:12:07 +08:00
|
|
|
</CENTER>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
|
|
|
|
<H3>pair_style reax command
|
|
|
|
</H3>
|
|
|
|
<P><B>Syntax:</B>
|
|
|
|
</P>
|
2010-09-25 06:53:41 +08:00
|
|
|
<PRE>pair_style reax hbcut hbnewflag precision
|
2009-02-07 00:12:07 +08:00
|
|
|
</PRE>
|
|
|
|
<UL><LI>hbcut = hydrogen-bond cutoff (distance units)
|
2010-09-25 06:53:41 +08:00
|
|
|
<LI>hbnewflag = use old or new hbond function style (0 or 1)
|
2009-02-07 00:12:07 +08:00
|
|
|
<LI>precision = precision for charge equilibration
|
|
|
|
</UL>
|
|
|
|
<P><B>Examples:</B>
|
|
|
|
</P>
|
|
|
|
<PRE>pair_style reax
|
2010-09-28 00:37:01 +08:00
|
|
|
pair_style reax 10.0 0 1.0e-5
|
2010-06-16 22:22:59 +08:00
|
|
|
pair_coeff * * ffield.reax 3 1 2 2
|
|
|
|
pair_coeff * * ffield.reax 3 NULL NULL 3
|
2009-02-07 00:12:07 +08:00
|
|
|
</PRE>
|
|
|
|
<P><B>Description:</B>
|
|
|
|
</P>
|
2010-09-04 08:17:54 +08:00
|
|
|
<P>Style <I>reax</I> computes the ReaxFF potential of van Duin, Goddard and
|
2009-02-07 00:12:07 +08:00
|
|
|
co-workers. ReaxFF uses distance-dependent bond-order functions to
|
|
|
|
represent the contributions of chemical bonding to the potential
|
2010-09-04 08:17:54 +08:00
|
|
|
energy. There is more than one version of ReaxFF. The version
|
|
|
|
implemented in LAMMPS uses the functional forms documented in the
|
|
|
|
supplemental information of the following paper:
|
|
|
|
<A HREF = "#Chenoweth">(Chenoweth)</A>. The version integrated into LAMMPS matches
|
|
|
|
the most up-to-date version of ReaxFF as of summer 2010.
|
|
|
|
</P>
|
|
|
|
<P>The <I>reax</I> style differs from the <A HREF = "pair_reax_c.html">pair_style reax/c</A>
|
|
|
|
command in the lo-level implementation details. The <I>reax</I> style is a
|
|
|
|
Fortran library, linked to LAMMPS. The <I>reax/c</I> style was initially
|
|
|
|
implemented as stand-alone C code and is now integrated into LAMMPS as
|
|
|
|
a package.
|
|
|
|
</P>
|
|
|
|
<P>LAMMPS requires that a file called ffield.reax be provided, containing
|
|
|
|
the ReaxFF parameters for each atom type, bond type, etc. The format
|
|
|
|
is identical to the ffield file used by van Duin and co-workers. The
|
|
|
|
filename is required as an argument in the pair_coeff command. Any
|
|
|
|
value other than "ffield.reax" will be rejected (see below).
|
|
|
|
</P>
|
|
|
|
<P>LAMMPS provides several different versions of ffield.reax in its
|
|
|
|
potentials dir, each called potentials/ffield.reax.label. These are
|
|
|
|
documented in potentials/README.reax. The default ffield.reax
|
|
|
|
contains parameterizations for the following elements: C, H, O, N, S.
|
|
|
|
</P>
|
|
|
|
<P>The format of these files is identical to that used originally by van
|
2010-09-25 06:53:41 +08:00
|
|
|
Duin. We have tested the accuracy of <I>pair_style reax</I> potential
|
2010-09-04 08:17:54 +08:00
|
|
|
against the original ReaxFF code for the systems mentioned above. You
|
|
|
|
can use other ffield files for specific chemical systems that may be
|
|
|
|
available elsewhere (but note that their accuracy may not have been
|
|
|
|
tested).
|
2009-02-07 00:12:07 +08:00
|
|
|
</P>
|
2010-09-25 06:53:41 +08:00
|
|
|
<P>The <I>hbcut</I>, <I>hbnewflag</I>, and <I>precision</I> settings are optional arguments.
|
|
|
|
If
|
2009-02-07 00:40:44 +08:00
|
|
|
neither is provided, default settings are used: <I>hbcut</I> = 10 (which is
|
2010-09-25 06:53:41 +08:00
|
|
|
Angstroms in real units), <I>hbnewflag</I> = 1 (use new hbond function style,
|
|
|
|
and <I>precision</I> = 1.0e-6 (one part in 10^6).
|
|
|
|
If you wish to override any of these defaults, then all settings
|
2009-02-07 00:40:44 +08:00
|
|
|
must be specified.
|
2009-02-07 00:12:07 +08:00
|
|
|
</P>
|
|
|
|
<P>Use of this pair style requires that a charge be defined for every
|
2010-09-04 08:17:54 +08:00
|
|
|
atom since the <I>reax</I> pair style performs a charge equilibration (QEq)
|
|
|
|
calculation. See the <A HREF = "atom_style.html">atom_style</A> and
|
|
|
|
<A HREF = "read_data.html">read_data</A> commands for details on how to specify
|
|
|
|
charges.
|
2009-02-07 00:12:07 +08:00
|
|
|
</P>
|
|
|
|
<P>The thermo variable <I>evdwl</I> stores the sum of all the ReaxFF potential
|
|
|
|
energy contributions, with the exception of the Coulombic and charge
|
|
|
|
equilibration contributions which are stored in the thermo variable
|
|
|
|
<I>ecoul</I>. The output of these quantities is controlled by the
|
|
|
|
<A HREF = "thermo.html">thermo</A> command.
|
|
|
|
</P>
|
2009-02-07 00:40:44 +08:00
|
|
|
<P>Only a single pair_coeff command is used with the <I>reax</I> style which
|
|
|
|
specifies a ReaxFF potential file with parameters for all needed
|
|
|
|
elements. These are mapped to LAMMPS atom types by specifying N
|
|
|
|
additional arguments after the filename in the pair_coeff command,
|
|
|
|
where N is the number of LAMMPS atom types:
|
|
|
|
</P>
|
|
|
|
<UL><LI>filename
|
2009-02-13 04:45:46 +08:00
|
|
|
<LI>N indices = mapping of ReaxFF elements to atom types
|
2009-02-07 00:40:44 +08:00
|
|
|
</UL>
|
2009-02-13 04:45:46 +08:00
|
|
|
<P>The specification of the filename and the mapping of LAMMPS atom types
|
|
|
|
recognized by the ReaxFF is done differently than for other LAMMPS
|
|
|
|
potentials, due to the non-portable difficulty of passing character
|
|
|
|
strings (e.g. filename, element names) between C++ and Fortran.
|
|
|
|
</P>
|
|
|
|
<P>The filename has to be "ffield.reax" and it has to exist in the
|
|
|
|
directory you are running LAMMPS in. This means you cannot prepend a
|
|
|
|
path to the file in the potentials dir. Rather, you should copy that
|
|
|
|
file into the directory you are running from. If you wish to use
|
2009-08-09 04:17:29 +08:00
|
|
|
another ReaxFF potential file, then name it "ffield.reax" and put it
|
|
|
|
in the directory you run from.
|
2009-02-13 04:45:46 +08:00
|
|
|
</P>
|
2010-09-04 08:17:54 +08:00
|
|
|
<P>In the ReaxFF potential file, near the top, after the general
|
|
|
|
parameters, is the atomic parameters section that contains element
|
|
|
|
names, each with a couple dozen numeric parameters. If there are M
|
|
|
|
elements specified in the <I>ffield</I> file, think of these as numbered 1
|
|
|
|
to M. Each of the N indices you specify for the N atom types of LAMMPS
|
|
|
|
atoms must be an integer from 1 to M. Atoms with LAMMPS type 1 will
|
|
|
|
be mapped to whatever element you specify as the first index value,
|
|
|
|
etc. If a mapping value is specified as NULL, the mapping is not
|
|
|
|
performed. This can be used when a ReaxFF potential is used as part
|
|
|
|
of the <I>hybrid</I> pair style. The NULL values are placeholders for atom
|
|
|
|
types that will be used with other potentials.
|
|
|
|
</P>
|
|
|
|
<P>As an example, say your LAMMPS simulation has 4 atom types and the
|
|
|
|
elements are ordered as C, H, O, N in the <I>ffield</I> file. If you want
|
|
|
|
the LAMMPS atom type 1 and 2 to be C, type 3 to be N, and type 4 to be
|
|
|
|
H, you would use the following pair_coeff command:
|
|
|
|
</P>
|
|
|
|
<PRE>pair_coeff * * ffield.reax 1 1 4 2
|
2009-02-07 00:40:44 +08:00
|
|
|
</PRE>
|
2009-02-07 00:12:07 +08:00
|
|
|
<HR>
|
|
|
|
|
|
|
|
<P><B>Mixing, shift, table, tail correction, restart, rRESPA info</B>:
|
|
|
|
</P>
|
|
|
|
<P>This pair style does not support the <A HREF = "pair_modify.html">pair_modify</A>
|
|
|
|
mix, shift, table, and tail options.
|
|
|
|
</P>
|
|
|
|
<P>This pair style does not write its information to <A HREF = "restart.html">binary restart
|
|
|
|
files</A>, since it is stored in potential files. Thus, you
|
|
|
|
need to re-specify the pair_style and pair_coeff commands in an input
|
|
|
|
script that reads a restart file.
|
|
|
|
</P>
|
|
|
|
<P>This pair style can only be used via the <I>pair</I> keyword of the
|
|
|
|
<A HREF = "run_style.html">run_style respa</A> command. It does not support the
|
|
|
|
<I>inner</I>, <I>middle</I>, <I>outer</I> keywords.
|
|
|
|
</P>
|
|
|
|
<P><B>Restrictions:</B>
|
|
|
|
</P>
|
2009-02-07 00:40:44 +08:00
|
|
|
<P>This pair style is part of the "reax" package. It is only enabled if
|
|
|
|
LAMMPS was built with that package, which also requires the REAX
|
|
|
|
library be built and linked with LAMMPS. See the <A HREF = "Section_start.html#2_3">Making
|
|
|
|
LAMMPS</A> section for more info.
|
2009-02-07 00:12:07 +08:00
|
|
|
</P>
|
2010-09-04 08:17:54 +08:00
|
|
|
<P>The ReaxFF potential files provided with LAMMPS in the potentials
|
|
|
|
directory are parameterized for real <A HREF = "units.html">units</A>. You can use
|
2009-02-07 00:40:44 +08:00
|
|
|
the ReaxFF potential with any LAMMPS units, but you would need to
|
|
|
|
create your own potential file with coefficients listed in the
|
2010-09-04 08:17:54 +08:00
|
|
|
appropriate units if your simulation doesn't use "real" units.
|
2009-02-07 00:12:07 +08:00
|
|
|
</P>
|
|
|
|
<P><B>Related commands:</B>
|
|
|
|
</P>
|
2010-09-04 08:17:54 +08:00
|
|
|
<P><A HREF = "pair_coeff.html">pair_coeff</A>, <A HREF = "pair_reax_c.html">pair_style reax/c</A>
|
2009-02-07 00:12:07 +08:00
|
|
|
</P>
|
|
|
|
<P><B>Default:</B> none
|
|
|
|
</P>
|
|
|
|
<HR>
|
|
|
|
|
2009-06-04 03:59:51 +08:00
|
|
|
<A NAME = "Chenoweth_2008"></A>
|
2009-02-07 00:12:07 +08:00
|
|
|
|
2010-09-04 08:17:54 +08:00
|
|
|
<P><B>(Chenoweth)</B> Chenoweth, van Duin and Goddard,
|
2009-05-21 23:08:44 +08:00
|
|
|
Journal of Physical Chemistry A, 112, 1040-1053 (2008).
|
2009-02-07 00:12:07 +08:00
|
|
|
</P>
|
|
|
|
</HTML>
|