24小时热门版块排行榜    

查看: 5271  |  回复: 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的回帖
相关版块跳转 我要订阅楼主 青春逍遥啊 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] filecode与中标关系的预测 +3 布布和一二 2026-08-07 3/150 2026-08-07 15:09 by gltch
[基金申请] filecode变化情况 +6 布布和一二 2026-08-07 22/1100 2026-08-07 14:45 by 且听虎啸
[论文投稿] 十年后又回来了,论文投稿求助 +4 哈哈114477 2026-08-01 4/200 2026-08-07 14:39 by jgy194592
[基金申请] 听说今天filecode变了 +22 布布和一二 2026-08-06 45/2250 2026-08-07 14:14 by 日月天地
[基金申请] 关于豆爷回答的JTJC与%2F数量 +4 yang182083 2026-08-06 6/300 2026-08-07 12:43 by 虫友是什么虫
[基金申请] 面上再次挂了,太难了,躺也躺不了,倦也卷不过,小学校之殇! +23 低垂的野花 2026-07-31 31/1550 2026-08-07 12:22 by speculiar
[基金申请] filecode +14 等待解的谜 2026-08-06 19/950 2026-08-07 12:20 by wlwhappy
[基金申请] 基金中了 +11 laoda193707 2026-08-06 11/550 2026-08-07 10:54 by TT和NN
[基金申请] 固定端突然变了,今天 +4 archvillain 2026-08-06 8/400 2026-08-07 08:06 by 带你看大海
[基金申请] filecode +8 布布和一二 2026-08-06 11/550 2026-08-06 20:41 by tangpu318
[基金申请] 求各位大神看下 100+6 hpkpkpkp 2026-08-05 33/1650 2026-08-06 14:49 by zhiyanjiang
[基金申请] 影响面上的因素 +8 布布和一二 2026-08-05 11/550 2026-08-06 10:41 by 宝贝虫子
[基金申请] 8月时间戳变的,举个手。玩一下,释放压力 +9 archvillain 2026-08-04 11/550 2026-08-05 20:06 by wlwhappy
[基金申请] 好消息?这个有何含义??? +8 Tide man 2026-08-05 10/500 2026-08-05 16:14 by xmuxiaoyu
[考博] 【2027博士申请】纳米药物递送方向 20+3 13586093586 2026-08-03 4/200 2026-08-05 09:59 by lfy8008
[基金申请] 有没有H口的?有收到消息的吗? +3 超级海虾 2026-08-04 3/150 2026-08-04 17:26 by 学教育滴
[基金申请] 纯娱乐,不喜欢勿喷 +7 Tide man 2026-08-04 10/500 2026-08-04 15:10 by loufangrui
[基金申请] 面上提前没消息,有中的吗 +14 archvillain 2026-08-02 18/900 2026-08-04 14:42 by archvillain
[基金申请] 娱乐 +4 Tide man 2026-08-03 4/200 2026-08-04 11:51 by wgch518
[基金申请] 什么时候能放榜呀? +3 Jacob678 2026-08-03 3/150 2026-08-03 16:14 by gltch
信息提示
请填处理意见