2007-08-13 22:49:11 +08:00
|
|
|
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
|
|
|
|
|
|
|
:link(lws,http://lammps.sandia.gov)
|
|
|
|
:link(ld,Manual.html)
|
|
|
|
:link(lc,Section_commands.html#comm)
|
|
|
|
|
|
|
|
:line
|
|
|
|
|
|
|
|
pair_style airebo command :h3
|
2011-10-07 01:32:51 +08:00
|
|
|
pair_style airebo/omp command :h3
|
2011-06-08 00:57:45 +08:00
|
|
|
pair_style rebo command :h3
|
2011-10-07 01:32:51 +08:00
|
|
|
pair_style rebo/omp command :h3
|
2007-08-13 22:49:11 +08:00
|
|
|
|
|
|
|
[Syntax:]
|
|
|
|
|
2011-06-08 00:57:45 +08:00
|
|
|
pair_style style cutoff LJ_flag TORSION_flag :pre
|
2007-08-13 22:49:11 +08:00
|
|
|
|
2011-06-08 00:57:45 +08:00
|
|
|
style = {airebo} or {rebo}
|
2011-06-08 22:59:15 +08:00
|
|
|
cutoff = LJ cutoff (sigma scale factor) (AIREBO only)
|
2011-06-08 00:57:45 +08:00
|
|
|
LJ_flag = 0/1 to turn off/on the LJ term (AIREBO only, optional)
|
|
|
|
TORSION_flag = 0/1 to turn off/on the torsion term (AIREBO only, optional) :ul
|
2007-08-13 22:49:11 +08:00
|
|
|
|
|
|
|
[Examples:]
|
|
|
|
|
|
|
|
pair_style airebo 3.0
|
|
|
|
pair_style airebo 2.5 1 0
|
|
|
|
pair_coeff * * ../potentials/CH.airebo H C :pre
|
|
|
|
|
2011-06-08 22:59:15 +08:00
|
|
|
pair_style rebo
|
2011-06-08 00:57:45 +08:00
|
|
|
pair_coeff * * ../potentials/CH.airebo H C :pre
|
|
|
|
|
2007-08-13 22:49:11 +08:00
|
|
|
[Description:]
|
|
|
|
|
|
|
|
The {airebo} pair style computes the Adaptive Intermolecular Reactive
|
|
|
|
Empirical Bond Order (AIREBO) Potential of "(Stuart)"_#Stuart for a
|
2011-06-08 00:57:45 +08:00
|
|
|
system of carbon and/or hydrogen atoms. Note that this is the initial
|
|
|
|
formulation of AIREBO from 2000, not the later formulation. The
|
|
|
|
{rebo} pair style computes the Reactive Empirical Bond Order (REBO)
|
|
|
|
Potential of "(Brenner)"_#Brenner. Note that this is the so-called
|
|
|
|
2nd generation REBO from 2002, not the original REBO from 1990. As
|
|
|
|
discussed below, 2nd generation REBO is closely related to the intial
|
|
|
|
AIREBO; it is just a subset of the potential energy terms.
|
|
|
|
|
|
|
|
The AIREBO potential consists of three terms:
|
2007-08-13 22:49:11 +08:00
|
|
|
|
|
|
|
:c,image(Eqs/pair_airebo.jpg)
|
|
|
|
|
2011-06-08 00:57:45 +08:00
|
|
|
By default, all three terms are included. For the {airebo} style, if
|
|
|
|
the two optional flag arguments to the pair_style command are
|
|
|
|
included, the LJ and torsional terms can be turned off. Note that
|
|
|
|
both or neither of the flags must be included. If both of the LJ an
|
|
|
|
torsional terms are turned off, it becomes the 2nd-generation REBO
|
|
|
|
potential, with a small caveat on the spline fitting procedure
|
|
|
|
mentioned below. This can be specified directly as pair_style rebo
|
2011-06-08 22:59:15 +08:00
|
|
|
with no additional arguments.
|
2007-08-13 22:49:11 +08:00
|
|
|
|
|
|
|
The detailed formulas for this potential are given in
|
|
|
|
"(Stuart)"_#Stuart; here we provide only a brief description.
|
|
|
|
|
|
|
|
The E_REBO term has the same functional form as the hydrocarbon REBO
|
|
|
|
potential developed in "(Brenner)"_#Brenner. The coefficients for
|
|
|
|
E_REBO in AIREBO are essentially the same as Brenner's potential, but
|
|
|
|
a few fitted spline values are slightly different. For most cases the
|
|
|
|
E_REBO term in AIREBO will produce the same energies, forces and
|
|
|
|
statistical averages as the original REBO potential from which it was
|
|
|
|
derived. The E_REBO term in the AIREBO potential gives the model its
|
|
|
|
reactive capabilities and only describes short-ranged C-C, C-H and H-H
|
|
|
|
interactions (r < 2 Angstroms). These interactions have strong
|
|
|
|
coordination-dependence through a bond order parameter, which adjusts
|
|
|
|
the attraction between the I,J atoms based on the position of other
|
|
|
|
nearby atoms and thus has 3- and 4-body dependence.
|
|
|
|
|
|
|
|
The E_LJ term adds longer-ranged interactions (2 < r < cutoff) using a
|
|
|
|
form similar to the standard "Lennard Jones potential"_pair_lj.html.
|
|
|
|
The E_LJ term in AIREBO contains a series of switching functions so
|
|
|
|
that the short-ranged LJ repulsion (1/r^12) does not interfere with
|
|
|
|
the energetics captured by the E_REBO term. The extent of the E_LJ
|
|
|
|
interactions is determined by the {cutoff} argument to the pair_style
|
|
|
|
command which is a scale factor. For each type pair (C-C, C-H, H-H)
|
|
|
|
the cutoff is obtained by multiplying the scale factor by the sigma
|
|
|
|
value defined in the potential file for that type pair. In the
|
|
|
|
standard AIREBO potential, sigma_CC = 3.4 Angstroms, so with a scale
|
|
|
|
factor of 3.0 (the argument in pair_style), the resulting E_LJ cutoff
|
|
|
|
would be 10.2 Angstroms.
|
|
|
|
|
|
|
|
The E_TORSION term is an explicit 4-body potential that describes
|
2008-03-01 09:13:20 +08:00
|
|
|
various dihedral angle preferences in hydrocarbon configurations.
|
2007-08-13 22:49:11 +08:00
|
|
|
|
2011-06-08 00:57:45 +08:00
|
|
|
Only a single pair_coeff command is used with the {airebo} or {rebo}
|
|
|
|
style which specifies an AIREBO potential file with parameters for C
|
|
|
|
and H. Note that the {rebo} style in LAMMPS uses the same
|
|
|
|
AIREBO-formatted potential file. 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:
|
2007-08-13 22:49:11 +08:00
|
|
|
|
|
|
|
filename
|
|
|
|
N element names = mapping of AIREBO elements to atom types :ul
|
|
|
|
|
2008-03-19 04:18:54 +08:00
|
|
|
As an example, if your LAMMPS simulation has 4 atom types and you want
|
|
|
|
the 1st 3 to be C, and the 4th to be H, you would use the following
|
|
|
|
pair_coeff command:
|
2007-08-13 22:49:11 +08:00
|
|
|
|
|
|
|
pair_coeff * * CH.airebo C C C H :pre
|
|
|
|
|
|
|
|
The 1st 2 arguments must be * * so as to span all LAMMPS atom types.
|
|
|
|
The first three C arguments map LAMMPS atom types 1,2,3 to the C
|
|
|
|
element in the AIREBO file. The final H argument maps LAMMPS atom
|
|
|
|
type 4 to the H element in the SW file. If a mapping value is
|
|
|
|
specified as NULL, the mapping is not performed. This can be used
|
|
|
|
when a {airebo} potential is used as part of the {hybrid} pair style.
|
|
|
|
The NULL values are placeholders for atom types that will be used with
|
|
|
|
other potentials.
|
|
|
|
|
|
|
|
The parameters/coefficients for the AIREBO potentials are listed in
|
|
|
|
the CH.airebo file to agree with the original "(Stuart)"_#Stuart
|
|
|
|
paper. Thus the parameters are specific to this potential and the way
|
2011-06-08 01:05:36 +08:00
|
|
|
it was fit, so modifying the file should be done cautiously.
|
2007-08-13 22:49:11 +08:00
|
|
|
|
|
|
|
:line
|
|
|
|
|
2011-12-14 04:35:35 +08:00
|
|
|
Styles with a {cuda}, {gpu}, {omp}, or {opt} suffix are functionally
|
|
|
|
the same as the corresponding style without the suffix. They have
|
|
|
|
been optimized to run faster, depending on your available hardware, as
|
|
|
|
discussed in "Section_accelerate"_Section_accelerate.html of the
|
|
|
|
manual. The accelerated styles take the same arguments and should
|
|
|
|
produce the same results, except for round-off and precision issues.
|
2011-10-07 01:32:51 +08:00
|
|
|
|
|
|
|
These accelerated styles are part of the USER-CUDA, GPU, USER-OMP and OPT
|
|
|
|
packages, respectively. They are only enabled if LAMMPS was built with
|
|
|
|
those packages. See the "Making LAMMPS"_Section_start.html#start_3
|
|
|
|
section for more info.
|
|
|
|
|
|
|
|
You can specify the accelerated styles explicitly in your input script
|
|
|
|
by including their suffix, or you can use the "-suffix command-line
|
2012-01-28 07:39:14 +08:00
|
|
|
switch"_Section_start.html#start_7 when you invoke LAMMPS, or you can
|
2011-10-07 01:32:51 +08:00
|
|
|
use the "suffix"_suffix.html command in your input script.
|
|
|
|
|
2011-12-14 04:35:35 +08:00
|
|
|
See "Section_accelerate"_Section_accelerate.html of the manual for
|
|
|
|
more instructions on how to use the accelerated styles effectively.
|
2011-10-07 01:32:51 +08:00
|
|
|
|
|
|
|
:line
|
|
|
|
|
2008-01-22 02:12:34 +08:00
|
|
|
[Mixing, shift, table, tail correction, restart, rRESPA info]:
|
2007-08-13 22:49:11 +08:00
|
|
|
|
2011-06-08 00:57:45 +08:00
|
|
|
These pair styles do not support the "pair_modify"_pair_modify.html
|
2007-08-13 22:49:11 +08:00
|
|
|
mix, shift, table, and tail options.
|
|
|
|
|
2011-06-08 00:57:45 +08:00
|
|
|
These pair styles do not write their information to "binary restart
|
2007-08-13 22:49:11 +08:00
|
|
|
files"_restart.html, 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.
|
|
|
|
|
2011-06-08 00:57:45 +08:00
|
|
|
These pair styles can only be used via the {pair} keyword of the
|
|
|
|
"run_style respa"_run_style.html command. They do not support the
|
2007-10-12 07:09:49 +08:00
|
|
|
{inner}, {middle}, {outer} keywords.
|
2007-10-04 08:21:14 +08:00
|
|
|
|
2007-08-13 22:49:11 +08:00
|
|
|
[Restrictions:]
|
|
|
|
|
2011-08-27 02:53:00 +08:00
|
|
|
These pair styles are part of the MANYBODY package. They are only
|
2011-06-08 00:57:45 +08:00
|
|
|
enabled if LAMMPS was built with that package (which it is by
|
2011-08-26 00:46:23 +08:00
|
|
|
default). See the "Making LAMMPS"_Section_start.html#start_3 section
|
|
|
|
for more info.
|
2007-08-13 22:49:11 +08:00
|
|
|
|
2011-06-08 00:57:45 +08:00
|
|
|
These pair potentials require the "newton"_newton.html setting to be
|
2007-08-13 22:49:11 +08:00
|
|
|
"on" for pair interactions.
|
|
|
|
|
|
|
|
The CH.airebo potential file provided with LAMMPS (see the potentials
|
|
|
|
directory) is parameterized for metal "units"_units.html. You can use
|
2011-06-08 00:57:45 +08:00
|
|
|
the AIREBO or REBO potential with any LAMMPS units, but you would need
|
|
|
|
to create your own AIREBO potential file with coefficients listed in
|
|
|
|
the appropriate units if your simulation doesn't use "metal" units.
|
2007-08-13 22:49:11 +08:00
|
|
|
|
|
|
|
[Related commands:]
|
|
|
|
|
|
|
|
"pair_coeff"_pair_coeff.html
|
|
|
|
|
|
|
|
[Default:] none
|
|
|
|
|
|
|
|
:line
|
|
|
|
|
|
|
|
:link(Stuart)
|
|
|
|
[(Stuart)] Stuart, Tutein, Harrison, J Chem Phys, 112, 6472-6486
|
|
|
|
(2000).
|
|
|
|
|
|
|
|
:link(Brenner)
|
|
|
|
[(Brenner)] Brenner, Shenderova, Harrison, Stuart, Ni, Sinnott, J
|
|
|
|
Physics: Condensed Matter, 14, 783-802 (2002).
|