24小时热门版块排行榜    

查看: 1932  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +3 9zw1gfyi7x 2026-08-01 7/350 2026-08-01 18:43 by Kddn1pB6pAzX
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 9zw1gfyi7x 2026-08-01 6/300 2026-08-01 18:37 by Kddn1pB6pAzX
[教师之家] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 9zw1gfyi7x 2026-08-01 6/300 2026-08-01 18:37 by Kddn1pB6pAzX
[博后之家] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 9zw1gfyi7x 2026-08-01 6/300 2026-08-01 18:31 by Kddn1pB6pAzX
[教师之家] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 9zw1gfyi7x 2026-08-01 9/450 2026-08-01 18:30 by Kddn1pB6pAzX
[基金申请] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 9zw1gfyi7x 2026-07-31 11/550 2026-08-01 18:22 by Kddn1pB6pAzX
[教师之家] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 9zw1gfyi7x 2026-07-31 10/500 2026-08-01 18:20 by Kddn1pB6pAzX
[硕博家园] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 9zw1gfyi7x 2026-07-31 10/500 2026-08-01 18:03 by Kddn1pB6pAzX
[考博] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 jzg3xk1po8 2026-07-31 12/600 2026-08-01 17:50 by Kddn1pB6pAzX
[基金申请] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 jzg3xk1po8 2026-07-31 12/600 2026-08-01 17:50 by Kddn1pB6pAzX
[教师之家] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 jzg3xk1po8 2026-07-31 9/450 2026-08-01 17:43 by Kddn1pB6pAzX
[论文投稿] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 jzg3xk1po8 2026-07-31 7/350 2026-08-01 17:42 by Kddn1pB6pAzX
[基金申请] 微信指数没变化,科研之友没阅读 +14 wangze12014 2026-07-28 18/900 2026-07-31 18:35 by lzchaihuo
[教师之家] 基础研究怎么拉横向,学校到款任务越来越多,难以完成 拉横向,都有哪些途径啊 +8 锦衣卫寒战 2026-07-28 8/400 2026-07-31 18:13 by beefly
[高分子] HXDI做水性聚氨酯乳液,是不是特别容易出渣 15+3 yuyusuv 2026-07-29 3/150 2026-07-31 09:21 by huizingga
[基金申请] 系统今天又提示维护了,估计离放榜不远了 +11 winnerche 2026-07-29 15/750 2026-07-30 23:08 by jnhyjjm
[基金申请] 今年的WR进展到哪一步了? +5 wsgjhwz 2026-07-25 9/450 2026-07-30 12:59 by 可淡不可忘
[有机交流] 产物和副产物价值比较 30+4 小汤02 2026-07-27 5/250 2026-07-30 12:44 by czyzsu
[基金申请] 这种情况还有戏吗 +5 drbart 2026-07-27 11/550 2026-07-29 05:50 by drbart
[基金申请] 同事接到电话了,我却没有 +4 1234567wang 2026-07-27 4/200 2026-07-28 10:11 by GOODLUCKER
信息提示
请填处理意见