Commit dcede304 authored by Steve Plimpton's avatar Steve Plimpton
Browse files

changes for next patch, 2d disc options for spheres, fix external upgrade, bug...

changes for next patch, 2d disc options for spheres, fix external upgrade, bug fixes for fix ave/chunk for density calcs, Aidan doc page citation deconvolution
parent 145e682a
Loading
Loading
Loading
Loading
+23 −10
Original line number Diff line number Diff line
@@ -165,9 +165,16 @@ Many of the example input scripts included in the LAMMPS distribution
are for 2d models.

NOTE: Some models in LAMMPS treat particles as finite-size spheres, as
opposed to point particles.  In 2d, the particles will still be
spheres, not disks, meaning their moment of inertia will be the same
as in 3d.
opposed to point particles.  See the "atom_style
sphere"_atom_style.html and "fix nve/sphere"_fix_nve_sphere.html
commands for details.  By default, for 2d simulations, such particles
will still be modeled as 3d spheres, not 2d discs (circles), meaning
their moment of inertia will be that of a sphere.  If you wish to
model them as 2d discs, see the "set density/disc"_set.html command
and the {disc} option for the "fix nve/sphere"_fix_nve_sphere.html,
"fix nvt/sphere"_fix_nvt_sphere.html, "fix
nph/sphere"_fix_nph_sphere.html, "fix npt/sphere"_fix_npt_sphere.html
commands.

:line

@@ -434,6 +441,12 @@ computations between frozen atoms by using this command:

"neigh_modify"_neigh_modify.html exclude :ul

NOTE: By default, for 2d systems, granular particles are still modeled
as 3d spheres, not 2d discs (circles), meaning their moment of inertia
will be the same as in 3d.  If you wish to model granular particles in
2d as 2d discs, see the note on this topic in "Section
6.2"_Section_howto.html#howto_2, where 2d simulations are disussed.

:line

6.7 TIP3P water model :link(howto_7),h4
@@ -451,7 +464,7 @@ atoms and the water molecule to run a rigid TIP3P-CHARMM model with a
cutoff.  The K values can be used if a flexible TIP3P model (without
fix shake) is desired.  If the LJ epsilon and sigma for HH and OH are
set to 0.0, it corresponds to the original 1983 TIP3P model
"(Jorgensen)"_#Jorgensen.
"(Jorgensen)"_#Jorgensen1.

O mass = 15.9994
H mass = 1.008
@@ -469,7 +482,7 @@ K of HOH angle = 55
theta of HOH angle = 104.52 :all(b),p

These are the parameters to use for TIP3P with a long-range Coulombic
solver (e.g. Ewald or PPPM in LAMMPS), see "(Price)"_#Price for
solver (e.g. Ewald or PPPM in LAMMPS), see "(Price)"_#Price1 for
details:

O mass = 15.9994
@@ -513,7 +526,7 @@ using the "fix shake"_fix_shake.html command.

These are the additional parameters (in real units) to set for O and H
atoms and the water molecule to run a rigid TIP4P model with a cutoff
"(Jorgensen)"_#Jorgensen.  Note that the OM distance is specified in
"(Jorgensen)"_#Jorgensen1.  Note that the OM distance is specified in
the "pair_style"_pair_style.html command, not as part of the pair
coefficients.

@@ -1838,7 +1851,7 @@ the deformation must be chosen judiciously, and care must be taken to
fully equilibrate the deformed cell before sampling the stress
tensor. Another approach is to sample the triclinic cell fluctuations
that occur in an NPT simulation. This method can also be slow to
converge and requires careful post-processing "(Shinoda)"_#Shinoda
converge and requires careful post-processing "(Shinoda)"_#Shinoda1

:line

@@ -2903,14 +2916,14 @@ Fischer, Gao, Guo, Ha, et al, J Phys Chem, 102, 3586 (1998).
[(Mayo)] Mayo, Olfason, Goddard III, J Phys Chem, 94, 8897-8909
(1990).

:link(Jorgensen)
:link(Jorgensen1)
[(Jorgensen)] Jorgensen, Chandrasekhar, Madura, Impey, Klein, J Chem
Phys, 79, 926 (1983).

:link(Price)
:link(Price1)
[(Price)] Price and Brooks, J Chem Phys, 121, 10096 (2004).

:link(Shinoda)
:link(Shinoda1)
[(Shinoda)] Shinoda, Shiga, and Mikami, Phys Rev B, 69, 134103 (2004).

:link(MitchellFincham)
+30 −26
Original line number Diff line number Diff line
@@ -39,15 +39,16 @@ authors.
The source code for each of these codes is in the tools sub-directory
of the LAMMPS distribution.  There is a Makefile (which you may need
to edit for your platform) which will build several of the tools which
reside in that directory.  Some of them are larger packages in their
own sub-directories with their own Makefiles.
reside in that directory.  Most of them are larger packages in their
own sub-directories with their own Makefiles and/or README files.

