24小时热门版块排行榜    

Znn3bq.jpeg
汕头大学海洋科学接受调剂
查看: 1813  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 367求调剂 +11 hffQAQ 2026-04-09 11/550 2026-04-14 17:48 by lhj2009
[教师之家] 转长聘了 +7 简单化xn 2026-04-13 7/350 2026-04-14 14:50 by xindong
[考研] 农学0904 312求调剂 +4 Say Never 2026-04-11 4/200 2026-04-14 09:10 by zs92450
[考研] 2026硕士调剂_能动_河南农业大学 +4 河南农业大学-能 2026-04-12 4/200 2026-04-13 22:01 by bljnqdcc
[基金申请] 有爆料,一个青年教师卖房得400万,然后换了一个四青帽子 +11 babu2015 2026-04-08 11/550 2026-04-13 16:33 by probebill
[考研] 314求调剂 +24 wakeluofu 2026-04-09 25/1250 2026-04-13 08:58 by lhj2009
[教师之家] 山东双非院校考核超级无底线,领导幸灾乐祸,教师遭殃恐 +3 qut2026 2026-04-11 7/350 2026-04-12 20:24 by qut2026
[考研] 291求调剂 +11 关忆北. 2026-04-09 12/600 2026-04-12 10:32 by 逆水乘风
[考研] 0854调剂 +12 长弓傲 2026-04-09 13/650 2026-04-12 09:56 by 逆水乘风
[考研] 307求调剂 +10 tzq94092 2026-04-10 10/500 2026-04-12 08:18 by wise999
[考研] 085404 293求调剂 +9 勇远库爱314 2026-04-08 9/450 2026-04-12 02:24 by 秋豆菜芽
[考研] 一志愿厦大0856,306求调剂 +15 Bblinging 2026-04-11 15/750 2026-04-11 22:53 by 314126402
[考研] 农业管理302分求调剂 +3 xuening1 2026-04-10 3/150 2026-04-11 10:18 by zhq0425
[考研] 22408调剂求助 +7 毂12 2026-04-09 9/450 2026-04-11 09:23 by 哦哦123
[考研] 化学工程与技术324调剂 +23 孙常华 2026-04-09 25/1250 2026-04-11 00:07 by 骑牛渡寒江
[考研] 初试261 +3 Asht少 2026-04-10 6/300 2026-04-10 16:38 by Asht少
[考研] 292求调剂 +9 笑笑袁 2026-04-09 9/450 2026-04-10 10:05 by LHGeng
[考研] 085601初试330分找调剂 +10 流心奶黄包l 2026-04-09 10/500 2026-04-10 08:14 by Sammy2
[考研] 083200 初试305分 求调剂 暂不考虑跨专业 +15 Claireyyyy 2026-04-09 15/750 2026-04-09 16:11 by zhuimr
[考研] 化学工程与技术专业一志愿哈工程 291分B区 国家级大创负责人 有一作论文 +13 Emmy~ 2026-04-09 13/650 2026-04-09 14:47 by only周
信息提示
请填处理意见