24小时热门版块排行榜    

Znn3bq.jpeg
查看: 7251  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 313求调剂 +3 余摆摆是大哥 2026-04-11 3/150 2026-04-12 06:53 by 380984326
[考研] 085404 293求调剂 +9 勇远库爱314 2026-04-08 9/450 2026-04-12 02:24 by 秋豆菜芽
[考研] 0831一轮调剂失败求助 +6 小熊睿睿_s 2026-04-11 6/300 2026-04-11 23:55 by baobaoye
[考研] 290求调剂 +13 luoziheng 2026-04-10 13/650 2026-04-11 23:15 by labixiaoqiao
[考研] 303求调剂 +14 SereinQ 2026-04-10 15/750 2026-04-11 20:43 by 蓝云思雨
[考研] 305求调剂 +6 玛卡巴卡boom 2026-04-11 6/300 2026-04-11 19:00 by wutongshun
[考研] 0854求调剂 +7 assdll 2026-04-05 7/350 2026-04-11 10:34 by Delta2012
[考研] 296求调剂 +13 汪!?! 2026-04-10 15/750 2026-04-11 10:31 by 逆水乘风
[考研] 电气工程专硕320求调剂 +4 小麻子111 2026-04-10 4/200 2026-04-11 10:19 by Delta2012
[考研] 一志愿211 0703化学 346分求调剂 +22 土豆er? 2026-04-09 23/1150 2026-04-10 10:58 by 高维春
[考研] 08工学 309分求调剂 +6 Yin DY 2026-04-08 6/300 2026-04-10 09:18 by Delta2012
[考研] 材料专硕调剂 +16 哈哈哈吼吼吼哈 2026-04-07 17/850 2026-04-09 21:16 by wutongshun
[考研] 349学科化学045106求调剂,化学类都可以 +8 保好懂懂 2026-04-08 8/400 2026-04-09 14:03 by xulei3024
[考研] 材料调剂 +14 一样YWY 2026-04-05 15/750 2026-04-09 13:36 by 故人??
[考研] 288求调剂 +15 没有答案_ 2026-04-05 15/750 2026-04-09 10:22 by 5268321
[考研] 331求调剂 +5 luoxin0706. 2026-04-08 5/250 2026-04-08 22:15 by zhouyuwinner
[考研] 本科生物信息学,总分362 求07 08调剂 +6 q小倩1210 2026-04-06 6/300 2026-04-07 19:40 by macy2011
[考研] 22408 调剂材料 +7 我叫ez 2026-04-06 8/400 2026-04-07 17:12 by 蓝云思雨
[考研] 求调剂到材料 +5 程9915 2026-04-06 5/250 2026-04-06 15:21 by yulian1987
[考研] 324求调剂 +3 k可乐 2026-04-05 4/200 2026-04-06 09:54 by 蓝云思雨
信息提示
请填处理意见