标题: 请问lammps出现这样的报错应该怎么改?ERROR: Number of element to type mappings... [打印本页] 作者Author: 1076289170 时间: 2025-5-20 15:08 标题: 请问lammps出现这样的报错应该怎么改?ERROR: Number of element to type mappings... ERROR: Number of element to type mappings does not match number of atom types (../pair_eam_alloy.cpp:50)
Last command: pair_coeff * * eam/alloy Pb_Cu.eam.alloy Pb Cu NULL
势函数文件是pb cu的二元合金势函数文件,做的是水滴在铜铅合金上的润湿。
部分in文件内容:
# --------------------- 基础设定 ---------------------
units metal
dimension 3
boundary p p p
timestep 0.001
atom_style full
neighbor 2.0 bin
neigh_modify delay 0 every 1 check yes