24小时热门版块排行榜    

Znn3bq.jpeg
汕头大学海洋科学接受调剂
查看: 1810  |  回复: 22
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

watermall

金虫 (小有名气)

[交流] Abinit 中计算 PDOS 和PJPDOS

前面有人问abinit中如何计算声子谱,通过这两天的学习,现在把计算声子谱的方法贴出来,供大家使用(以abinit自带的AlAs教程为例)
1. 原来的老办法
在l计算热力学性质的Log文件中提取DOS信息,然后作图
2. Abinit 5.6.3中的方法,我是根据今天在abinit forum里看到程序作者的建议来操作的。大家可以去forum mailing list 看看
重新编译了anaddb后,计算出了声子态密度和分态密度。
下面给出我两个方法计算出来的态密度图

PS:发现最新的abinit版本中很多功能是我们在手册上是没有的,需要我们多多交流,多多研究
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zxzj05

荣誉版主 (著名写手)

过去我也问过Gonze,他那会说分波声子态密度还没弄好!
感谢楼主及时报道最新信息,
abiniter之间一定要相互学习啊
储氢家族欢迎储氢研究者!
5楼2008-12-04 19:37:52
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 23 个回答

watermall

金虫 (小有名气)

★ ★
fegg7502(金币+2,VIP+0):thanks
mailing list中的邮件原文,大家根据邮件来改anaddb就可以了
Digging into my files I found an anaddb input that can be used to calculate the PHDOS. The flags that have to be added in the input file are:

ifcflag  1  #IFC's are needed

#DOS related variables
prtdos  1              # 1 for gaussian, 2 for tetrahedrons
ng2qpt  35 35 7        # Dense q-mesh for Fourier interpolation
q2shft  0.0 0.0 0.0      # Shift for the dense mesh
dosdeltae  9.112670E-7  # 0.1 cm-1  frequency step for PHDOS
dosmear    1.366900E-5  # 3 cm-1    broadening (only for Gaussian method)

At the end of the calculation the results are stored in the PHDOS file
There are several columns:

# omega     PHDOS    IPHDOS   PJDOS[1]  IPJDOS[1] ..

PHDOS refers to the total phonon DOS,
IPHDOS is the integrated DOS, then we have the contribution due to all the atoms of the first type as well as the corresponding integrated dos.

3 Comments:
1) To call mkphdos you have to modify a bit 17ddb/invars9
  commenting out the call to leave_new in the following piece of code

if(anaddb_dtset%prtdos/=0 .and. anaddb_dtset%ifcflag/=1) then
  write(message, '(5a)' )&
&  ' invars9 : ERROR -',ch10,&
&  '  ifcflag must be 1 when the calculation of the phonon DOS is required',ch10,&
&  '  Action : correct ifcflag in your input file.'
  call wrtout(6,message,'COLL')
  call leave_new('COLL')
end if
2) If I remember well in old versions of abinit there's a small bug (just
a missing factor)
   in the calculation of the integrated type-projected PHDOS. So don't
rely on the columns
   reporting the type-projected IPHDOS. If you need, you can easily
integrate the curve using
   a plotting software such as xmgrace.

3) Be careful when using the tetrahedron method. The CPU time doesn't
scale well wrt
   to the number of Fourier interpolated q-points. This is a general
problem I found also
   in case of electronic DOS calculations. One should do some serious
profiling of the tetrahedron
   routines and the fortran loops to individuate the bottleneck
2楼2008-12-04 14:13:07
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

watermall

金虫 (小有名气)

★ ★ ★ ★
fegg7502(金币+2,VIP+0):thanks
fegg7502(金币+2,VIP+0):thanks
有用abinit5.6.3windows版本的,可以下载附件中重新编译的anaddb
3楼2008-12-04 14:17:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zxzj05

荣誉版主 (著名写手)

★ ★ ★
fegg7502(金币+3,VIP+0):thanks
Atom-projected contributions are not directly available because the different contributions arising from atoms of the same type are summed up. Anyway calculating atom-projected contributions is just a matter of changing a bit the routine (17ddb/mkphdos.F90).


区分相同类型原子对声子态密度投影贡献还未成功,Matteo Giantomassi对修改方法简单地提了一下,有兴趣的朋友可以试着修改源程序。
揭开黑匣子的秘密,增加它的功能!
储氢家族欢迎储氢研究者!
7楼2008-12-09 15:29:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求调剂学校 +11 不会吃肉 2026-04-13 12/600 2026-04-14 19:38 by Art1977
[考研] 一志愿211,化学310分,本科重点双非,求调剂 +24 努力奋斗112 2026-04-08 24/1200 2026-04-14 18:02 by lhj2009
[考研] 367求调剂 +11 hffQAQ 2026-04-09 11/550 2026-04-14 17:48 by lhj2009
[考研] 材料相关专业344求调剂双非工科学校或课题组 +21 hualkop 2026-04-12 22/1100 2026-04-14 17:44 by lhj2009
[考研] 药学求调剂 +6 RussHu 2026-04-12 7/350 2026-04-14 15:16 by sxdj2
[考研] 食品与营养(0955)271求调剂 +15 升格阿达 2026-04-12 16/800 2026-04-14 13:18 by 浮若_安生
[考研] 材料考研调剂 +29 云木达达 2026-04-11 31/1550 2026-04-13 13:32 by lyh鲁老师
[考研] 生物学调剂,一志愿西南大学348,Top期刊一区二作、二区三作,三等奖学金三次 +5 candyyyi 2026-04-09 5/250 2026-04-13 09:02 by 可淡不可忘
[考研] 一志愿0807 数一英一 313 有没有二轮调剂 +12 emokidd 2026-04-08 13/650 2026-04-13 08:32 by lhj2009
[考研] 22408 352分求调剂 +5 努力的夏末 2026-04-09 5/250 2026-04-12 19:17 by wj165256
[考研] 322求调剂 +6 123安康 2026-04-12 13/650 2026-04-12 15:51 by 123安康
[考研] 280求调剂 +13 wzzz王 2026-04-09 13/650 2026-04-12 00:31 by 勇攀高峰0126
[考研] 22408调剂315分 +3 zhuangyan123 2026-04-09 3/150 2026-04-12 00:25 by 蓝云思雨
[考研] 调剂求助 +6 果然有我 2026-04-11 7/350 2026-04-11 16:22 by 明月此时有
[考研] 275求调剂 +9 1624447980 2026-04-08 10/500 2026-04-11 10:20 by Delta2012
[考研] 284求调剂 +9 让我上岸吧阿西 2026-04-09 11/550 2026-04-10 19:18 by 靖jing
[考研] 085601初试330分找调剂 +10 流心奶黄包l 2026-04-09 10/500 2026-04-10 08:14 by Sammy2
[考研] 初试分332,一志愿报考西北工业大学, +11 故人?? 2026-04-09 11/550 2026-04-09 21:54 by JineShine
[考研] 本科211 工科085400 280分求调剂 可跨专业 +3 LZH(等待调剂中 2026-04-09 3/150 2026-04-09 21:29 by wutongshun
[考研] 311求调剂 +6 surte 2026-04-08 13/650 2026-04-09 14:00 by surte
信息提示
请填处理意见