24小时热门版块排行榜    

查看: 4978  |  回复: 18

青春逍遥啊

新虫 (小有名气)

[求助] 计算石墨烯热导率平衡态,求助! 已有2人参与

如题,我想用lammps计算石墨烯的平衡态热导率,我用ms建立16*16*1的石墨烯模型,边界条件如果是ppp,则运行没有问题,如果改为pps,则总是出现如下错误:
     cannot use neighbor bins -box size << cutoff   (../neighbor.cpp:1737)
按照lammps    error中的提示,显示

Cannot use neighbor bins - box size << cutoffToo many neighbor bins will be created. This typically happens when the simulation box is very small in some dimension, compared to the neighbor cutoff. Use the “nsq” style instead of “bin” style.


我尝试着将我的box设置大一点,从16*16*1改为50*50*1,可是错误依然存在。势函数采用的是tersoff势函数。


部分in文件如下:

units       metal
variable    T equal 300          # in K
variable    V equal vol          # in A^3
variable    dt equal 0.0005      # in ps
variable    p equal 100000     # correlation length
variable    s equal 1      # sample interval
variable    d equal $p*$s   # dump interval

# convert from LAMMPS real units to SI   # donot change this part

variable    kB equal 1.3806504e-23    # [J/K] Boltzmann
variable    eV2J equal 1.60217646e-19
variable    A2m equal 1.0e-10
variable    ps2s equal 1.0e-12
variable    convert equal ${eV2J}*${eV2J}/${ps2s}/${A2m}

# setup problem

#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.010325 3.405
#timestep     ${dt}
#thermo       $d


# for reading data file

# read structure from data file

dimension    3
boundary     p p s
read_data         data.graphite

#potential function

pair_style  tersoff
pair_coeff * * SiC.tersoff Si
timestep     ${dt}
thermo       $d
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
回帖支持 ( 显示支持度最高的前 50 名 )

brucefan

专家顾问 (著名写手)

【答案】应助回帖

引用回帖:
6楼: Originally posted by 青春逍遥啊 at 2016-05-13 19:09:19
您说的严重错误是指?...

Hello,

I think you are using the Green-Kubo method. The problem of lammps is that the heat current (also called heat flux)
formula implemented in lammps is only correct of two-body potentials and is wrong for many-body potentials such
as the Tersoff potential. Using the Tersoff parameters by Lindsay and Broido, the converged thermal conductivity of
pristine grpahene at 300 K is computed to be about 900 W/mK, but using the correct formula I derived, I got 2700 W/mK.

See my recent paper published in Phys. Rev. B:

arXiv:1503.06565 [cond-mat.mes-hall]
"Force and heat current formulas for many-body potentials in molecular dynamics simulation with applications to thermal conductivity calculations",
by Zheyong Fan, Luiz Felipe C. Pereira, Hui-Qiong Wang, Jin-Cheng Zheng, Davide Donadio, Ari Harju

The value of 2700 W/mK reported in my paper is also a little underestimated. My current improved value is about 2900 W/mK. The difference is related to
the time-convergence, but this difference is marginal. I will talk out this in my future publication.
7楼2016-05-13 19:51:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通回帖

青春逍遥啊

新虫 (小有名气)

求指教
2楼2016-05-13 12:46:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

brucefan

专家顾问 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
你确定你的文件是模拟石墨烯的?怎么看上去是模拟氩的?晶格是fcc,质量是40?这不是石墨烯吧?

当然,即使你这里全都搞对了,你也得不到正确结果,因为lammps在这个问题上有严重错误。具体的细节我以后用电脑再说。

