24小时热门版块排行榜    

查看: 1013  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 344求调剂 +4 knight344 2026-03-16 4/200 2026-03-17 17:27 by ruiyingmiao
[考研] 一志愿天津大学化学工艺专业(081702)315分求调剂 +5 yangfz 2026-03-17 5/250 2026-03-17 17:01 by ruiyingmiao
[考研] 085600材料与化工求调剂 +5 绪幸与子 2026-03-17 5/250 2026-03-17 16:40 by laoshidan
[考研] 085601专硕,总分342求调剂,地区不限 +3 share_joy 2026-03-16 3/150 2026-03-17 13:41 by houyaoxu
[考研] 材料与化工304求B区调剂 +7 邱gl 2026-03-11 8/400 2026-03-17 09:36 by 努力学习赚彩礼
[考研] 11408 一志愿西电,277分求调剂 +3 zhouzhen654 2026-03-16 3/150 2026-03-17 07:03 by laoshidan
[考研] [导师推荐]西南科技大学国防/材料导师推荐 +3 尖角小荷 2026-03-16 6/300 2026-03-16 23:21 by 尖角小荷
[考研] 药学383 求调剂 +3 药学chy 2026-03-15 4/200 2026-03-16 20:51 by 元子^0^
[考研] 中科院材料273求调剂 +4 yzydy 2026-03-15 4/200 2026-03-16 15:59 by Gaodh_82
[考研] 085600材料与化工 求调剂 +13 enenenhui 2026-03-13 14/700 2026-03-16 15:19 by 了了了了。。
[基金申请] 现在如何回避去年的某一个专家,不知道名字 +3 zk200107 2026-03-12 6/300 2026-03-14 17:13 by zk200107
[考研] 材料080500调剂求收留 +3 一颗meteor 2026-03-13 3/150 2026-03-14 10:54 by peike
[考研] 330求调剂 +3 ?酱给调剂跪了 2026-03-13 3/150 2026-03-14 10:13 by JourneyLucky
[考研] 279求调剂 +3 抓着星星的女孩 2026-03-10 3/150 2026-03-13 23:47 by userper
[考研] 材料与化工(0856)304求B区调剂 +6 邱gl 2026-03-12 7/350 2026-03-13 23:24 by 邱gl
[考研] 材料371求调剂 +9 鳄鱼? 2026-03-11 11/550 2026-03-13 22:53 by JourneyLucky
[考研] 四川大学085601材料工程专硕 初试294求调剂 +4 祝我们好在冬天 2026-03-11 4/200 2026-03-13 21:39 by peike
[考研] (081700)化学工程与技术-298分求调剂 +12 11啦啦啦 2026-03-11 35/1750 2026-03-13 21:25 by JourneyLucky
[考研] 求调剂 +3 程雨杭 2026-03-12 3/150 2026-03-13 15:06 by JourneyLucky
[考研] 321求调剂(食品/专硕) +3 xc321 2026-03-12 6/300 2026-03-13 08:45 by xc321
信息提示
请填处理意见