24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 3232  |  回复: 17
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

identation

金虫 (著名写手)

[交流] 【求助】关于QHA模块的使用 已有4人参与

以AlAs为例,想请教一下具体计算不同温度的热力学性质怎么实现。

以下是espresso-4.2中给出的用QHA计算alas例子中的Edit_Me文件

##############################################################################  
# Optional parameters, any information specific for the system studied
#
SysInfo='AlAs'

# Mandatory parameters
# Specify SystemName and Force Constants matrix

Sysname='AlAs'
FC_file='alas444.fc'

#
# Specify lattice type (used to create ttrinp file). It should be the same as in scf.in file
# Specify atoms in the unit cell as they specified in scf.in file
# Specify atomic masses for these atoms in the same order as in scf.in
# Specify the frequency step (delta_e) as well, but 0.75 is a good choice

ibrav=2
atoms="Al   As  "
mass="26.98  74.922 "
delta_e=0.75

# Edit ONLY amass parameters
# Please do not change flfrq='frequency' line
# leave asr (acoustic sum rule) and flfrc lines

cat >matdyn.init < &input
    amass(1)=26.98,
    amass(2)=74.922,
    asr='crystal',
    flfrc=$FC_file,
    flfrq='frequency'
&end
EOF

#
# In most cases there is no need to edit files listed below, but if you like ...
#

# Temperature range for thermodynamic properties
# T_start, T_end, T_step for QHA calculations

cat > Temperature < 5 500 5
EOF

# Debye Temperature calculations
# Phonon DOS filename (total phonon DOS, not projected), leave it as PHDOS.out
# accuracy (limited 1.d-5, more accuracy is not required )
# Low_Temp_start, Low_Temp_end, and Low_Temp_step for Low Temperature  limit, up to 15-30K
# Hihg temperature and T_step for HT limit

cat >T_Debye.in < PHDOS.out
0.0001
3 15 3
500 10
EOF

具体实施的时候,我的理解是这样的,不知道对不对,想请高人指教一下,感激不尽!
(1)先构建alas.scf.in文件,进行pw.x的自洽计算;
(2)构建alas.ph.in,根据(1)的相关输出进行ph.x计算,得到力常数和动力学矩阵;
(3)用QHA计算,但这里QHA计算的in文件的写法是怎样的呢?我的理解是如下的,但不知对否(里面的EOF和cat > Temperature <
alas.qha.in文件

SysInfo='AlAs'
Sysname='AlAs'
FC_file='alas444.fc'

ibrav=2
atoms="Al   As  "
mass="26.98  74.922 "
delta_e=0.75

cat >matdyn.init < &input
    amass(1)=26.98,
    amass(2)=74.922,
    asr='crystal',
    flfrc=$FC_file,
    flfrq='frequency'
&end
EOF

cat > Temperature < 5 500 5
EOF


cat >T_Debye.in < PHDOS.out
0.0001
3 15 3
500 10
EOF
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

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

lono75

铁杆木虫 (著名写手)

identation(金币+5): 2010-05-24 22:56:14
identation(金币+18): 2010-05-25 15:35:17
# Parameters required for QHA calculations
# Total Phonon DOS file
# output file for C_V, S, Internal energy
# T_start, T_end, T_step for QHA calculations
#
cat >fqha.in < PHDOS.out
$Sysname.QHA.out
5 500 5
EOF
由天命,成人事!
5楼2010-05-24 13:20:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 18 个回答

lono75

铁杆木虫 (著名写手)

EOF (end of file) 作为标识

cat >T_Debye.in < PHDOS.out
0.0001
3 15 3
500 10
EOF

是将EOF前面的内容写入 T_Debye.in

qha.x < in.qha
qha.x 会读取in.qha 设定的参数和
matdyn.init Temperature T_Debye.in三个文件

[ Last edited by lono75 on 2010-5-23 at 20:59 ]
由天命,成人事!
2楼2010-05-23 20:40:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

lono75

铁杆木虫 (著名写手)


wuli8(金币+1):谢谢 2010-05-23 20:45:08
identation(金币+3): 2010-05-24 10:16:57
EOF (end of file) 作为标识

cat > Temperature < 5 500 5
EOF

是将EOF前面的内容写入Temperature
由天命,成人事!
3楼2010-05-23 20:43:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

identation

金虫 (著名写手)

引用回帖:
Originally posted by lono75 at 2010-05-23 20:43:24:
EOF (end of file) 作为标识

cat > Temperature < 5 500 5
EOF

是将EOF前面的内容写入Temperature

那QHA.in文件的格式是怎样的呢?
4楼2010-05-24 10:17:21
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 311求调剂 +9 蓝月亮亮 2026-03-30 9/450 2026-03-31 16:32 by yedezhan
[考研] 一志愿武汉理工,总分321,英一数二,求老师收留。 +12 nnnnnnn5 2026-03-25 12/600 2026-03-31 16:21 by 记事本2026
[考研] 物理学调剂 +4 小羊36 2026-03-30 4/200 2026-03-31 16:16 by lishahe
[考研] 考研生物与医药调剂 +4 铁憨憨123425 2026-03-31 4/200 2026-03-31 14:25 by 记事本2026
[考研] 安徽大学专硕生物与医药专业(086000)324分,英语已过四六级,六级521,求调剂 +7 美味可乐鸡翅 2026-03-26 7/350 2026-03-31 14:23 by 18828373951
[考研] 本科211安全工程,初试290分,求调剂 +3 2719846834 2026-03-28 3/150 2026-03-31 13:52 by 热情沙漠
[考研] 262求调剂 +7 ZZ..000 2026-03-30 8/400 2026-03-31 10:05 by cal0306
[考研] 295材料工程专硕求调剂 +10 1428151015 2026-03-27 10/500 2026-03-30 19:00 by 源_2020
[考研] 求调剂 +10 家佳佳佳佳佳 2026-03-29 10/500 2026-03-30 18:34 by 544594351
[考研] 297求调剂 +17 田洪有 2026-03-26 18/900 2026-03-30 18:32 by nothing投稿中
[考研] 一志愿南开大学0710生物学359求调剂 +5 兔兔兔111223314 2026-03-29 7/350 2026-03-30 18:29 by 兔兔兔111223314
[考研] 一志愿厦门大学材料工程专硕354找调剂!!! +5 贝呗钡钡 2026-03-30 5/250 2026-03-30 18:16 by 无际的草原
[考研] 334分 一志愿武理 材料求调剂 +16 李李不服输 2026-03-26 16/800 2026-03-30 17:47 by wangjy2002
[考研] 318一志愿吉林大学生物与医药 求调剂 +5 笃行致远. 2026-03-28 5/250 2026-03-30 06:56 by ilovexiaobin
[考研] 【求调剂】085601材料工程专硕 | 总分272 | +7 脚滑的守法公民 2026-03-27 7/350 2026-03-29 20:21 by dophin1985
[考研] 327求调剂 +6 汲亦昊 2026-03-29 6/300 2026-03-29 13:40 by peike
[考研] 086000生物与医药调剂 +5 Feisty。 2026-03-28 9/450 2026-03-29 12:02 by longlotian
[考研] 0856求调剂 +13 zhn03 2026-03-25 14/700 2026-03-29 08:13 by fmesaito
[考研] 一志愿上海理工能源动力(085800)310分求调剂 +3 zhangmingc 2026-03-27 4/200 2026-03-27 19:01 by 给你你注意休息
[考研] 321求调剂 +6 wasdssaa 2026-03-26 6/300 2026-03-26 20:57 by sanrepian
信息提示
请填处理意见