Files
lammps/doc/src/pair_comb.rst

215 lines
7.8 KiB
ReStructuredText

.. index:: pair_style comb
.. index:: pair_style comb/omp
.. index:: pair_style comb3
pair_style comb command
=======================
Accelerator Variants: *comb/omp*
pair_style comb3 command
========================
Syntax
""""""
.. code-block:: LAMMPS
pair_style comb
pair_style comb3 keyword
.. parsed-literal::
keyword = *polar*
*polar* value = *polar_on* or *polar_off* = whether or not to include atomic polarization
Examples
""""""""
.. code-block:: LAMMPS
pair_style comb
pair_coeff * * ../potentials/ffield.comb Si
pair_coeff * * ../potentials/ffield.comb Hf Si O
pair_style comb3 polar_off
pair_coeff * * ../potentials/ffield.comb3 O Cu N C O
Description
"""""""""""
Style *comb* computes the second generation variable charge COMB
(Charge-Optimized Many-Body) potential. Style *comb3* computes the
third-generation COMB potential. These COMB potentials are described
in :ref:`(COMB) <COMB>` and :ref:`(COMB3) <COMB3>`. Briefly, the
total energy :math:`E_T` of a system of atoms is given by
.. math::
E_T = & \sum_i [ E_i^{self} (q_i) + \sum_{j>i} [E_{ij}^{short} (r_{ij}, q_i, q_j) + E_{ij}^{Coul} (r_{ij}, q_i, q_j)] + \\
& E^{polar} (q_i, r_{ij}) + E^{vdW} (r_{ij}) + E^{barr} (q_i) + E^{corr} (r_{ij}, \theta_{jik})]
where :math:`E_i^{self}` is the self-energy of atom *i* (including
atomic ionization energies and electron affinities),
:math:`E_{ij}^{short}` is the bond-order potential between atoms *i* and
*j*, :math:`E_{ij}^{Coul}` is the Coulomb interactions,
:math:`E^{polar}` is the polarization term for organic systems (style
*comb3* only), :math:`E^{vdW}` is the van der Waals energy (style
*comb3* only), :math:`E^{barr}` is a charge barrier function, and
:math:`E^{corr}` are angular correction terms.
The COMB potentials (styles *comb* and *comb3*\ ) are variable charge
potentials. The equilibrium charge on each atom is calculated by the
electronegativity equalization (QEq) method. See :ref:`Rick <Rick2>` for
further details. This is implemented by the :doc:`fix qeq/comb <fix_qeq_comb>` command, which should normally be
specified in the input script when running a model with the COMB
potential. The :doc:`fix qeq/comb <fix_qeq_comb>` command has options
that determine how often charge equilibration is performed, its
convergence criterion, and which atoms are included in the
calculation.
Only a single pair_coeff command is used with the *comb* and *comb3*
styles which specifies the COMB potential file with parameters for all
needed elements. These are mapped to LAMMPS atom types by specifying
N additional arguments after the potential file in the pair_coeff
command, where N is the number of LAMMPS atom types.
For example, if your LAMMPS simulation of a Si/SiO2/
HfO2 interface has 4 atom types, and you want the first and
last to be Si, the second to be Hf, and the third to be O, and you would
use the following pair_coeff command:
.. code-block:: LAMMPS
pair_coeff * * ../potentials/ffield.comb Si Hf O Si
The first two arguments must be \* \* so as to span all LAMMPS atom
types. The first and last Si arguments map LAMMPS atom types 1 and 4
to the Si element in the *ffield.comb* file. The second Hf argument
maps LAMMPS atom type 2 to the Hf element, and the third O argument
maps LAMMPS atom type 3 to the O element in the potential file. If a
mapping value is specified as NULL, the mapping is not performed.
This can be used when a *comb* 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.
For style *comb*, the provided potential file *ffield.comb* contains
all currently-available second generation COMB parameterizations: for Si,
Cu, Hf, Ti, O, their oxides and Zr, Zn and U metals. For style
*comb3*, the potential file *ffield.comb3* contains all
currently-available third generation COMB parameterizations: O, Cu, N, C,
H, Ti, Zn and Zr. The status of the optimization of the compounds, for
example Cu2O, TiN and hydrocarbons, are given in the
following table:
+----+----+----+----+----+----+----+----+----+
| | O | Cu | N | C | H | Ti | Zn | Zr |
+----+----+----+----+----+----+----+----+----+
| O | F | F | F | F | F | F | F | F |
+----+----+----+----+----+----+----+----+----+
| Cu | F | F | P | F | F | P | F | P |
+----+----+----+----+----+----+----+----+----+
| N | F | P | F | M | F | P | P | P |
+----+----+----+----+----+----+----+----+----+
| C | F | F | M | F | F | M | M | M |
+----+----+----+----+----+----+----+----+----+
| H | F | F | F | F | F | M | M | F |
+----+----+----+----+----+----+----+----+----+
| Ti | F | P | P | M | M | F | P | P |
+----+----+----+----+----+----+----+----+----+
| Zn | F | F | P | M | M | P | F | P |
+----+----+----+----+----+----+----+----+----+
| Zr | F | P | P | M | F | P | P | F |
+----+----+----+----+----+----+----+----+----+
* F = Fully optimized
* M = Only optimized for dimer molecule
* P = in progress, but have it from mixing rule
For style *comb3*, in addition to ffield.comb3, a special parameter
file, *lib.comb3*, that is exclusively used for C/O/H systems, will be
automatically loaded if carbon atom is detected in LAMMPS input
structure. This file must be in your working directory or in the
directories listed in the environment variable ``LAMMPS_POTENTIALS``, as
described on the :doc:`pair_coeff <pair_coeff>` command doc page.
The keyword *polar* indicates whether the force field includes
the atomic polarization. Since the equilibration of the polarization
has not yet been implemented, it can only set polar_off at present.
.. note::
You can not use potential file *ffield.comb* with style *comb3*,
nor file *ffield.comb3* with style *comb*\ .
----------
.. include:: accel_styles.rst
----------
Mixing, shift, table, tail correction, restart, rRESPA info
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
For atom type pairs I,J and I != J, where types I and J correspond to
two different element types, mixing is performed by LAMMPS as
described above from values in the potential file.
These pair styles does not support the :doc:`pair_modify <pair_modify>`
shift, table, and tail options.
These pair styles do not write its information to :doc:`binary restart files <restart>`, since it is stored in potential files. Thus, you
need to re-specify the pair_style, pair_coeff, and :doc:`fix qeq/comb <fix_qeq_comb>` commands in an input script that reads a
restart file.
These pair styles can only be used via the *pair* keyword of the
:doc:`run_style respa <run_style>` command. It does not support the
*inner*, *middle*, *outer* keywords.
----------
Restrictions
""""""""""""
These pair styles are part of the MANYBODY package. It is only
enabled if LAMMPS was built with that package. See the :doc:`Build package <Build_package>` page for more info.
These pair styles requires the :doc:`newton <newton>` setting to be "on"
for pair interactions.
The COMB potentials in the *ffield.comb* and *ffield.comb3* files provided
with LAMMPS (see the potentials directory) are parameterized for metal
:doc:`units <units>`. You can use the COMB potential with any LAMMPS
units, but you would need to create your own COMB potential file with
coefficients listed in the appropriate units if your simulation
does not use "metal" units.
Related commands
""""""""""""""""
:doc:`pair_style <pair_style>`, :doc:`pair_coeff <pair_coeff>`,
:doc:`fix qeq/comb <fix_qeq_comb>`
Default
"""""""
none
----------
.. _COMB:
**(COMB)** T.-R. Shan, B. D. Devine, T. W. Kemper, S. B. Sinnott, and
S. R. Phillpot, Phys. Rev. B 81, 125328 (2010)
.. _COMB3:
**(COMB3)** T. Liang, T.-R. Shan, Y.-T. Cheng, B. D. Devine, M. Noordhoek,
Y. Li, Z. Lu, S. R. Phillpot, and S. B. Sinnott, Mat. Sci. & Eng: R 74,
255-279 (2013).
.. _Rick2:
**(Rick)** S. W. Rick, S. J. Stuart, B. J. Berne, J Chem Phys 101, 6141
(1994).