[ 发自手机版 http://muchong.com/3g ]
3楼2016-05-13 18:17:37
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

brucefan

专家顾问 (著名写手)

【答案】应助回帖

不好意思啊,我看错了。你这是部分文件,而且我说的那部分注释掉了。

[ 发自手机版 http://muchong.com/3g ]
4楼2016-05-13 18:19:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

青春逍遥啊

新虫 (小有名气)

引用回帖:
4楼: Originally posted by brucefan at 2016-05-13 18:19:05
不好意思啊,我看错了。你这是部分文件,而且我说的那部分注释掉了。

嗯啊,我是建的石墨烯,用data读出来的。不知道为什么出现这个错误。
5楼2016-05-13 19:08:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

青春逍遥啊

新虫 (小有名气)

引用回帖:
3楼: Originally posted by brucefan at 2016-05-13 18:17:37
你确定你的文件是模拟石墨烯的?怎么看上去是模拟氩的?晶格是fcc,质量是40?这不是石墨烯吧?

当然,即使你这里全都搞对了,你也得不到正确结果,因为lammps在这个问题上有严重错误。具体的细节我以后用电脑再 ...

您说的严重错误是指?
6楼2016-05-13 19:09:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

brucefan

专家顾问 (著名写手)

【答案】应助回帖

引用回帖:
7楼: Originally posted by brucefan at 2016-05-13 19:51:50
Hello,

I think you are using the Green-Kubo method. The problem of lammps is that the heat current (also called heat flux)
formula implemented in lammps is only correct of two-body potentials  ...

Sorry for a typo:
only correct of two-body potentials
should be
only correct for two-body potentials
8楼2016-05-13 19:53:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

alundilong

木虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
试着调整一下你的z方向simulation的长度吧,以前遇到过类似问题。
9楼2016-05-14 03:17:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

brucefan

专家顾问 (著名写手)

【答案】应助回帖

上楼的回答可能能够解决你的报错问题。但应该要注意最后计算热导率所用的厚度。文献中一般用0.335纳米。然后还是要强调一次,这个方法的多体势计算在lammps中搞错了,要慎用。我想给lammps改正,但感觉工作量太大,需要重写所有多体势函数。我打算自己开发一个新的小巧的开源软件。

[ 发自手机版 http://muchong.com/3g ]
10楼2016-05-14 16:26:42
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 青春逍遥啊 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 280分求调剂 一志愿085802 +4 PUMPT 2026-03-22 7/350 2026-03-22 22:13 by 星空星月
[考研] 307求调剂 +11 冷笙123 2026-03-17 11/550 2026-03-22 20:16 by edmund7
[考研] 287求调剂 +8 晨昏线与星海 2026-03-19 9/450 2026-03-22 17:01 by i_cooler
[考研] 319求调剂 +4 小力气珂珂 2026-03-20 4/200 2026-03-22 15:53 by ColorlessPI
[考研] 070300化学求调剂 +3 苑豆豆 2026-03-20 3/150 2026-03-22 14:48 by ColorlessPI
[考研] 一志愿东华大学控制学硕320求调剂 +3 Grand777 2026-03-21 3/150 2026-03-21 19:23 by 简之-
[考研] 求调剂 +4 要好好无聊 2026-03-21 4/200 2026-03-21 18:57 by 学员8dgXkO
[考研] 一志愿南大,0703化学,分数336,求调剂 +3 收到VS 2026-03-21 3/150 2026-03-21 18:42 by 学员8dgXkO
[考研] 0805材料320求调剂 +3 深海物语 2026-03-20 3/150 2026-03-21 15:46 by 无际的草原
[考研] 化学求调剂 +4 临泽境llllll 2026-03-17 5/250 2026-03-21 02:23 by JourneyLucky
[考研] 材料专业求调剂 +6 hanamiko 2026-03-18 6/300 2026-03-21 00:24 by JourneyLucky
[考研] 考研调剂求学校推荐 +3 伯乐29 2026-03-18 5/250 2026-03-20 22:59 by JourneyLucky
[考研] 一志愿西南交通 专硕 材料355 本科双非 求调剂 +5 西南交通专材355 2026-03-19 5/250 2026-03-20 21:10 by JourneyLucky
[考研] 295复试调剂 +8 简木ChuFront 2026-03-19 8/400 2026-03-20 20:44 by zhukairuo
[考研] 一志愿西安交通大学 学硕 354求调剂211或者双一流 +3 我想要读研究生 2026-03-20 3/150 2026-03-20 20:13 by JourneyLucky
[考研] 工科材料085601 279求调剂 +7 困于星晨 2026-03-17 9/450 2026-03-20 17:38 by 无懈可击111
[考研] 一志愿中国海洋大学,生物学,301分,求调剂 +5 1孙悟空 2026-03-17 6/300 2026-03-19 23:46 by zcl123
[考研] 一志愿福大288有机化学,求调剂 +3 小木虫200408204 2026-03-18 3/150 2026-03-19 13:31 by houyaoxu
[考博] 26博士申请 +3 1042136743 2026-03-17 3/150 2026-03-17 23:30 by 轻松不少随
[考研] 一志愿苏州大学材料工程(085601)专硕有科研经历三项国奖两个实用型专利一项省级立项 +6 大火山小火山 2026-03-16 8/400 2026-03-17 15:05 by 无懈可击111
信息提示
请填处理意见