[TOC]
LAMMPS 笔记(3)
LAMMPS 笔记 (2)
LAMMPS 笔记 (1)
[TOC]
典型的LAMMPS input
文件流程
- 初始化
- 在设置原子或者从文件中读取数据之前初始化参数。
- 相关的命令包括
units
,dimension
,newton
,processors
,boundary
,atom_style
,atom_modify
- 如果力场参数在文件中可读,相关的命令包括
pair_style
,bond_style
,angle_style
,dihedral_style
,improper_style
- 定义原子
- 通过
read_data
或read_restart
命令读取文件中的数据 - 通过盒子创建原子,
lattice
,region
,create_box
,create_atoms
- 通过
replicate
命令重复整个原子集以运行更大规模的模拟
- 通过
- 设置
- 定义原子、分子拓扑结构之后,包括力场参数、模拟参数、输出选项等可设置
- 力场参数通过以下命令进行设置,
pair_coeff
,bond_coeff
,angle_coeff
,dihedral_coeff
,improper_coeff
,kspace_style
,dielectric
,special_bonds
- 模拟参数可通过以下命令设置,
neighbor
,neigh_modify
,group
,timestep
,reset_timestep
,run_style
,min_style
,min_modify
- 运行模拟
- 使用
run
命令开始模拟,使用minimize
命令进行能量最小化
- 使用