forked from lijiext/lammps
193 lines
7.4 KiB
Plaintext
193 lines
7.4 KiB
Plaintext
<script type="text/javascript"
|
|
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
|
|
</script>
|
|
<script type="text/x-mathjax-config">
|
|
MathJax.Hub.Config({ TeX: { equationNumbers: {autoNumber: "AMS"} } });
|
|
</script>
|
|
|
|
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
|
|
|
:link(lws,http://lammps.sandia.gov)
|
|
:link(ld,Manual.html)
|
|
:link(lc,Commands_all.html)
|
|
|
|
:line
|
|
|
|
pair_style thole command :h3
|
|
pair_style lj/cut/thole/long command :h3
|
|
pair_style lj/cut/thole/long/omp command :h3
|
|
|
|
[Syntax:]
|
|
|
|
pair_style style args :pre
|
|
|
|
style = {thole} or {lj/cut/thole/long} or {lj/cut/thole/long/omp}
|
|
args = list of arguments for a particular style :ul
|
|
{thole} args = damp cutoff
|
|
damp = global damping parameter
|
|
cutoff = global cutoff (distance units)
|
|
{lj/cut/thole/long} or {lj/cut/thole/long/omp} args = damp cutoff (cutoff2)
|
|
damp = global damping parameter
|
|
cutoff = global cutoff for LJ (and Thole if only 1 arg) (distance units)
|
|
cutoff2 = global cutoff for Thole (optional) (distance units) :pre
|
|
|
|
[Examples:]
|
|
|
|
pair_style hybrid/overlay ... thole 2.6 12.0
|
|
pair_coeff 1 1 thole 1.0
|
|
pair_coeff 1 2 thole 1.0 2.6 10.0
|
|
pair_coeff * 2 thole 1.0 2.6 :pre
|
|
|
|
pair_style lj/cut/thole/long 2.6 12.0 :pre
|
|
|
|
[Description:]
|
|
|
|
The {thole} pair styles are meant to be used with force fields that
|
|
include explicit polarization through Drude dipoles. This link
|
|
describes how to use the "thermalized Drude oscillator
|
|
model"_Howto_drude.html in LAMMPS and polarizable models in LAMMPS are
|
|
discussed on the "Howto polarizable"_Howto_polarizable.html doc page.
|
|
|
|
The {thole} pair style should be used as a sub-style within in the
|
|
"pair_hybrid/overlay"_pair_hybrid.html command, in conjunction with a
|
|
main pair style including Coulomb interactions, i.e. any pair style
|
|
containing {coul/cut} or {coul/long} in its style name.
|
|
|
|
The {lj/cut/thole/long} pair style is equivalent to, but more convenient that
|
|
the frequent combination {hybrid/overlay lj/cut/coul/long cutoff thole damp
|
|
cutoff2}. It is not only a shorthand for this pair_style combination, but
|
|
it also allows for mixing pair coefficients instead of listing them all.
|
|
The {lj/cut/thole/long} pair style is also a bit faster because it avoids an
|
|
overlay and can benefit from OMP acceleration. Moreover, it uses a more
|
|
precise approximation of the direct Coulomb interaction at short range similar
|
|
to "coul/long/cs"_pair_cs.html, which stabilizes the temperature of
|
|
Drude particles.
|
|
|
|
The {thole} pair styles compute the Coulomb interaction damped at
|
|
short distances by a function
|
|
|
|
\begin\{equation\} T_\{ij\}(r_\{ij\}) = 1 - \left( 1 +
|
|
\frac\{s_\{ij\} r_\{ij\} \}\{2\} \right)
|
|
\exp \left( - s_\{ij\} r_\{ij\} \right) \end\{equation\}
|
|
|
|
This function results from an adaptation to point charges
|
|
"(Noskov)"_#Noskov1 of the dipole screening scheme originally proposed
|
|
by "Thole"_#Thole1. The scaling coefficient \(s_\{ij\} \) is determined
|
|
by the polarizability of the atoms, \( \alpha_i \), and by a Thole
|
|
damping parameter \( a \). This Thole damping parameter usually takes
|
|
a value of 2.6, but in certain force fields the value can depend upon
|
|
the atom types. The mixing rule for Thole damping parameters is the
|
|
arithmetic average, and for polarizabilities the geometric average
|
|
between the atom-specific values.
|
|
|
|
\begin\{equation\} s_\{ij\} = \frac\{ a_\{ij\} \}\{
|
|
(\alpha_\{ij\})^\{1/3\} \} = \frac\{ (a_i + a_j)/2 \}\{
|
|
\[(\alpha_i\alpha_j)^\{1/2\}\]^\{1/3\} \} \end\{equation\}
|
|
|
|
The damping function is only applied to the interactions between the
|
|
point charges representing the induced dipoles on polarizable sites,
|
|
that is, charges on Drude particles, \( q_\{D,i\} \), and opposite
|
|
charges, \( -q_\{D,i\} \), located on the respective core particles
|
|
(to which each Drude particle is bonded). Therefore, Thole screening
|
|
is not applied to the full charge of the core particle \( q_i \), but
|
|
only to the \( -q_\{D,i\} \) part of it.
|
|
|
|
The interactions between core charges are subject to the weighting
|
|
factors set by the "special_bonds"_special_bonds.html command. The
|
|
interactions between Drude particles and core charges or
|
|
non-polarizable atoms are also subject to these weighting factors. The
|
|
Drude particles inherit the 1-2, 1-3 and 1-4 neighbor relations from
|
|
their respective cores.
|
|
|
|
For pair_style {thole}, the following coefficients must be defined for
|
|
each pair of atoms types via the "pair_coeff"_pair_coeff.html command
|
|
as in the example above.
|
|
|
|
alpha (distance units^3)
|
|
damp
|
|
cutoff (distance units) :ul
|
|
|
|
The last two coefficients are optional. If not specified the global
|
|
Thole damping parameter or global cutoff specified in the pair_style
|
|
command are used. In order to specify a cutoff (third argument) a damp
|
|
parameter (second argument) must also be specified.
|
|
|
|
For pair style {lj/cut/thole/long}, the following coefficients must be
|
|
defined for each pair of atoms types via the "pair_coeff"_pair_coeff.html
|
|
command.
|
|
|
|
epsilon (energy units)
|
|
sigma (length units)
|
|
alpha (distance units^3)
|
|
damps
|
|
LJ cutoff (distance units) :ul
|
|
|
|
The last two coefficients are optional and default to the global values from
|
|
the {pair_style} command line.
|
|
|
|
:line
|
|
|
|
Styles with a {gpu}, {intel}, {kk}, {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 on the "Speed packages"_Speed_packages.html doc
|
|
page. The accelerated styles take the same arguments and should
|
|
produce the same results, except for round-off and precision issues.
|
|
|
|
These accelerated styles are part of the GPU, USER-INTEL, KOKKOS,
|
|
USER-OMP and OPT packages, respectively. They are only enabled if
|
|
LAMMPS was built with those packages. See the "Build
|
|
package"_Build_package.html doc page 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
|
|
switch"_Run_options.html when you invoke LAMMPS, or you can use the
|
|
"suffix"_suffix.html command in your input script.
|
|
|
|
See the "Speed packages"_Speed_packages.html doc page for more
|
|
instructions on how to use the accelerated styles effectively.
|
|
|
|
[Mixing]:
|
|
|
|
The {thole} pair style does not support mixing. Thus, coefficients
|
|
for all I,J pairs must be specified explicitly.
|
|
|
|
The {lj/cut/thole/long} pair style does support mixing. Mixed coefficients
|
|
are defined using
|
|
|
|
\begin\{equation\} \alpha_\{ij\} = \sqrt\{\alpha_i\alpha_j\}\end\{equation\}
|
|
\begin\{equation\} a_\{ij\} = \frac 1 2 (a_i + a_j)\end\{equation\}
|
|
|
|
[Restrictions:]
|
|
|
|
These pair styles are part of the USER-DRUDE package. They are only
|
|
enabled if LAMMPS was built with that package. See the "Build
|
|
package"_Build_package.html doc page for more info.
|
|
|
|
This pair_style should currently not be used with the "charmm dihedral
|
|
style"_dihedral_charmm.html if the latter has non-zero 1-4 weighting
|
|
factors. This is because the {thole} pair style does not know which
|
|
pairs are 1-4 partners of which dihedrals.
|
|
|
|
The {lj/cut/thole/long} pair style should be used with a "Kspace solver"_kspace_style.html
|
|
like PPPM or Ewald, which is only enabled if LAMMPS was built with the kspace
|
|
package.
|
|
|
|
[Related commands:]
|
|
|
|
"fix drude"_fix_drude.html, "fix
|
|
langevin/drude"_fix_langevin_drude.html, "fix
|
|
drude/transform"_fix_drude_transform.html, "compute
|
|
temp/drude"_compute_temp_drude.html
|
|
"pair_style lj/cut/coul/long"_pair_lj.html
|
|
|
|
[Default:] none
|
|
|
|
:line
|
|
|
|
:link(Noskov1)
|
|
[(Noskov)] Noskov, Lamoureux and Roux, J Phys Chem B, 109, 6705 (2005).
|
|
|
|
:link(Thole1)
|
|
[(Thole)] Chem Phys, 59, 341 (1981).
|