24小时热门版块排行榜    

查看: 6807  |  回复: 5
【悬赏金币】回答本帖问题,作者tertiary将赠送您 5 个金币
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

tertiary

新虫 (初入文坛)

[求助] 求氮化硼热导率in文件出错已有2人参与

因为是新人金币不多,希望好心人帮我看看lammps的in文件哪里出错了。我想求氮化硼的热导率,但是运行结果是这样的:
       ERROR on proc 0: Non-numeric atom coords - simulation unstable (../domain.cpp:510)
以下是我的in文件:
units                                real
dimension                     3
boundary                      p p p
atom_style                    full

#read topology
read_data                      bnsystem.data

#Force-field parameters
#B=1,N=1

pair_style                        lj/cut 2.5
bond_style                        harmonic
angle_style                        harmonic
dihedral_style        charmm

special_bonds                   lj/coul 0.0 0.0 0.0

pair_coeff                        * * 1.0 1.0 2.5
bond_coeff                        * 80.0 1.2
angle_coeff                        * 300.0 107.0
dihedral_coeff                  * 3.100 2 180 0.0

#NEMD calculate conductivity

region box block -5 100 -1 100 -1 31.15 units box
region begin block INF INF INF INF -1 7 units box
region hot block INF INF INF INF 7 14 units box
region mid block INF INF INF INF 14 21 units box
region cold block INF INF INF INF 21 27 units box
region end block INF INF INF INF 27 34 units box
region boundary union 2 begin end units box
group begin region begin
group hot region hot
group mid region mid
group cold region cold
group end region end
group boundary region boundary
group new subtract all boundary

velocity new create 300 7986875 mom yes rot yes dist gaussian units box
velocity boundary set 0.0 0.0 0.0 units box

compute Thot hot temp
compute Tcold cold temp
compute Tmid mid temp

#1st equilibration run
fix 1 boundary setforce 0.0 0.0 0.0
fix 2 new nvt temp 300 300 0.025

thermo                          20000
run                             2000
velocity new scale 300
unfix 2

#2nd equilibration run
fix 2 new nve
fix hot all heat 1 50 region hot
fix cold all heat 1 -50 region cold
thermo_style                    custom step temp c_Thot c_Tcold c_Tmid
thermo                          20000
run                             20000

#thermal conductivity calculation
compute                         ke all ke/atom
variable                        temp atom c_ke*1.6e+4/(1.5*1.38)
fix 3 new ave/spatial 1 10000 10000 x (0,0,0) 2 v_temp file temp.profile

thermo_style custom step temp c_Thot c_Tcold c_Tmid

neighbor                        1.0 bin
neigh_modify                    every 1 delay 5 check yes
timestep                         0.001

dump                            1 all atom 10 bn.lammpstrj

run                             500000
真的非常感谢!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

1195222016

银虫 (小有名气)

【答案】应助回帖

fix hot all heat 1 50 region hot
fix cold all heat 1 -50 region cold这个all是否有问题
3楼2016-10-27 09:20:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 tertiary 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 希望能25博士入学,可提前一年做科研助理 +5 干饭版小太阳 2024-06-09 9/450 2024-06-16 09:56 by wanghaiyu
[有机交流] 车间生产,真空度很高,温度很高,但减压蒸馏速度很慢。 10+12 召唤鬼泣lL 2024-06-13 36/1800 2024-06-16 09:20 by ddc805
[找工作] 江西双非一本和四川双一流高校如何选择? 5+7 寒山敲钟 2024-06-12 23/1150 2024-06-16 06:52 by puterde
[文学芳草园] 累并快乐着 +13 MYHLD521 2024-06-14 13/650 2024-06-15 22:59 by zeolitess
[考博] 上海交大招收材料化学方向科研助理/“申请考核”博士(请勿回复帖子或站内投条) +3 灵梦and紫 2024-06-12 4/200 2024-06-15 20:58 by 1822836277
[基金申请] Nature 11日发文,中国著名学者们称造假迫不得已 +5 babu2015 2024-06-14 5/250 2024-06-15 20:40 by lc231001
[论文投稿] 审稿人含糊拒稿,还需要回复吗?如何回复? 20+3 BruceChum 2024-06-15 17/850 2024-06-15 20:19 by arthas_007
[教师之家] 请问事业编制和年薪制冲突吗? +6 ZHONGWU_U 2024-06-14 6/300 2024-06-15 20:16 by Ermito
[基金申请] 2024国社科通讯评审 +9 qsd10086 2024-06-13 14/700 2024-06-15 15:51 by thesuna
[基金申请] 为什么我的博后基金还在流动站审核中?不会是学院给我卡了吧? +14 王凯12 2024-06-13 26/1300 2024-06-15 15:22 by 好人与坏人
[基金申请] 博后基金,以往的结果点不开,怎么回事呢?最后一次机会了,两次都没中前面。 +7 kyukitu 2024-06-14 13/650 2024-06-15 06:46 by 我是王小帅
[食品] 食品博士导师 +6 小李醒yy 2024-06-11 9/450 2024-06-14 23:37 by 小李醒yy
[基金申请] 面上基金有一个(两个)C是不是就没戏了.... 5+3 zzzm116 2024-06-13 17/850 2024-06-14 22:26 by lzt8076
[有机交流] ππ堆积会发生在有机溶剂中吗 5+3 zibuyu0420 2024-06-13 4/200 2024-06-14 14:17 by 小肉干
[基金申请] 国自然基金公布的时候基金号有吗 +8 潇洒怡惜 2024-06-13 11/550 2024-06-14 11:24 by JRfei
[基金申请] 化学会年会改成一年开一次了? +5 babu2015 2024-06-12 13/650 2024-06-14 10:46 by babu2015
[基金申请] 连续两年医学口青年项目初审体会 +11 进击的荣耀 2024-06-09 18/900 2024-06-13 17:27 by 进击的荣耀
[考博] 博导选择 +3 bing85977 2024-06-12 3/150 2024-06-13 15:34 by 我是邱尧
[硕博家园] 考博应该从哪里开始准备 +6 亮姐2019 2024-06-11 8/400 2024-06-13 12:53 by 帕秋莉GO
[硕博家园] 求助 +6 LYWwrz 2024-06-09 9/450 2024-06-11 13:12 by powerhours
信息提示
请填处理意见