lammps报错using 1 models Ti5_small_i2_compressed_step01pb rcut in model 7 ntypes in model 5ERROR Target temperature for fix nvtnptnph cannot be 00 srcfix_nhcpp140Last command fix 1 all
这个错误是由于在LAMMPS输入脚本中,使用了fix npt命令来对系统进行NPT(等温等压)模拟,但指定的温度为0.0,而fix npt命令要求温度不能为0.0。
要解决这个问题,你需要修改输入脚本中的fix npt命令,将温度参数修改为一个非零的值。例如,将温度参数改为1238.0(与之前的输入脚本相同),即可修复这个错误。
修复后的fix npt命令示例: fix 1 all npt temp 1238.0 1238.0 1.0 aniso 0.0 0.0 10.0
原文地址: https://www.cveoy.top/t/topic/iqzG 著作权归作者所有。请勿转载和采集!