比如研究对象是分子(如水分子),那么构成分子的粒子(style为full)就需要具有以下属性:粒子编号,粒子所属分子的编号,粒子类别(atom type),带电量,x坐标,y坐标,z坐标。如果研究对象是惰性气体(如氩)或金属单质(如铁),那么粒子(style为atomic)的属性就是:粒子编号,粒子类别,x坐标,y坐标,z坐标。LAMMPS中内置了相当...
① atom_style命令用来定义模拟过程中原子的类型 ② 语法:atom_style style args style 为amoeba or angle or atomic or body or bond or charge or dipole or dpd or edpd or electron or ellipsoid or full or line or mdpd or molecular or oxdna or peri or smd or sph or sphere or or bpm/sphere...
2units metal # 定义仿真过程中用到的单位系统 3boundary p p p # 定义边界条件,p p p 表示在三个方向上都使用周期性边界条件 4atom_style atomic # 定义原子的类型及属性 5# 读取结构文件“structure.d”,里面包含仿真结构模型的具体信息 6read_data structure.d 7## 定义原子间的作用势函数 8pair_style...
group-ID:那些信息需要被输出的原子群(预先定义好 group) Style:类型 N:每经过多少时间步输出信息 File: 输出名称Args:相关参数(每个类型不同) Restart: 运行 Run: Minimize: 例一 units metal # 单位为 lammps 中的 metel 类型 boundary p p p # 周期性边界条件 atom_style atomic # 原子模式 lattice fcc...
3boundary p p p # 定义边界条件,p p p 表示在三个方向上都使用周期性边界条件 4atom_style atomic # 定义原子的类型及属性 5# 读取结构文件“structure.d”,里面包含仿真结构模型的具体信息 6read_data structure.d 7## 定义原子间的作用势函数 ...
本例主要详解使用lammps自带的region命令在圆柱形Ni纳米柱中插入一层石墨烯。用到的关键命令是region cylinder(1)#in文件基本参数设置(2)units metal(3)boundary p p p(4)atom_style atomic(5)(6)#沿着Z轴方向生成一个圆柱形的Ni纳米柱,圆柱旋转轴坐标(0,0)(7)#半径为30,圆柱上下...
atom_style atomic #原子类型(金属) Neighbor 0.3 bin #建近邻表参数(rc+0.3)bin表示为近邻表类型。 neigh_modify delay 5 #间隔多少载荷步重新形成近邻表L 2、ammps计算输入文件# create geometry创建初始几何构形Lattice hex 0.93#指定晶格类型(二维hex)和晶格常数Region box block 0 100 0 40 -0.25 0.25#...
本例主要详解使用lammps自带的region命令在圆柱形Ni纳米柱中插入一层石墨烯。 用到的关键命令是region cylinder #in文件基本参数设置 unitsmetal boundaryppp atom_styleatomic #沿着Z轴方向生成一个圆柱形的Ni纳米柱,圆柱旋转轴坐标(0,0) #半径为30,圆柱上下底在z轴坐标(-60,60),即圆柱高度为120 ...
atom_style atomic atom_style bond atom_style full atom_style body nparticle 2 10 atom_style hybrid charge bond atom_style hybrid charge body nparticle 2 5 使用介绍 定义模拟过程中原子的类型, 它会决定原子包括哪些属性。该命令必须在建立模 拟盒子(使用命令 read_data 或 read_restart 或 create_box...
atom_style atomic lattice fcc 3.615 region box block 0 20 0 20 0 20 create_box 1 box create_atoms 1 box ``` 2. 定义模拟参数 接下来需要定义模拟所需的参数,包括弯曲速度、模拟时间等,示例代码如下: ``` p本人r_style eam/fs p本人r_coeff * * Cu_u3.eam variable str本人n equal 0.05 var...