lammps自我经验

更新时间:2024-01-10 08:36:01 阅读量: 教育文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

1. 2. 3. 4. 5.

atom_style 粒子和模拟的类型 input script (in.*) 输入文件

log file (log.*) 日志文件(输出文件的一种) dump file (dump.*) 输出文件

units command 定义模拟的单位 units lj (lj势能函数)metal real si (国际单位)cgs electron micro nano势函数的单位是无量纲的,定义质量mass、长度单位sigma、能量单位epslion和boltzmann constant=1,不能用在被read_data和creat_box定义的模拟中。

6. atom_style command 格式atom_style style args body nparticle 2 10??一旦定义就

无法修改,包含了坐标、速度、原子编号、种类不能用在被read_data和creat_box定义的模拟中。

7. read_data command 可以指定原子的坐标 组成:文件头和文件主体 不同部分可以用

黑线割开,顺序没有影响 keyword fix 把数值放在开头dist value = uniform or gaussian??

8. pair_style command to compute pairwise interactions pair potentials are defined between

pairs of atoms that are within a cutoff distance and the set of active interactions typically changes over time. 9. pair_coeff command 默认是i=j 指定原子间的对势系数; pair_coeff * * 1.0 1.0 2.5

pair_coeff 2 3 2.0 1.0 1.12 其中i=2 j=3 1.12是混合原子的对势,

10. neighbor command set parameters that affect the building of pairwise neighbor lists 11. fix 任意操作 命令:fix 自己编号 作用原子团的编号 样式 参数;

12. atom_modify command 修改在lammps里定义的和储存的原子特定的属性,来补充原子

样式命令指定的内容。

13. lattice command :lattice style scale keyword values ...

14. region command :定义一个几何空间区域,region ID style args keyword arg ...

? ID = user-assigned name for the region

style = delete or block or cone or cylinder or plane or prism or sphere or union or intersect 15. create_box command 在指定区域创建一个模拟区域create_box N(原子类型) region-ID

keyword value ...

16. create_atoms command :为点阵构建原子或者创建一个单个原子或者原子的集合,

create_atoms type style args keyword values ...

17. set command 从新设定一个或者多个原子的属性:set style ID keyword values ... 18. group command 把一些原子划到一个群组中,group ID style args 19. neigh_modify command

20. units command :设置模拟的单位;units style;? style = lj or real or metal or si or cgs or

electron or micro or nano 其中li是无量纲的,具体的单位需要除以对应的常数变换成无单位的值;real,质量的单位是g或者mol,长度的单位是埃,时间是飞秒(1e?15,毫微微秒),能量的单位是卡路里或者mol,时间单位K,压力单位大气压,density = gram/cm^dim;metal:时间单位是10的负12次方秒,energy = eV,pressure = bars;style si国际单位;style cgs:distance = centimeters,energy = ergs,达因(Dyne)是一个力的单位;style electron:mass = atomic mass units,mass = atomic mass units,energy = Hartrees(27.21ev);style micro: 1万亿分之一克,微米,微秒,微微库伦charge;style nano:微微微克,纳米,纳秒The units command also sets the timestep size and neighbor skin distance to default values for each style: Default:units lj

21. Newton command :是不是考虑相互作用力或者键合作用力,newton flag flag1 flag2 22. Boundary command:设置模拟区域的边界条件,boundary x y z,arg= p 周期性边

界条件,原子可以越过边界,f s m 是非周期性的条件,f表示界面是固定的,原子运动超出边界后可能会丢失,s表示无论原子跑出界面多远,都包含这个原子,m表示原子在界面外一定距离内包含该原子。

23. Neighbor command :指定邻居,用来建设连接的,neighbor skin style 24. neigh_modify command :设置建模和使用邻居列的参数;neigh_modify keyword values ... 25. variable command:定义变量,variable name style args .. delete or index or loop or world or

universe or uloop or string or format or getenv or file or atomfile or equal or atom 26. Mass command :设置原子的质量mass I value 27. # Tersoff potential 势函数

28. pair_style sw :三原子系统的s-w势

29. pair_coeff command:指定不同原子类型对势之间的系数;pair_coeff I J args 30. Velocity command:创建原子的速度;velocity group-ID style args keyword

value ... 31. Compute command 对原子团定义一种计算计算 ,coord/atom 计算配位数,pe/atom计算每

个原子的能量,compute 1 all ke/atom计算平移动能

32. Region command:用来规定一个几何范围,$i block $a $b INF INF INF INF units

box

33. Fix nvt command:

本文来源:https://www.bwwdw.com/article/86zo.html

Top