2006-09-22 00:22:34 +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 command :h3
|
|
|
|
|
|
|
|
[Syntax:]
|
|
|
|
|
|
|
|
pair_style style args :pre
|
|
|
|
|
2007-10-03 06:56:45 +08:00
|
|
|
style = one of the styles from the list below
|
|
|
|
args = arguments used by a particular style :ul
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
[Examples:]
|
|
|
|
|
|
|
|
pair_style lj/cut 2.5
|
|
|
|
pair_style eam/alloy
|
|
|
|
pair_style hybrid lj/charmm/coul/long 10.0 eam
|
|
|
|
pair_style table linear 1000
|
|
|
|
pair_style none :pre
|
|
|
|
|
|
|
|
[Description:]
|
|
|
|
|
|
|
|
Set the formula(s) LAMMPS uses to compute pairwise interactions. In
|
|
|
|
LAMMPS, pair potentials are defined between pairs of atoms that are
|
|
|
|
within a cutoff distance and the set of active interactions typically
|
|
|
|
changes over time. See the "bond_style"_bond_style.html command to
|
|
|
|
define potentials between pairs of bonded atoms, which typically
|
|
|
|
remain in place for the duration of a simulation.
|
|
|
|
|
|
|
|
In LAMMPS, pairwise force fields encompass a variety of interactions,
|
|
|
|
some of which include many-body effects, e.g. EAM, Stillinger-Weber,
|
2007-06-20 20:56:17 +08:00
|
|
|
Tersoff, REBO potentials. They are still classified as "pairwise"
|
|
|
|
potentials because the set of interacting atoms changes with time
|
2007-06-26 08:03:39 +08:00
|
|
|
(unlike molecular bonds) and thus a neighbor list is used to find
|
2006-11-29 01:00:29 +08:00
|
|
|
nearby interacting atoms.
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
Hybrid models where specified pairs of atom types interact via
|
|
|
|
different pair potentials can be setup using the {hybrid} pair style.
|
|
|
|
|
|
|
|
The coefficients associated with a pair style are typically set for
|
|
|
|
each pair of atom types, and are specified by the
|
|
|
|
"pair_coeff"_pair_coeff.html command or read from a file by the
|
|
|
|
"read_data"_read_data.html or "read_restart"_read_restart.html
|
2007-06-26 08:03:39 +08:00
|
|
|
commands.
|
|
|
|
|
|
|
|
The "pair_modify"_pair_modify.html command sets options for mixing of
|
|
|
|
type I-J interaction coefficients and adding energy offsets or tail
|
|
|
|
corrections to Lennard-Jones potentials. Details on these options as
|
|
|
|
they pertain to individual potentials are described on the doc page
|
|
|
|
for the potential. Likewise, info on whether the potential
|
2008-01-22 02:12:34 +08:00
|
|
|
information is stored in a "restart file"_write_restart.html is listed
|
|
|
|
on the potential doc page.
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
In the formulas listed for each pair style, {E} is the energy of a
|
|
|
|
pairwise interaction between two atoms separated by a distance {r}.
|
|
|
|
The force between the atoms is the negative derivative of this
|
|
|
|
expression.
|
|
|
|
|
|
|
|
If the pair_style command has a cutoff argument, it sets global
|
|
|
|
cutoffs for all pairs of atom types. The distance(s) can be smaller
|
|
|
|
or larger than the dimensions of the simulation box.
|
|
|
|
|
|
|
|
Typically, the global cutoff value can be overridden for a specific
|
|
|
|
pair of atom types by the "pair_coeff"_pair_coeff.html command. The
|
|
|
|
pair style settings (including global cutoffs) can be changed by a
|
|
|
|
subsequent pair_style command using the same style. This will reset
|
|
|
|
the cutoffs for all atom type pairs, including those previously set
|
|
|
|
explicitly by a "pair_coeff"_pair_coeff.html command. The exceptions
|
|
|
|
to this are that pair_style {table} and {hybrid} settings cannot be
|
|
|
|
reset. A new pair_style command for these styles will wipe out all
|
|
|
|
previously specified pair_coeff values.
|
|
|
|
|
|
|
|
:line
|
|
|
|
|
|
|
|
Here is an alphabetic list of pair styles defined in LAMMPS. Click on
|
|
|
|
the style to display the formula it computes, arguments specified in
|
|
|
|
the pair_style command, and coefficients specified by the associated
|
|
|
|
"pair_coeff"_pair_coeff.html command:
|
|
|
|
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style none"_pair_none.html - turn off pairwise interactions
|
2007-10-03 05:55:02 +08:00
|
|
|
"pair_style hybrid"_pair_hybrid.html - multiple styles of pairwise interactions :ul
|
|
|
|
"pair_style hybrid/overlay"_pair_hybrid.html - multiple styles of superposed pairwise interactions :ul
|
2007-02-10 05:37:30 +08:00
|
|
|
|
2007-06-26 08:03:39 +08:00
|
|
|
"pair_style airebo"_pair_airebo.html - AI-REBO potential
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style buck"_pair_buck.html - Buckingham potential
|
2008-03-01 09:13:20 +08:00
|
|
|
"pair_style buck/coul/cut"_pair_buck.html - Buckingham with cutoff Coulomb
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style buck/coul/long"_pair_buck.html - Buckingham with long-range Coulomb
|
2007-06-20 20:56:17 +08:00
|
|
|
"pair_style colloid"_pair_colloid.html - integrated colloidal potential
|
2007-10-03 05:55:02 +08:00
|
|
|
"pair_style coul/cut"_pair_coul.html - cutoff Coulombic potential
|
2008-03-01 09:13:20 +08:00
|
|
|
"pair_style coul/debye"_pair_coul.html - cutoff Coulombic potential with Debye screening
|
2007-10-03 05:55:02 +08:00
|
|
|
"pair_style coul/long"_pair_coul.html - long-range Coulombic potential
|
2008-09-26 23:13:52 +08:00
|
|
|
"pair_style dipole/cut"_pair_dipole.html - point dipoles with cutoff
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style dpd"_pair_dpd.html - dissipative particle dynamics (DPD)
|
|
|
|
"pair_style eam"_pair_eam.html - embedded atom method (EAM)
|
2007-10-03 05:55:02 +08:00
|
|
|
"pair_style eam/opt"_pair_eam.html - optimized version of EAM
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style eam/alloy"_pair_eam.html - alloy EAM
|
2008-01-19 02:16:21 +08:00
|
|
|
"pair_style eam/alloy/opt"_pair_eam.html - optimized version of alloy EAM
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style eam/fs"_pair_eam.html - Finnis-Sinclair EAM
|
2008-01-19 02:16:21 +08:00
|
|
|
"pair_style eam/fs/opt"_pair_eam.html - optimized version of Finnis-Sinclair EAM
|
2007-04-20 07:25:27 +08:00
|
|
|
"pair_style gayberne"_pair_gayberne.html - Gay-Berne ellipsoidal potential
|
2009-01-09 08:14:52 +08:00
|
|
|
"pair_style gran/hertz/history"_pair_gran.html - granular potential with Hertzian interactions
|
|
|
|
"pair_style gran/hooke"_pair_gran.html - granular potential with history effects
|
|
|
|
"pair_style gran/hooke/history"_pair_gran.html - granular potential without history effects
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style lj/charmm/coul/charmm"_pair_charmm.html - CHARMM potential with cutoff Coulomb
|
|
|
|
"pair_style lj/charmm/coul/charmm/implicit"_pair_charmm.html - CHARMM for implicit solvent
|
|
|
|
"pair_style lj/charmm/coul/long"_pair_charmm.html - CHARMM with long-range Coulomb
|
2007-10-03 05:55:02 +08:00
|
|
|
"pair_style lj/charmm/coul/long/opt"_pair_charmm.html - optimized version of CHARMM with long-range Coulomb
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style lj/class2"_pair_class2.html - COMPASS (class 2) force field with no Coulomb
|
|
|
|
"pair_style lj/class2/coul/cut"_pair_class2.html - COMPASS with cutoff Coulomb
|
|
|
|
"pair_style lj/class2/coul/long"_pair_class2.html - COMPASS with long-range Coulomb
|
|
|
|
"pair_style lj/cut"_pair_lj.html - cutoff Lennard-Jones potential with no Coulomb
|
2007-10-03 05:55:02 +08:00
|
|
|
"pair_style lj/cut/opt"_pair_lj.html - optimized version of cutoff LJ
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style lj/cut/coul/cut"_pair_lj.html - LJ with cutoff Coulomb
|
2008-03-01 09:13:20 +08:00
|
|
|
"pair_style lj/cut/coul/debye"_pair_lj.html - LJ with Debye screening added to Coulomb
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style lj/cut/coul/long"_pair_lj.html - LJ with long-range Coulomb
|
|
|
|
"pair_style lj/cut/coul/long/tip4p"_pair_lj.html - LJ with long-range Coulomb for TIP4P water
|
|
|
|
"pair_style lj/expand"_pair_lj_expand.html - Lennard-Jones for variable size particles
|
2008-05-16 04:48:06 +08:00
|
|
|
"pair_style lj/gromacs"_pair_gromacs.html - GROMACS-style Lennard-Jones potential
|
|
|
|
"pair_style lj/gromacs/coul/gromacs"_pair_gromacs.html - GROMACS-style LJ and Coulombic potential
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style lj/smooth"_pair_lj_smooth.html - smoothed Lennard-Jones potential
|
2007-10-12 07:52:34 +08:00
|
|
|
"pair_style lubricate"_pair_lubricate.html - hydrodynamic lubrication forces
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style meam"_pair_meam.html - modified embedded atom method (MEAM)
|
|
|
|
"pair_style morse"_pair_morse.html - Morse potential
|
2008-01-19 02:16:21 +08:00
|
|
|
"pair_style morse/opt"_pair_morse.html - optimized version of Morse potential
|
2008-07-24 07:26:28 +08:00
|
|
|
"pair_style peri/pmb"_pair_peri_pmb.html - peridynamic PMB potential
|
2007-10-23 05:43:55 +08:00
|
|
|
"pair_style resquared"_pair_resquared.html - Everaers RE-Squared ellipsoidal potential
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style soft"_pair_soft.html - Soft (cosine) potential
|
|
|
|
"pair_style sw"_pair_sw.html - Stillinger-Weber 3-body potential
|
|
|
|
"pair_style table"_pair_table.html - tabulated pair potential
|
|
|
|
"pair_style tersoff"_pair_tersoff.html - Tersoff 3-body potential
|
2008-10-01 23:02:48 +08:00
|
|
|
"pair_style tersoff/zbl"_pair_tersoff.html - Tersoff/ZBL 3-body potential
|
2007-02-10 05:37:30 +08:00
|
|
|
"pair_style yukawa"_pair_yukawa.html - Yukawa potential :ul
|
2006-09-22 00:22:34 +08:00
|
|
|
|
2007-10-03 06:56:45 +08:00
|
|
|
There are also additional pair styles submitted by users which are
|
|
|
|
included in the LAMMPS distribution. The list of these with links to
|
|
|
|
the individual styles are given in the pair section of "this
|
|
|
|
page"_Section_commands.html#3_5.
|
|
|
|
|
2006-09-22 00:22:34 +08:00
|
|
|
:line
|
|
|
|
|
|
|
|
[Restrictions:]
|
|
|
|
|
|
|
|
This command must be used before any coefficients are set by the
|
|
|
|
"pair_coeff"_pair_coeff.html, "read_data"_read_data.html, or
|
|
|
|
"read_restart"_read_restart.html commands.
|
|
|
|
|
|
|
|
Some pair styles are part of specific packages. They are only enabled
|
|
|
|
if LAMMPS was built with that package. See the "Making
|
2007-06-26 08:03:39 +08:00
|
|
|
LAMMPS"_Section_start.html#2_3 section for more info on packages. The
|
|
|
|
doc pages for individual pair potentials tell if it is part of a
|
|
|
|
package.
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
[Related commands:]
|
|
|
|
|
|
|
|
"pair_coeff"_pair_coeff.html, "read_data"_read_data.html,
|
|
|
|
"pair_modify"_pair_modify.html, "kspace_style"_kspace_style.html,
|
|
|
|
"dielectric"_dielectric.html, "pair_write"_pair_write.html
|
|
|
|
|
|
|
|
[Default:]
|
|
|
|
|
|
|
|
pair_style none :pre
|