24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1018  |  回复: 1

congmingbing

木虫 (正式写手)

[交流] 【求助】lammps计算heat/flux出错 已有1人参与

在lammps手册上看到了compute heat/flux command,用提供的输入文件执行,出错了,错误信息是
ERROR: Illegal compute heat/flux command,不知道这个错误怎么解决,感觉像是版本的问题。我用的lammps是在主页上下载的lammps-15Jan10.tar.gz,这个应该是最新版了吧。
刚开始学lammps,还请高手指点!万分感谢。
下面是in文件。
##################################

atom_style      atomic
units                 real
dimension        3
boundary        p p p
lattice         fcc  5.376  orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
region          box block 0 4 0 4 0 4
create_box         1 box
create_atoms         1 box
mass                 1 39.948
pair_style        lj/cut 13.0
pair_coeff        * * 0.2381 3.405
group                 every region box
velocity         all create 70 102486 mom yes rot yes dist gaussian
timestep         4.0
thermo                10

# ------------- Equilibration and thermalisation ----------------

fix                 NPT all npt 70 70 10 xyz 0.0 0.0 100.0 drag 0.2
run                 8000
unfix           NPT

# --------------- Equilibration in nve -----------------

fix                 NVE all nve
run                 8000

# -------------- Flux calculation in nve ---------------

reset_timestep  0
compute                myKE all ke/atom
compute                myPE all pe/atom
compute                myStress all stress/atom virial
compute         flux all heat/flux myKE myPE myStress
log             flux.log
variable        J equal c_flux[1]/vol
thermo_style         custom step temp v_J
run                 100000
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

congmingbing

木虫 (正式写手)

换了最新的版本,解决了。呵呵
2楼2010-06-17 19:32:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 congmingbing 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 085600材料与化工专硕329 求调剂 +11 额cc 2026-04-06 11/550 2026-04-06 22:33 by chenzhimin
[考研] 一志愿安徽某211 0703化学总分339求调剂 +7 晚风不晚 2026-04-04 7/350 2026-04-06 14:06 by houyaoxu
[考研] 求调剂,一志愿厦门大学,生物与医药,总分272,本科211 +4 Electron1cc 2026-04-01 5/250 2026-04-06 10:45 by barlinike
[考研] 求调剂 +5 wos666 2026-04-03 5/250 2026-04-06 10:13 by 蓝云思雨
[考研] 326求调剂 +3 顾若浮生 2026-04-05 3/150 2026-04-05 18:32 by 蓝云思雨
[考研] 考研调剂生寻找导师 +3 顾瞻考研啊 2026-04-05 3/150 2026-04-05 18:18 by 啵啵啵0119
[考研] 288求调剂,一志愿华南理工大学071005 +6 ioodiiij 2026-04-04 6/300 2026-04-05 10:09 by guoweigw
[考研] 344材料与化工调剂 +9 调剂上岸玘 2026-04-03 9/450 2026-04-04 23:10 by happyddm
[考研] 295求调剂 +4 A你好研究生 2026-04-04 5/250 2026-04-04 22:46 by yu221
[考研] 材料工程085601数二英一335求调剂 +6 双马尾痞老板2 2026-03-31 6/300 2026-04-04 22:29 by hemengdong
[考研] 338求调剂 +7 晟功? 2026-04-03 7/350 2026-04-04 20:37 by 蓝云思雨
[考研] 301求调剂 +18 骆驼男人 2026-04-02 18/900 2026-04-04 20:33 by 蓝云思雨
[考研] 一志愿085404,总分291,四级已过,求调剂 +5 阿俊阿俊阿俊 2026-04-04 7/350 2026-04-04 13:23 by 莲菜就是藕吧
[考研] 311求调剂 +20 zchqwer 2026-04-01 22/1100 2026-04-03 22:09 by lglzsd
[考研] 338求调剂 +7 晟功? 2026-04-03 7/350 2026-04-03 16:46 by wxiongid
[考研] 338求调剂 +4 zzz,,r 2026-04-03 4/200 2026-04-03 16:39 by lijunpoly
[考研] 315分 085602 求调剂 +15 26考研上岸版26 2026-04-02 15/750 2026-04-03 12:45 by xingguangj
[考研] 一志愿复旦材料,英一专硕,总分357调剂 +4 1050389037 2026-04-02 5/250 2026-04-02 21:40 by dongzh2009
[考研] 261求B区调剂 +5 明仔· 2026-04-01 7/350 2026-04-02 11:17 by 邹尉尉
[考研] 求调剂 +4 DADA怪 2026-03-31 4/200 2026-04-01 14:30 by ZXlzxl0425
信息提示
请填处理意见