24小时热门版块排行榜    

查看: 851  |  回复: 1
【悬赏金币】回答本帖问题,作者Emanonvvv将赠送您 5 个金币

Emanonvvv

新虫 (初入文坛)

[求助] 有用GPAW的朋友吗,算声子一般怎么设置参数 已有1人参与

计算钙钛矿2X2X2超胞的声子谱,程序跑很久也不出结果,查看文件夹多了很多后缀为pckL的文件 phonon.1x+.pckl  phonon.2z-.pckl  phonon.4x+.pckl  phonon.5z-.pckl  phonon.7x+.pckl
p4mm.cif         phonon.1y-.pckl  phonon.2z+.pckl  phonon.4y-.pckl  phonon.5z+.pckl  phonon.7y-.pckl
phonon.0x-.pckl  phonon.1y+.pckl  phonon.3x-.pckl  phonon.4y+.pckl  phonon.6x-.pckl  phonon.7y+.pckl
phonon.0x+.pckl  phonon.1z-.pckl  phonon.3x+.pckl  phonon.4z-.pckl  phonon.6x+.pckl  phonon.7z-.pckl
phonon.0y-.pckl  phonon.1z+.pckl  phonon.3y-.pckl  phonon.4z+.pckl  phonon.6y-.pckl  phonon.7z+.pckl
phonon.0y+.pckl  phonon.2x-.pckl  phonon.3y+.pckl  phonon.5x-.pckl  phonon.6y+.pckl  phonon.eq.pckl
phonon.0z-.pckl  phonon.2x+.pckl  phonon.3z-.pckl  phonon.5x+.pckl  phonon.6z-.pckl  
phonon.0z+.pckl  phonon.2y-.pckl  phonon.3z+.pckl  phonon.5y-.pckl  phonon.6z+.pckl  
phonon.1x-.pckl  phonon.2y+.pckl  phonon.4x-.pckl  phonon.5y+.pckl  phonon.7x-.pckl

这是我仿写ASE教程的计算程序:

from ase import atoms
from ase.io import read,write
from gpaw import GPAW, FermiDirac
import matplotlib.pyplot as plt
from ase.phonons import Phonons


at = read('mm.cif')
calc = GPAW(kpts=(4,4,4),
            h=0.2,
            occupations=FermiDirac(0.))

ph = Phonons(at, calc, supercell = (1,1,1), delta = 0.05)

ph.run()

ph.read(method='frederiksen', acoustic=True)
ph.clean()

path = ph.cell.bandpath('GXMGRX,MR', npoints=100)
bs = ph.get_band_structure(path)

dos = ph.get_dos(spin=0, npts=1000)

fig = plt.figure(1, figsize=(7, 4))
ax = fig.add_axes([.12, .07, .67, .85])

emax = 0.035
bs.plot(ax=ax, emin=0.0, emax=emax)

dosax = fig.add_axes([.8, .07, .17, .85])
dosax.fill_between(dos.weights[0], dos.energy, y2=0, color='grey',
                   edgecolor='k', lw=1)

dosax.set_ylim(0, emax)
dosax.set_yticks([])
dosax.set_xticks([])
dosax.set_xlabel("DOS", fontsize=18)
fig.show()
fig.savefig('phonon.png')

有没有用GPAW的胖友帮忙看下是哪里出了问题。
回复此楼

» 猜你喜欢

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

get-it

新虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
正常,ASE的phonon非常原始,没有考虑对称性,需要计算的结构比phonopy多很多倍。
2楼2021-04-23 16:19:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 Emanonvvv 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考博] 26博士申请 +3 1042136743 2026-03-17 3/150 2026-03-17 23:30 by 轻松不少随
[考研] 考研求调剂 +3 橘颂. 2026-03-17 4/200 2026-03-17 21:43 by 有只狸奴
[考研] 材料,纺织,生物(0856、0710),化学招生啦 +3 Eember. 2026-03-17 7/350 2026-03-17 20:20 by 花125533
[考研] 299求调剂 +4 △小透明* 2026-03-17 4/200 2026-03-17 20:09 by peike
[考研] 302求调剂 +9 负心者当诛 2026-03-11 9/450 2026-03-17 17:13 by ruiyingmiao
[考研] 材料专硕326求调剂 +6 墨煜姒莘 2026-03-15 7/350 2026-03-17 17:10 by ruiyingmiao
[考研] 274求调剂0856材料化工 +13 z2839474511 2026-03-11 14/700 2026-03-17 16:51 by share_joy
[考研] 26考研求调剂 +6 丶宏Sir 2026-03-13 6/300 2026-03-17 16:13 by 醉在风里
[考研] 278求调剂 +3 Yy7400 2026-03-13 3/150 2026-03-17 08:24 by laoshidan
[考研] 11408 一志愿西电,277分求调剂 +3 zhouzhen654 2026-03-16 3/150 2026-03-17 07:03 by laoshidan
[考研] 0703化学调剂 290分有科研经历,论文在投 +7 腻腻gk 2026-03-14 7/350 2026-03-16 10:12 by houyaoxu
[考研] 294求调剂 +3 Zys010410@ 2026-03-13 4/200 2026-03-15 10:59 by zhq0425
[基金申请] 现在如何回避去年的某一个专家,不知道名字 +3 zk200107 2026-03-12 6/300 2026-03-14 17:13 by zk200107
[考研] 337一志愿华南理工0805材料求调剂 +7 mysdl 2026-03-11 9/450 2026-03-13 22:43 by JourneyLucky
[考研] 0856材料与化工301求调剂 +5 奕束光 2026-03-13 5/250 2026-03-13 22:00 by 星空星月
[考研] 0703化学求调剂 +7 绿豆芹菜汤 2026-03-12 7/350 2026-03-13 17:25 by njzyff
[考研] 求b区学校调剂 +3 周56 2026-03-11 3/150 2026-03-13 16:20 by JourneyLucky
[考研] 295求调剂 +3 小匕仔汁 2026-03-12 3/150 2026-03-13 15:17 by vgtyfty
[考研] 274求调剂 +3 S.H1 2026-03-12 3/150 2026-03-13 15:15 by JourneyLucky
[考研] 085600材料与化工 309分请求调剂 +7 dtdxzxx 2026-03-12 8/400 2026-03-13 14:43 by jxchenghu
信息提示
请填处理意见