24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1802  |  回复: 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的回帖

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的回帖

后天一

木虫 (小有名气)

我们的自由!

好好,厉害!
4楼2008-12-04 18:13:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zxzj05

荣誉版主 (著名写手)

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

BigBlackBear

银虫 (小有名气)

谢谢楼主
9年
6楼2008-12-05 08:57:51
已阅   回复此楼   关注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的回帖

zxzj05

荣誉版主 (著名写手)


fegg7502(金币+1,VIP+0):鼓励讨论
我在用楼主编译好的anaddb程序做声子态密度和分波声子态密度计算时候出现错误,
请楼主看看是什么原因,
谢谢!
储氢家族欢迎储氢研究者!
8楼2008-12-10 17:25:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zxzj05

荣誉版主 (著名写手)

★ ★
wuli8(金币+2,VIP+0):3X!(*^__^*) ……
我猜想是不是不同版本的输入卡(in文件)不一样造成的?
储氢家族欢迎储氢研究者!
9楼2008-12-10 17:27:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

watermall

金虫 (小有名气)

★ ★ ★
zdhlover(金币+3,VIP+0):多谢,欢迎常来啊
引用回帖:
Originally posted by zxzj05 at 2008-12-10 17:27:
我猜想是不是不同版本的输入卡(in文件)不一样造成的?

不是in文件,是files文件的问题
你在files文件的最后一行再加一个文件,文件名随便取
新版的anaddb需要比以前多一行文件名的files文件
10楼2008-12-11 16:37:35
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 watermall 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 297求调剂 +12 ORCHID1 2026-04-10 13/650 2026-04-11 10:49 by qingpingzhu
[考研] 085500求调剂材料 +10 易11122 2026-04-09 10/500 2026-04-11 10:39 by maddjdld
[考研] 农业管理302分求调剂 +3 xuening1 2026-04-10 3/150 2026-04-11 10:18 by zhq0425
[考研] 电气专硕320求调剂 +4 小麻子111 2026-04-10 4/200 2026-04-11 10:16 by Delta2012
[考研] 342电子信息专硕求调剂 +9 你让我怎么荔枝 2026-04-10 10/500 2026-04-11 08:33 by zhq0425
[考研] 调剂 化学 307 +21 73372112 2026-04-09 23/1150 2026-04-10 23:53 by wj165256
[考研] 求调剂 +9 张番茄不炒蛋 2026-04-10 10/500 2026-04-10 22:07 by 小小虫瓜
[考研] 生物学308分求调剂(一志愿华东师大)做过分子实验 +8 相信必会光芒万 2026-04-07 9/450 2026-04-10 21:03 by zhouxiaoyu
[考研] 297求调剂 +27 GENJIOW 2026-04-07 30/1500 2026-04-09 23:20 by wolf97
[考研] 一志愿中科院105500专业总分315求调剂 +6 lallalh 2026-04-09 7/350 2026-04-09 17:51 by lallalh
[考研] 337求调剂 +4 Gky09300550, 2026-04-09 4/200 2026-04-09 17:18 by 帕尔马拉特
[考研] 一志愿厦大生物学332求调剂 +10 池池池池池池 2026-04-08 10/500 2026-04-09 17:10 by 独醉梦孤城
[考研] 085501机械专硕 302分 不挑专业求调剂 +5 汪某. 2026-04-09 5/250 2026-04-09 15:38 by 蒋皓禹
[考研] 265求调剂 +4 风说她早忘了 2026-04-07 4/200 2026-04-09 13:59 by only周
[考研] 软件工程求调剂22软工296分求调剂,接受跨调 +4 yangchen2017 2026-04-08 5/250 2026-04-08 21:56 by 土木硕士招生
[考研] 336求调剂,一志愿中科大 +9 墨彧 yuyu 2026-04-06 9/450 2026-04-08 11:24 by 想读书的菌菌
[考研] 318求调剂 +5 李青山山山 2026-04-07 5/250 2026-04-07 18:24 by 蓝云思雨
[考研] 一志愿华中农业大学0710(A)初试329分 求调剂 +5 一名26考研生 2026-04-04 5/250 2026-04-07 08:54 by 18828373951
[考研] 考研调剂 +5 四川王涛 2026-04-04 5/250 2026-04-04 22:18 by 啵啵啵0119
[考研] 本科211,专业085404,293分请求调剂 +5 莲菜就是藕吧 2026-04-04 5/250 2026-04-04 14:08 by 这是一个无聊的
信息提示
请填处理意见