24小时热门版块排行榜    

查看: 7477  |  回复: 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的回帖

nowthat

铜虫 (初入文坛)

是不是data文件里没原子坐标什么的啊
2楼2016-10-18 20:37:29
已阅   回复此楼   关注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的回帖

byqxq

新虫 (初入文坛)

【答案】应助回帖

请问楼主问题解决了吗?
4楼2018-06-10 11:31:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wanziwen

新虫 (小有名气)

楼主,我也遇到了这样的问题,您当初是怎么解决的?
5楼2018-08-03 16:38:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

15356958931

新虫 (初入文坛)

原子坐标重叠了?
6楼2018-11-22 09:42:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 tertiary 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 面上没中,邀请各位路过的虫友分析一下分数 +3 jackleilei 2026-09-03 3/150 2026-09-03 19:13 by god_tian
[硕博家园] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 YLHlRHNwYkce 2026-09-02 8/400 2026-09-03 18:50 by jyNB2vrbdUpR
[找工作] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +4 YLHlRHNwYkce 2026-09-02 11/550 2026-09-03 18:42 by jyNB2vrbdUpR
[硕博家园] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 rFEsUBKXRll0 2026-09-02 6/300 2026-09-03 16:49 by T0rGB46095mJ
[找工作] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 ero8OE6tv9cu 2026-09-02 8/400 2026-09-03 16:38 by T0rGB46095mJ
[硕博家园] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 ero8OE6tv9cu 2026-09-02 5/250 2026-09-03 16:38 by T0rGB46095mJ
[考研] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 ero8OE6tv9cu 2026-09-02 10/500 2026-09-03 16:27 by T0rGB46095mJ
[教师之家] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 ero8OE6tv9cu 2026-09-02 8/400 2026-09-03 14:48 by T0rGB46095mJ
[基金申请] 国社科又开始会评了,不知道这次命运如何 +10 雨打竹帘 2026-08-30 14/700 2026-09-03 13:17 by qsd10086
[教师之家] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 YLHlRHNwYkce 2026-09-02 8/400 2026-09-03 12:03 by T0rGB46095mJ
[公派出国] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 ero8OE6tv9cu 2026-09-02 4/200 2026-09-03 03:14 by rM1TE0WVDIIY
[基金申请] 科研人应该花精力去思考如何解决问题,而不是去凝练问题 +7 瞬息宇宙 2026-09-01 14/700 2026-09-02 17:33 by ma0526
[基金申请] 要骂人了,新模版改版就是要淡化问题凝练这种虚的东西,结果有个评委还在说凝练得不够 +9 瞬息宇宙 2026-08-31 17/850 2026-09-02 14:04 by anjeeshine
[基金申请] 学科评审组评审是指会评吗? +5 瞬息宇宙 2026-08-31 5/250 2026-09-02 10:13 by 雨冰共舞
[基金申请] 面上函评意见出来了,像什么等级? 20+4 Tsingking1 2026-08-27 17/850 2026-09-01 19:51 by 超级无敌华子
[基金申请] 面上意见出来了 +12 黄鸟于飞Chao 2026-08-29 23/1150 2026-08-31 18:57 by 黄鸟于飞Chao
[基金申请] 能否申诉? +7 echo8914667 2026-08-30 8/400 2026-08-31 17:00 by yihongxu
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[基金申请] 为什么到现在没收到通知? +5 tannykie 2026-08-29 5/250 2026-08-30 21:05 by purplejack
[基金申请] 我就是申请一个面上项目而已,这评审意见是按照杰青的条件评的吧? +6 gouxfjh 2026-08-28 11/550 2026-08-30 07:57 by gouxfjh
信息提示
请填处理意见