标题: 求助ERROR: Fix in variable not computed at compatible time 问题 [打印本页] 作者Author: Poly_Maohua 时间: 2023-3-9 10:31 标题: 求助ERROR: Fix in variable not computed at compatible time 问题 各位老师好,
最近用lammps做传热分析,碰到了这个问题ERROR: Fix in variable not computed at compatible time (src/variable.cpp:4048)
我看到网上说是时间步设置不正确,可是我的fix和thermo都是用的$d, lammps的案例也是这个结构,应该对得上吧。也试了不同的时间设置,都不好用。
这里我把时间设置和出错的几步设置贴出来
units real
variable T equal 293
variable V equal vol
variable dt equal 0.1
variable p equal 200 # correlation length
variable s equal 10 # sample interval
variable d equal $p*$s # dump interval