# 设置电荷
set type 1 charge 1.4175 # Al电荷 +1.4175
set type 2 charge -0.945 # O电荷 -0.945
#生成磨粒原子C(金刚石)
lattice diamond 3.567
create_atoms 3 region tool # 在磨粒区域创建类型3原子(碳)
set type 3 charge 0.0 # 新增:C 0
#设置原子质量
mass 1 26.981 # 类型1原子质量(铝)
mass 2 15.999 # 类型2原子质量(氧)
mass 3 12.01070 # 类型3原子质量(碳-磨粒)
#原子分组
group boundary region boundary # 边界原子组
group temp_layer region temp_layer # 恒温层原子组
group newton_layer region newton_layer # 牛顿层原子组
group tool region tool # 磨粒原子组
group mobile union temp_layer newton_layer # 可移动原子组