From 21fe3ece38725d6e45a2fa6db8614cec23b63ca2 Mon Sep 17 00:00:00 2001
From: sjplimp kspace_style, boundary
kspace_modify, pair_style
lj/cut/coul/long, pair_style
-lj/charmm/coul/long, pair_style
-lj/coul, pair_style buck/coul/long
+lj/charmm/coul/long, pair_style
+lj/long, pair_style
+lj/long/coul/long,
+pair_style buck/coul/long
Default:
kspace_modify, pair_style lj/cut/coul/long, pair_style -lj/charmm/coul/long, pair_style -lj/coul, pair_style buck/coul/long +lj/charmm/coul/long, pair_style +lj/long/coul/long, pair_style buck/coul/long
Default:
diff --git a/doc/kspace_style.txt b/doc/kspace_style.txt index a8021a7a55..235b3ce03a 100644 --- a/doc/kspace_style.txt +++ b/doc/kspace_style.txt @@ -301,7 +301,7 @@ non-periodic. "kspace_modify"_kspace_modify.html, "pair_style lj/cut/coul/long"_pair_lj.html, "pair_style lj/charmm/coul/long"_pair_charmm.html, "pair_style -lj/coul"_pair_lj_coul.html, "pair_style buck/coul/long"_pair_buck.html +lj/long/coul/long"_pair_lj_long.html, "pair_style buck/coul/long"_pair_buck.html [Default:] diff --git a/doc/pair_coul.html b/doc/pair_coul.html index 188c9e98c3..fb0afa5c3c 100644 --- a/doc/pair_coul.html +++ b/doc/pair_coul.html @@ -35,6 +35,14 @@Syntax:
pair_style coul/cut cutoff @@ -42,7 +50,9 @@ pair_style coul/debye kappa cutoff pair_style coul/dsf alpha cutoff pair_style coul/long cutoff pair_style coul/long/gpu cutoff -pair_style coul/wolf alpha cutoff +pair_style coul/wolf alpha cutoff +pair_style tip4p/cut otype htype btype atype qdist cutoff +pair_style tip4p/long otype htype btype atype qdist cutoff
pair_style coul/wolf 0.2 9.0 pair_coeff * *+
pair_style tip4p/cut 1 2 7 8 0.15 12.0 +pair_coeff * * ++
pair_style tip4p/long 1 2 7 8 0.15 10.0 +pair_coeff * * +
Description:
The coul/cut style computes the standard Coulombic interaction @@ -127,6 +143,33 @@ option. The Coulombic cutoff specified for this style means that pairwise interactions within this distance are computed directly; interactions outside that distance are computed in reciprocal space.
+Styles tip4p/cut and tip4p/long implement the coulomb part of +the TIP4P water model of (Jorgensen), which introduces +a massless site located a short distance away from the oxygen atom +along the bisector of the HOH angle. The atomic types of the oxygen and +hydrogen atoms, the bond and angle types for OH and HOH interactions, +and the distance to the massless charge site are specified as +pair_style arguments. Style tip4p/cut uses a global cutoff for +Coulomb interactions; style tip4p/long is for use with a long-range +Coulombic solver (Ewald or PPPM). +
+IMPORTANT NOTE: For each TIP4P water molecule in your system, the atom +IDs for the O and 2 H atoms must be consecutive, with the O atom +first. This is to enable LAMMPS to "find" the 2 H atoms associated +with each O atom. For example, if the atom ID of an O atom in a TIP4P +water molecule is 500, then its 2 H atoms must have IDs 501 and 502. +
+See the howto section for more +information on how to use the TIP4P pair styles and lists of +parameters to set. Note that the neighobr list cutoff for Coulomb +interactions is effectively extended by a distance 2*qdist when using +the TIP4P pair style, to account for the offset distance of the +fictitious charges on O atoms in water molecules. Thus it is +typically best in an efficiency sense to use a LJ cutoff >= Coulomb +cutoff + 2*qdist, to shrink the size of the neighbor list. This leads +to slightly larger cost for the long-range calculation, so you can +test the trade-off for your model. +
These potentials are designed to be combined with other pair potentials via the pair_style hybrid/overlay command. This is because they have no repulsive core. Hence if they @@ -203,15 +246,17 @@ to be specified in an input script that reads a restart file.
Restrictions:
-The coul/long style is part of the KSPACE package. It is only -enabled if LAMMPS was built with that package (which it is by -default). See the Making LAMMPS section +
The coul/long, coul/msm and tip4p/long styles are part of the +KSPACE package. They are only enabled if LAMMPS was built with that +package (which it is by default). + See the Making LAMMPS section for more info.
Related commands:
pair_coeff, pair_style hybrid/overlay +kspace_style
Default: none
diff --git a/doc/pair_coul.txt b/doc/pair_coul.txt index 8982350db7..617d64b0b9 100644 --- a/doc/pair_coul.txt +++ b/doc/pair_coul.txt @@ -19,6 +19,10 @@ pair_style coul/msm command :h3 pair_style coul/msm/omp command :h3 pair_style coul/wolf command :h3 pair_style coul/wolf/omp command :h3 +pair_style tip4p/cut command :h3 +pair_style tip4p/long command :h3 +pair_style tip4p/cut/omp command :h3 +pair_style tip4p/long/omp command :h3 [Syntax:] @@ -27,7 +31,9 @@ pair_style coul/debye kappa cutoff pair_style coul/dsf alpha cutoff pair_style coul/long cutoff pair_style coul/long/gpu cutoff -pair_style coul/wolf alpha cutoff :pre +pair_style coul/wolf alpha cutoff +pair_style tip4p/cut otype htype btype atype qdist cutoff +pair_style tip4p/long otype htype btype atype qdist cutoff :pre cutoff = global cutoff for Coulombic interactions kappa = Debye length (inverse distance units) @@ -55,6 +61,12 @@ pair_coeff * * :pre pair_style coul/wolf 0.2 9.0 pair_coeff * * :pre +pair_style tip4p/cut 1 2 7 8 0.15 12.0 +pair_coeff * * :pre + +pair_style tip4p/long 1 2 7 8 0.15 10.0 +pair_coeff * * :pre + [Description:] The {coul/cut} style computes the standard Coulombic interaction @@ -112,6 +124,33 @@ option. The Coulombic cutoff specified for this style means that pairwise interactions within this distance are computed directly; interactions outside that distance are computed in reciprocal space. +Styles {tip4p/cut} and {tip4p/long} implement the coulomb part of +the TIP4P water model of "(Jorgensen)"_#Jorgensen, which introduces +a massless site located a short distance away from the oxygen atom +along the bisector of the HOH angle. The atomic types of the oxygen and +hydrogen atoms, the bond and angle types for OH and HOH interactions, +and the distance to the massless charge site are specified as +pair_style arguments. Style {tip4p/cut} uses a global cutoff for +Coulomb interactions; style {tip4p/long} is for use with a long-range +Coulombic solver (Ewald or PPPM). + +IMPORTANT NOTE: For each TIP4P water molecule in your system, the atom +IDs for the O and 2 H atoms must be consecutive, with the O atom +first. This is to enable LAMMPS to "find" the 2 H atoms associated +with each O atom. For example, if the atom ID of an O atom in a TIP4P +water molecule is 500, then its 2 H atoms must have IDs 501 and 502. + +See the "howto section"_Section_howto.html#howto_8 for more +information on how to use the TIP4P pair styles and lists of +parameters to set. Note that the neighobr list cutoff for Coulomb +interactions is effectively extended by a distance 2*qdist when using +the TIP4P pair style, to account for the offset distance of the +fictitious charges on O atoms in water molecules. Thus it is +typically best in an efficiency sense to use a LJ cutoff >= Coulomb +cutoff + 2*qdist, to shrink the size of the neighbor list. This leads +to slightly larger cost for the long-range calculation, so you can +test the trade-off for your model. + These potentials are designed to be combined with other pair potentials via the "pair_style hybrid/overlay"_pair_hybrid.html command. This is because they have no repulsive core. Hence if they @@ -188,15 +227,17 @@ This pair style can only be used via the {pair} keyword of the [Restrictions:] -The {coul/long} style is part of the KSPACE package. It is only -enabled if LAMMPS was built with that package (which it is by -default). See the "Making LAMMPS"_Section_start.html#start_3 section +The {coul/long}, {coul/msm} and {tip4p/long} styles are part of the +KSPACE package. They are only enabled if LAMMPS was built with that +package (which it is by default). + See the "Making LAMMPS"_Section_start.html#start_3 section for more info. [Related commands:] "pair_coeff"_pair_coeff.html, "pair_style hybrid/overlay"_pair_hybrid.html +"kspace_style"_kspace_style.html [Default:] none