"amber2lmp"_#amber
"binary2txt"_#binary
"ch2lmp"_#charmm
"chain"_#chain
"colvars"_#colvars
"createatoms"_#create
"createatoms"_#createtools
"drude"_#drude
"eam database"_#eamdb
"eam generate"_#eamgn
"eff"_#eff
@@ -63,11 +64,11 @@ own sub-directories with their own Makefiles.
"moltemplate"_#moltemplate
"msi2lmp"_#msi
"phonon"_#phonon
"polymer bonding"_#polybond
"polybond"_#polybond
"pymol_asphere"_#pymol
"python"_#pythontools
"reax"_#reax_tool
"restart2data"_#restart
"smd"_#smd
"vim"_#vim
"xmgrace"_#xmgrace

@@ -171,6 +172,19 @@ The tool is authored by Xiaowang Zhou (Sandia), xzhou at sandia.gov.

:line

drude tool :h4,link(drude)

The tools/drude directory contains a Python script called
polarizer.py which can add Drude oscillators to a LAMMPS
data file in the required format.

See the header of the polarizer.py file for details.

The tool is authored by Agilio Padua and Alain Dequidt: agilio.padua
at univ-bpclermont.fr, alain.dequidt at univ-bpclermont.fr

:line

eam database tool :h4,link(eamdb)

The tools/eam_database directory contains a Fortran program that will
@@ -382,7 +396,7 @@ University.

:line

polymer bonding tool :h4,link(polybond)
polybond tool :h4,link(polybond)

The polybond sub-directory contains a Python-based tool useful for
performing "programmable polymer bonding".  The Python file
@@ -441,29 +455,19 @@ These tools were written by Aidan Thompson at Sandia.

:line

restart2data tool :h4,link(restart)

NOTE: This tool is now obsolete and is not included in the current
LAMMPS distribution.  This is because there is now a
"write_data"_write_data.html command, which can create a data file
from within an input script.  Running LAMMPS with the "-r"
"command-line switch"_Section_start.html#start_7 as follows:

lmp_g++ -r restartfile datafile

is the same as running a 2-line input script:
smd tool :h4,link(smd)

read_restart restartfile
write_data datafile
The smd sub-directory contains a C++ file dump2vtk_tris.cpp and
Makefile which can be compiled and used to convert triangle output
files created by the Smooth-Mach Dynamics (USER-SMD) package into a
VTK-compatible unstructured grid file.  It could then be read in and
visualized by VTK.

which will produce the same data file that the restart2data tool used
to create.
See the header of dump2vtk.cpp for more details.

IMPORTANT NOTE: LAMMPS' binary restart files are generally not portable
between platforms, compiler settings and LAMMPS versions. Changes in
the format itself are rare, but no effort is made to maintain backward
compatibility. Data files are mostly backward and forward portable,
if no features are used that exist in only one LAMMPS version.
This tool was written by the USER-SMD package author, Georg
Ganzenmuller at the Fraunhofer-Institute for High-Speed Dynamics,
Ernst Mach Institute in Germany (georg.ganzenmueller at emi.fhg.de).

:line

+2 −2
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ angle.

The torque on the dipole can be obtained by differentiating the
potential using the 'chain rule' as in appendix C.3 of
"(Allen)"_#Allen:
"(Allen)"_#Allen1:

:c,image(Eqs/angle_dipole_torque.jpg)

@@ -121,6 +121,6 @@ This angle style should not be used with SHAKE.
[(Orsi)] Orsi & Essex, The ELBA force field for coarse-grain modeling of
lipid membranes, PloS ONE 6(12): e28637, 2011.

:link(Allen)
:link(Allen1)
[(Allen)] Allen & Tildesley, Computer Simulation of Liquids,
Clarendon Press, Oxford, 1987.
+6 −1
Original line number Diff line number Diff line
@@ -110,7 +110,12 @@ basis.
For the {sphere} style, the particles are spheres and each stores a
per-particle diameter and mass.  If the diameter > 0.0, the particle
is a finite-size sphere.  If the diameter = 0.0, it is a point
particle.
particle.  Note that by use of the {disc} keyword with the "fix
nve/sphere"_fix_nve_sphere.html, "fix nvt/sphere"_fix_nvt_sphere.html,
"fix nph/sphere"_fix_nph_sphere.html, "fix
npt/sphere"_fix_npt_sphere.html commands, spheres can be effectively
treated as 2d discs for a 2d simulation if desired.  See also the "set
density/disc"_set.html command.

For the {ellipsoid} style, the particles are ellipsoids and each
stores a flag which indicates whether it is a finite-size ellipsoid or
+3 −1
Original line number Diff line number Diff line
@@ -148,7 +148,9 @@ described further below where the keywords are discussed.
The {binning} styles perform a spatial binning of atoms, and assign an
atom the chunk ID corresponding to the bin number it is in.  {Nchunk}
is set to the number of bins, which can change if the simulation box
size changes.
size changes.  This also depends on the setting of the {units}
keyword; e.g. for {reduced} units the number of chunks may not change
even if the box size does.

The {bin/1d}, {bin/2d}, and {bin/3d} styles define bins as 1d layers
(slabs), 2d pencils, or 3d boxes.  The {dim}, {origin}, and {delta}
Loading