Lammps程序基础知识.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Lammps程序;关于lammps基础知识;(1) Initialization;;(2)Atom definition;(3)Settings;Suppliment ;fix ID group?ID style args · ID = user?assigned name for the fix ID是用自己定义的名字,便于通过fix定义 · group?ID = ID of the group of atoms to apply the fix to · style = one of a long list of possible style names (see below) · args = arguments used by a particular style Examples: fix 1 all nve fix 3 all nvt temp 300.0 300.0 0.01 fix mine top setforce 0.0 NULL 0.0;对于run 100 start 0 stop 1000 这个语句来说,主要与fix语句配合使??。 fix 1 all nvt 200.0 300.0 1.0 这两个指令的功能是在接下来的1000步运行中,每 run 100步,温度都要从200度升到300度 ;;;Every 的作用是将一个run分成一系列较短的runs variable q equal x run 6000 every 2000 print Coord = $q 每运行2000步输出一次某原子的x坐标值;要设定一组原子的温度, 那么用group命令定义哪些原子属于这个组才行; 每个命令的详细介绍中的Restrictions部分会说明要使用该命令定义的时候哪些命令必须要被预先定义; 如果你的输入文件书写的格式有问题, lammps在执行的时候会提示ERROR或者WARNING , 出现类似信息时, 你可以到手册的第九章中查询原因; ;(4)Run a simulation;Commands listed by category;Initialization: atom_modify, atom_style, boundary, dimension, newton, processors, units; Atom definition: create_atoms, create_box, lattice, read_data, read_restart, region, replicate; Force fields: angle_coeff, angle_style, bond_coeff, bond_style, dielectric, dihedral_coeff, dihedral_style, improper_coeff, improper_style, kspace_modify, kspace_style, pair_coeff, pair_modify, pair_style, pair_write, special_bonds;;Settings: communicate, dipole, group, mass, min_modify, min_style, neigh_modify, neighbor, reset_timestep, run_style, set, shape, timestep, velocity; Fixes: fix, fix_modify, unfix; Computes: compute, compute_modify, uncompute; Output: dump, dump_modify, restart, thermo, thermo_modify, thermo_style, undump, write_restart; Actions: delete_atoms, delete_bonds, displace_atoms, displace_box, minimize, run, temper; Miscellaneous: clear, echo, if, include, jump, label, log, next, print, shell, variable.;Lammps中特殊符号含义;(5) 一行中第一个词是命令名, 后续的词是相关的参数. (6) 双引号内的文字空格被整体地当作一个参数, 其中的 # 或 $ 就没有前面说的作用了.;Pure Cu crystal; ;temperature = degrees K 温度 pressure = bars 压力 dynamic viscosity = P

文档评论(0)

开心就好 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档