24小时热门版块排行榜    

查看: 1012  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[硕博家园] 湖北工业大学 生命科学与健康学院-课题组招收2026级食品/生物方向硕士 +3 1喜春8 2026-03-17 5/250 2026-03-17 17:18 by ber川cool子
[考研] 274求调剂0856材料化工 +13 z2839474511 2026-03-11 14/700 2026-03-17 16:51 by share_joy
[考研] 材料与化工求调剂 +5 为学666 2026-03-16 5/250 2026-03-17 16:40 by 无际的草原
[考研] 303求调剂 +3 睿08 2026-03-17 3/150 2026-03-17 15:24 by 哦哦123
[考研] 285化工学硕求调剂(081700) +9 柴郡猫_ 2026-03-12 9/450 2026-03-17 10:18 by Sammy2
[考研] 11408 一志愿西电,277分求调剂 +3 zhouzhen654 2026-03-16 3/150 2026-03-17 07:03 by laoshidan
[考研] 化学调剂0703 +8 啊我我的 2026-03-11 8/400 2026-03-16 17:23 by 我的船我的海
[基金申请] 今年的国基金是打分制吗? 50+3 zhanghaozhu 2026-03-14 3/150 2026-03-16 17:07 by 北京莱茵润色
[考研] 0856求调剂 +3 刘梦微 2026-03-15 3/150 2026-03-16 10:00 by houyaoxu
[考研] 070305求调剂 +3 mlpqaz03 2026-03-14 4/200 2026-03-15 11:04 by peike
[考研] 材料371求调剂 +9 鳄鱼? 2026-03-11 11/550 2026-03-13 22:53 by JourneyLucky
[考研] 材料工程调剂 +9 咪咪空空 2026-03-12 9/450 2026-03-13 22:05 by 星空星月
[考研] 0703化学一志愿211 总分320求调剂 +5 玛卡巴卡啊哈 2026-03-11 5/250 2026-03-13 21:40 by JourneyLucky
[考研] (081700)化学工程与技术-298分求调剂 +12 11啦啦啦 2026-03-11 35/1750 2026-03-13 21:25 by JourneyLucky
[考研] 26调剂/材料科学与工程/总分295/求收留 +9 2026调剂侠 2026-03-12 9/450 2026-03-13 20:46 by 18595523086
[考研] 一志愿211化学学硕310分求调剂 +8 努力奋斗112 2026-03-12 9/450 2026-03-13 15:41 by JourneyLucky
[考研] 材料301分求调剂 +5 Liyouyumairs 2026-03-12 5/250 2026-03-13 14:42 by JourneyLucky
[考研] 290求调剂 +3 ADT 2026-03-13 3/150 2026-03-13 10:19 by peike
[考博] 26读博 +4 Rui135246 2026-03-12 10/500 2026-03-13 07:15 by gaobiao
[考研] 333求调剂 +3 152697 2026-03-12 4/200 2026-03-13 07:08 by Iveryant
信息提示
请填处理意见