variable pressy equal c_p[2] #定义变量 pressy=c_p[2],c_p[2] 的意思是 p 里第二个值 variable pressz equal c_p[3] #定义变量 pressz=c_p[3],c_p[3] 的意思是 p 里第三个值 thermo_style custom step temp etotal press v_pressx v_pressy v_pressz vol dump 1 all atom 1000 dump...
“atom_style”命令用于定义原子的类型和表示方式 。“bond_style”设定了原子间成键的方式和参数 。“angle_style”可规定分子内键角的相互作用形式 。“dihedral_style”用于处理二面角相关的相互作用 。“improper_style”针对不正确的二面角作用进行设定 。“pair_style”是设置原子间对势的关键命令 。如“pair_...
variable pressy equal c_p[2] #定义变量 pressy=c_p[2],c_p[2] 的意思是 p 里第二个值 variable pressz equal c_p[3] #定义变量 pressz=c_p[3],c_p[3] 的意思是 p 里第三个值 thermo_style custom step temp etotal press v_pressx v_pressy v_pressz vol dump 1 all atom 1000 dump...
本人研究范围是金属方向,所以一般为:atom_style atomic。 4、variable 定义一个变量。语法:variable name style args ... name是自己定义的变量的名字;style是变量类型,可以为delete or index or loop or world or universe or uloop or string or format or getenv or file or atomfile or python or timer o...
per-atom compute命令以及atom-style variable。这些per-atom fix value可以被dump custom命令通过跟上述处理compute命令同样的方式共享,例如f_myKE或者f_myStress[2]。 variable命令可以在in文件中使用。只有atom-style变量可用于dump custom输出,因为只有它们生成per-atom ...
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...
fix ave/spatial命令可以对per-atom量进行空间平均,类似dump文件输出,只不过后者相当于仅把simulationbox分为一层。per-atom量可以是密度(质量密度或数密度)或者原子的属性例如位置、速度、力,也可以使compute、fix、atom-style variable计算的per-atom值。
atom_style atomic neighbor 0.3 bin neigh_modify delay 10 timestep 0.001 #读取石墨烯模型文件 read_data gp.data mass 1 12.0107 #使用tersoff力场 pair_style tersoff pair_coeff * * SiC.tersoff C #热力学信息输出 thermo 10000 thermo_style custom step temp vol press ...
boundary p p p # 周期性边界条件atom_style atomic # 原子模式variable x equal 2.5 # 定义变量 x为初始温度lattice fcc 3.61 # C 2、u 的晶格常数3.61#lattice fcc 4.05region box block 0 8 0 8 0 5 # x,y,z各方向上的晶胞重复单元数,也即区域大小create_box 1 box # 将上述区域指定为模拟的...
atom_style: 定义模拟体系中的原子属性,这一 命令与力场设置的参数中的原子类型(atom type)不 同。 pair_style: 相互作用力场类型,例如范德化势或者硬球势等。 bond_style: 键合相互作用势类型。 angle_style: 键角作用势类型。 dihedral_style: 二面角作用势类型。