2007-09-28 07:25:52 +08:00
|
|
|
<HEAD>
|
|
|
|
<TITLE>LAMMPS Users Manual</TITLE>
|
|
|
|
<META NAME="docnumber" CONTENT="Large-scale Atomic/Molecular Massively Parallel Simulator">
|
|
|
|
<META NAME="author" CONTENT="http://lammps.sandia.gov - Sandia National Laboratories">
|
|
|
|
<META NAME="copyright" CONTENT="Copyright (2003) Sandia Corporation. This software and manual is distributed under the GNU General Public License.">
|
|
|
|
</HEAD>
|
|
|
|
|
|
|
|
<BODY>
|
|
|
|
|
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
|
|
|
|
|
|
|
|
<H1></H1>
|
|
|
|
|
|
|
|
LAMMPS Documentation :c,h3
|
|
|
|
|
2010-09-07 04:22:15 +08:00
|
|
|
Version info:
|
|
|
|
|
|
|
|
HTML pages on WWW site are always current to most recent patch on "this page"_bug
|
|
|
|
HTML pages in doc directory are for LAMMPS version you have
|
|
|
|
PDF file on WWW site and in doc directory is updated about once per month :ul
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
LAMMPS stands for Large-scale Atomic/Molecular Massively Parallel
|
|
|
|
Simulator.
|
|
|
|
|
|
|
|
LAMMPS is a classical molecular dynamics simulation code designed to
|
|
|
|
run efficiently on parallel computers. It was developed at Sandia
|
|
|
|
National Laboratories, a US Department of Energy facility, with
|
|
|
|
funding from the DOE. It is an open-source code, distributed freely
|
|
|
|
under the terms of the GNU Public License (GPL).
|
|
|
|
|
2010-01-15 07:50:34 +08:00
|
|
|
The primary developers of LAMMPS are "Steve Plimpton"_sjp, Paul
|
|
|
|
Crozier, and Aidan Thompson who can be contacted at
|
|
|
|
sjplimp,pscrozi,athomps at sandia.gov. The "LAMMPS WWW Site"_lws at
|
|
|
|
http://lammps.sandia.gov has more information about the code and its
|
|
|
|
uses.
|
2006-09-22 00:22:34 +08:00
|
|
|
|
2010-09-07 04:22:15 +08:00
|
|
|
:link(bug,http://lammps.sandia.gov/bug.html)
|
2010-05-07 23:11:21 +08:00
|
|
|
:link(sjp,http://www.sandia.gov/~sjplimp)
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
:line
|
|
|
|
|
|
|
|
The LAMMPS documentation is organized into the following sections. If
|
|
|
|
you find errors or omissions in this manual or have suggestions for
|
2006-09-26 23:30:56 +08:00
|
|
|
useful information to add, please send an email to the developers so
|
|
|
|
we can improve the LAMMPS documentation.
|
2006-09-22 00:22:34 +08:00
|
|
|
|
2007-06-26 08:03:39 +08:00
|
|
|
Once you are familiar with LAMMPS, you may want to bookmark "this
|
|
|
|
page"_Section_commands.html#comm at Section_commands.html#comm since
|
|
|
|
it gives quick access to documentation for all LAMMPS commands.
|
|
|
|
|
2006-09-22 00:22:34 +08:00
|
|
|
"PDF file"_Manual.pdf of the entire manual, generated by
|
|
|
|
"htmldoc"_http://www.easysw.com/htmldoc
|
|
|
|
|
2009-03-19 22:54:14 +08:00
|
|
|
IMPORTANT NOTE: If you browse the LAMMPS HTML doc pages from the
|
|
|
|
LAMMPS WWW site, then they describe the most current, fully-patched
|
|
|
|
version of LAMMPS, which has changed after the date listed above.
|
|
|
|
These additions are described on "this
|
|
|
|
page"_http://lammps.sandia.gov/bug.html. If you browse the HTML doc
|
|
|
|
pages from the doc directory of the tarball you downloaded, then they
|
|
|
|
will describe that tarball, whether it was the original version for
|
|
|
|
the date listed above, or an upgraded tarball including features up to
|
|
|
|
the date you downloaded it, again as described on "this
|
2009-03-19 22:34:23 +08:00
|
|
|
page"_http://lammps.sandia.gov/bug.html. When the tarball unpacks, it
|
|
|
|
will contain the date that corresponds to which version you
|
|
|
|
downloaded. The PDF file described above is not regenerated for every
|
|
|
|
patch, so it always corresponds to the original version with the date
|
|
|
|
listed above.
|
|
|
|
|
2006-09-22 00:22:34 +08:00
|
|
|
"Introduction"_Section_intro.html :olb,l
|
|
|
|
1.1 "What is LAMMPS"_1_1 :ulb,b
|
|
|
|
1.2 "LAMMPS features"_1_2 :b
|
|
|
|
1.3 "LAMMPS non-features"_1_3 :b
|
|
|
|
1.4 "Open source distribution"_1_4 :b
|
|
|
|
1.5 "Acknowledgments and citations"_1_5 :ule,b
|
|
|
|
"Getting started"_Section_start.html :l
|
|
|
|
2.1 "What's in the LAMMPS distribution"_2_1 :ulb,b
|
|
|
|
2.2 "Making LAMMPS"_2_2 :b
|
2007-02-17 05:06:13 +08:00
|
|
|
2.3 "Making LAMMPS with optional packages"_2_3 :b
|
|
|
|
2.4 "Building LAMMPS as a library"_2_4 :b
|
2007-02-10 05:37:30 +08:00
|
|
|
2.5 "Running LAMMPS"_2_5 :b
|
|
|
|
2.6 "Command-line options"_2_6 :b
|
|
|
|
2.7 "Screen output"_2_7 :b
|
2009-08-13 00:45:55 +08:00
|
|
|
2.8 "Running on GPUs"_2_8 :b
|
|
|
|
2.9 "Tips for users of previous versions"_2_9 :ule,b
|
2006-09-22 00:22:34 +08:00
|
|
|
"Commands"_Section_commands.html :l
|
|
|
|
3.1 "LAMMPS input script"_3_1 :ulb,b
|
|
|
|
3.2 "Parsing rules"_3_2 :b
|
|
|
|
3.3 "Input script structure"_3_3 :b
|
|
|
|
3.4 "Commands listed by category"_3_4 :b
|
|
|
|
3.5 "Commands listed alphabetically"_3_5 :ule,b
|
|
|
|
"How-to discussions"_Section_howto.html :l
|
|
|
|
4.1 "Restarting a simulation"_4_1 :ulb,b
|
|
|
|
4.2 "2d simulations"_4_2 :b
|
|
|
|
4.3 "CHARMM and AMBER force fields"_4_3 :b
|
|
|
|
4.4 "Running multiple simulations from one input script"_4_4 :b
|
2010-10-01 04:38:58 +08:00
|
|
|
4.5 "Multi-replica simulations"_4_5 :b
|
2006-09-22 00:22:34 +08:00
|
|
|
4.6 "Granular models"_4_6 :b
|
|
|
|
4.7 "TIP3P water model"_4_7 :b
|
|
|
|
4.8 "TIP4P water model"_4_8 :b
|
|
|
|
4.9 "SPC water model"_4_9 :b
|
2007-05-24 22:22:05 +08:00
|
|
|
4.10 "Coupling LAMMPS to other codes"_4_10 :b
|
2007-06-26 08:03:39 +08:00
|
|
|
4.11 "Visualizing LAMMPS snapshots"_4_11 :b
|
2010-10-15 07:23:43 +08:00
|
|
|
4.12 "Triclinic (non-orthogonal) simulation boxes"_4_12 :b
|
2007-06-26 08:03:39 +08:00
|
|
|
4.13 "NEMD simulations"_4_13 :b
|
2008-06-25 01:27:41 +08:00
|
|
|
4.14 "Extended spherical and aspherical particles"_4_14 :b
|
2009-01-27 04:14:19 +08:00
|
|
|
4.15 "Output from LAMMPS (thermo, dumps, computes, fixes, variables)"_4_15 :b
|
2010-01-12 05:56:27 +08:00
|
|
|
4.16 "Thermostatting, barostatting, and compute temperature"_4_16 :b
|
2010-05-14 23:10:38 +08:00
|
|
|
4.17 "Walls"_4_17 :b
|
2010-11-02 23:05:51 +08:00
|
|
|
4.18 "Elastic constants"_4_18 :b
|
2011-01-04 00:42:55 +08:00
|
|
|
4.19 "Library interface to LAMMPS"_4_19 :b
|
|
|
|
4.20 "Calculating thermal conductivity"_4_20 :b
|
|
|
|
4.21 "Calculating viscosity"_4_21 :ule,b
|
2006-09-22 00:22:34 +08:00
|
|
|
"Example problems"_Section_example.html :l
|
|
|
|
"Performance & scalability"_Section_perf.html :l
|
|
|
|
"Additional tools"_Section_tools.html :l
|
|
|
|
"Modifying & Extending LAMMPS"_Section_modify.html :l
|
2010-11-02 23:05:51 +08:00
|
|
|
"Python interface"_Section_python.html :l
|
|
|
|
9.1 "Extending Python with a serial version of LAMMPS"_9_1 :ulb,b
|
|
|
|
9.2 "Creating a shared MPI library"_9_2 :b
|
|
|
|
9.3 "Extending Python with a parallel version of LAMMPS"_9_3 :b
|
|
|
|
9.4 "Extending Python with MPI"_9_4 :b
|
|
|
|
9.5 "Testing the Python-LAMMPS interface"_9_5 :b
|
|
|
|
9.6 "Using LAMMPS from Python"_9_6 :b
|
|
|
|
9.7 "Example Python scripts that use LAMMPS"_9_7 :ule,b
|
2006-09-22 00:22:34 +08:00
|
|
|
"Errors"_Section_errors.html :l
|
2010-11-02 23:05:51 +08:00
|
|
|
10.1 "Common problems"_10_1 :ulb,b
|
|
|
|
10.2 "Reporting bugs"_10_2 :b
|
|
|
|
10.3 "Error & warning messages"_10_3 :ule,b
|
2006-09-22 00:22:34 +08:00
|
|
|
"Future and history"_Section_history.html :l
|
2010-11-02 23:05:51 +08:00
|
|
|
11.1 "Coming attractions"_11_1 :ulb,b
|
|
|
|
11.2 "Past versions"_11_2 :ule,b
|
2006-09-22 00:22:34 +08:00
|
|
|
:ole
|
|
|
|
|
|
|
|
:link(1_1,Section_intro.html#1_1)
|
|
|
|
:link(1_2,Section_intro.html#1_2)
|
|
|
|
:link(1_3,Section_intro.html#1_3)
|
|
|
|
:link(1_4,Section_intro.html#1_4)
|
|
|
|
:link(1_5,Section_intro.html#1_5)
|
|
|
|
|
|
|
|
:link(2_1,Section_start.html#2_1)
|
|
|
|
:link(2_2,Section_start.html#2_2)
|
|
|
|
:link(2_3,Section_start.html#2_3)
|
|
|
|
:link(2_4,Section_start.html#2_4)
|
|
|
|
:link(2_5,Section_start.html#2_5)
|
|
|
|
:link(2_6,Section_start.html#2_6)
|
2007-02-10 05:37:30 +08:00
|
|
|
:link(2_7,Section_start.html#2_7)
|
|
|
|
:link(2_8,Section_start.html#2_8)
|
2010-05-07 23:11:21 +08:00
|
|
|
:link(2_9,Section_start.html#2_9)
|
2006-09-22 00:22:34 +08:00
|
|
|
|
|
|
|
:link(3_1,Section_commands.html#3_1)
|
|
|
|
:link(3_2,Section_commands.html#3_2)
|
|
|
|
:link(3_3,Section_commands.html#3_3)
|
|
|
|
:link(3_4,Section_commands.html#3_4)
|
|
|
|
:link(3_5,Section_commands.html#3_5)
|
|
|
|
|
|
|
|
:link(4_1,Section_howto.html#4_1)
|
|
|
|
:link(4_2,Section_howto.html#4_2)
|
|
|
|
:link(4_3,Section_howto.html#4_3)
|
|
|
|
:link(4_4,Section_howto.html#4_4)
|
|
|
|
:link(4_5,Section_howto.html#4_5)
|
|
|
|
:link(4_6,Section_howto.html#4_6)
|
|
|
|
:link(4_7,Section_howto.html#4_7)
|
|
|
|
:link(4_8,Section_howto.html#4_8)
|
|
|
|
:link(4_9,Section_howto.html#4_9)
|
|
|
|
:link(4_10,Section_howto.html#4_10)
|
2007-02-23 00:52:24 +08:00
|
|
|
:link(4_11,Section_howto.html#4_11)
|
2007-06-26 08:03:39 +08:00
|
|
|
:link(4_12,Section_howto.html#4_12)
|
|
|
|
:link(4_13,Section_howto.html#4_13)
|
|
|
|
:link(4_14,Section_howto.html#4_14)
|
2007-09-28 07:25:52 +08:00
|
|
|
:link(4_15,Section_howto.html#4_15)
|
2008-04-05 05:15:50 +08:00
|
|
|
:link(4_16,Section_howto.html#4_16)
|
2010-05-07 23:11:21 +08:00
|
|
|
:link(4_17,Section_howto.html#4_17)
|
2010-05-14 23:10:38 +08:00
|
|
|
:link(4_18,Section_howto.html#4_18)
|
2010-11-02 23:05:51 +08:00
|
|
|
:link(4_19,Section_howto.html#4_19)
|
2011-01-04 00:42:55 +08:00
|
|
|
:link(4_20,Section_howto.html#4_20)
|
|
|
|
:link(4_21,Section_howto.html#4_21)
|
2010-11-02 23:05:51 +08:00
|
|
|
|
|
|
|
:link(9_1,Section_python.html#9_1)
|
|
|
|
:link(9_2,Section_python.html#9_2)
|
|
|
|
:link(9_3,Section_python.html#9_3)
|
|
|
|
:link(9_4,Section_python.html#9_4)
|
|
|
|
:link(9_5,Section_python.html#9_5)
|
|
|
|
:link(9_6,Section_python.html#9_6)
|
|
|
|
:link(9_7,Section_python.html#9_7)
|
|
|
|
|
|
|
|
:link(10_1,Section_errors.html#10_1)
|
|
|
|
:link(10_2,Section_errors.html#10_2)
|
|
|
|
:link(10_3,Section_errors.html#10_3)
|
|
|
|
|
|
|
|
:link(11_1,Section_history.html#11_1)
|
|
|
|
:link(11_2,Section_history.html#11_2)
|
2007-09-28 07:25:52 +08:00
|
|
|
|
|
|
|
</BODY>
|