没有合适的资源?快使用搜索试试~ 我知道了~
首页LAMMPS手册 分子动力学模拟
LAMMPS手册 分子动力学模拟
需积分: 50 64 下载量 16 浏览量
更新于2023-06-30
评论 5
收藏 3.52MB PDF 举报
LAMMPS手册。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
资源详情
资源评论
资源推荐
LAMMPS Users Manual
Large−scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov − Sandia National Laboratories
Copyright (2003) Sandia Corporation. This software and manual is distributed under the GNU General Public License.
Table of Contents
LAMMPS Documentation.............................................................................................................................1
1. Introduction................................................................................................................................................3
1.1 What is LAMMPS.............................................................................................................................3
1.2 LAMMPS features.............................................................................................................................4
General features.......................................................................................................................................4
Particle and model types..........................................................................................................................4
Force fields..............................................................................................................................................4
Atom creation..........................................................................................................................................5
Ensembles, constraints, and boundary conditions...................................................................................5
Integrators................................................................................................................................................5
Diagnostics..............................................................................................................................................6
Output......................................................................................................................................................6
Multi−replica models...............................................................................................................................6
Pre− and post−processing........................................................................................................................6
Specialized features.................................................................................................................................6
1.3 LAMMPS non−features....................................................................................................................6
1.4 Open source distribution....................................................................................................................8
1.5 Acknowledgments and citations........................................................................................................9
2. Getting Started.........................................................................................................................................13
2.1 What's in the LAMMPS distribution...............................................................................................13
2.2 Making LAMMPS...........................................................................................................................13
2.3 Making LAMMPS with optional packages.....................................................................................18
2.4 Building LAMMPS as a library......................................................................................................21
2.5 Running LAMMPS.........................................................................................................................21
2.6 Command−line options...................................................................................................................23
2.7 LAMMPS screen output..................................................................................................................24
2.8 Running on GPUs............................................................................................................................26
GPU configuration.................................................................................................................................26
GPU input script....................................................................................................................................27
GPU asynchronous pair computation....................................................................................................27
GPU timing............................................................................................................................................27
GPU single vs double precision............................................................................................................27
2.9 Tips for users of previous LAMMPS versions................................................................................27
3. Commands...............................................................................................................................................29
3.1 LAMMPS input script.....................................................................................................................29
3.2 Parsing rules....................................................................................................................................30
3.3 Input script structure........................................................................................................................30
3.4 Commands listed by category.........................................................................................................32
3.5 Individual commands......................................................................................................................32
Fix styles................................................................................................................................................33
Compute styles......................................................................................................................................33
Pair_style potentials...............................................................................................................................34
Bond_style potentials............................................................................................................................34
Angle_style potentials...........................................................................................................................35
Dihedral_style potentials.......................................................................................................................35
Improper_style potentials......................................................................................................................35
Kspace solvers.......................................................................................................................................35
4. How−to discussions.................................................................................................................................36
LAMMPS Users Manual
i
Table of Contents
4.1 Restarting a simulation....................................................................................................................36
4.2 2d simulations..................................................................................................................................37
4.3 CHARMM, AMBER, and DREIDING force fields.......................................................................38
4.4 Running multiple simulations from one input script.......................................................................39
4.5 Multi−replica simulations................................................................................................................40
4.6 Granular models..............................................................................................................................41
4.7 TIP3P water model..........................................................................................................................42
4.8 TIP4P water model..........................................................................................................................43
4.9 SPC water model.............................................................................................................................44
4.10 Coupling LAMMPS to other codes...............................................................................................44
4.11 Visualizing LAMMPS snapshots..................................................................................................46
4.12 Triclinic (non−orthogonal) simulation boxes................................................................................46
4.13 NEMD simulations........................................................................................................................48
4.14 Extended spherical and aspherical particles..................................................................................49
4.15 Output from LAMMPS (thermo, dumps, computes, fixes, variables)..........................................51
4.16 Thermostatting, barostatting, and computing temperature............................................................55
4.17 Walls..............................................................................................................................................57
4.18 Elastic constants............................................................................................................................58
4.19 Library interface to LAMMPS......................................................................................................58
4.20 Calculating thermal conductivity..................................................................................................60
4.21 Calculating viscosity.....................................................................................................................60
5. Example problems....................................................................................................................................63
6. Performance &scalability.........................................................................................................................65
7. Additional tools........................................................................................................................................66
amber2lmp tool......................................................................................................................................66
binary2txt tool.......................................................................................................................................67
ch2lmp tool............................................................................................................................................67
chain tool...............................................................................................................................................67
createatoms tool.....................................................................................................................................67
data2xmovie tool...................................................................................................................................68
eam database tool..................................................................................................................................68
eam generate tool...................................................................................................................................68
eff tool...................................................................................................................................................68
emacs tool..............................................................................................................................................68
ipp tool...................................................................................................................................................68
lmp2arc tool...........................................................................................................................................69
lmp2cfg tool...........................................................................................................................................69
lmp2traj tool..........................................................................................................................................69
lmp2vmd tool.........................................................................................................................................69
matlab tool.............................................................................................................................................69
micelle2d tool........................................................................................................................................69
msi2lmp tool..........................................................................................................................................70
pymol_asphere tool...............................................................................................................................70
python tool.............................................................................................................................................70
reax tool.................................................................................................................................................70
restart2data tool.....................................................................................................................................70
thermo_extract tool................................................................................................................................71
vim tool..................................................................................................................................................71
LAMMPS Users Manual
ii
Table of Contents
xmovie tool............................................................................................................................................71
8. Modifying &extending LAMMPS...........................................................................................................72
Atom styles............................................................................................................................................73
Bond, angle, dihedral, improper potentials...........................................................................................74
Compute styles......................................................................................................................................75
Dump styles...........................................................................................................................................75
Dump custom output options.................................................................................................................75
Fix styles................................................................................................................................................76
Input script commands..........................................................................................................................77
Kspace computations.............................................................................................................................77
Minimization solvers.............................................................................................................................78
Pairwise potentials.................................................................................................................................78
Region styles.........................................................................................................................................78
Thermodynamic output options.............................................................................................................79
Variable options.....................................................................................................................................79
Submitting new features to the developers to include in LAMMPS.....................................................80
10. Errors......................................................................................................................................................82
10.1 Common problems........................................................................................................................82
10.2 Reporting bugs...............................................................................................................................83
10.3 Error &warning messages.............................................................................................................83
Errors:....................................................................................................................................................83
Warnings:............................................................................................................................................135
11. Future and history................................................................................................................................140
11.1 Coming attractions.......................................................................................................................140
11.2 Past versions................................................................................................................................140
angle_style charmm command...................................................................................................................143
angle_style class2 command......................................................................................................................144
angle_style cg/cmm command...................................................................................................................146
angle_coeff command................................................................................................................................147
angle_style cosine command.....................................................................................................................149
angle_style cosine/delta command.............................................................................................................150
angle_style cosine/periodic command.......................................................................................................151
angle_style cosine/squared command........................................................................................................152
angle_style harmonic command.................................................................................................................153
angle_style hybrid command.....................................................................................................................154
angle_style none command........................................................................................................................155
angle_style command.................................................................................................................................156
angle_style table command........................................................................................................................158
atom_modify command.............................................................................................................................160
atom_style command.................................................................................................................................162
bond_style class2 command.......................................................................................................................164
bond_coeff command.................................................................................................................................165
bond_style fene command.........................................................................................................................167
bond_style fene/expand command.............................................................................................................168
bond_style harmonic command.................................................................................................................170
bond_style hybrid command......................................................................................................................171
bond_style morse command.......................................................................................................................172
bond_style none command.........................................................................................................................173
LAMMPS Users Manual
iii
Table of Contents
bond_style nonlinear command.................................................................................................................174
bond_style quartic command.....................................................................................................................175
bond_style command.................................................................................................................................177
bond_style table command.........................................................................................................................179
boundary command....................................................................................................................................181
change_box command................................................................................................................................182
clear command...........................................................................................................................................183
communicate command.............................................................................................................................184
compute command.....................................................................................................................................186
compute ackland/atom command...............................................................................................................190
compute angle/local command...................................................................................................................192
compute atom/molecule command............................................................................................................194
compute bond/local command...................................................................................................................196
compute centro/atom command.................................................................................................................198
compute cna/atom command.....................................................................................................................200
compute com command.............................................................................................................................202
compute com/molecule command.............................................................................................................203
compute coord/atom command..................................................................................................................205
compute damage/atom command...............................................................................................................206
compute dihedral/local command..............................................................................................................207
compute displace/atom command..............................................................................................................208
compute erotate/asphere command............................................................................................................210
compute erotate/sphere command..............................................................................................................211
compute event/displace command.............................................................................................................212
compute group/group command................................................................................................................213
compute gyration command.......................................................................................................................214
compute gyration/molecule command.......................................................................................................215
compute heat/flux command......................................................................................................................217
compute improper/local command.............................................................................................................220
compute ke command................................................................................................................................221
compute ke/atom command.......................................................................................................................222
compute ke/atom/eff command..................................................................................................................223
compute ke/eff command...........................................................................................................................225
compute_modify command........................................................................................................................227
compute msd command.............................................................................................................................228
compute msd/molecule command..............................................................................................................230
compute pair command..............................................................................................................................232
compute pair/local command.....................................................................................................................234
compute pe command................................................................................................................................236
compute pe/atom command.......................................................................................................................238
compute pressure command.......................................................................................................................240
compute property/atom command.............................................................................................................242
compute property/local command..............................................................................................................244
compute property/molecule command.......................................................................................................246
compute rdf command...............................................................................................................................247
compute reduce command.........................................................................................................................249
compute reduce/region command..............................................................................................................249
compute stress/atom command..................................................................................................................252
LAMMPS Users Manual
iv
剩余819页未读,继续阅读
wmc200531035
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0