24小时热门版块排行榜    

查看: 3207  |  回复: 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的回帖

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的回帖
查看全部 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的回帖

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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 085700资源与环境308求调剂 +3 墨墨漠 2026-03-18 3/150 2026-03-18 22:35 by bingxueer79
[考研] 321求调剂 +3 何润采123 2026-03-18 3/150 2026-03-18 21:27 by li123456789.
[考研] 0703化学调剂 +7 妮妮ninicgb 2026-03-15 11/550 2026-03-18 19:48 by macy2011
[考研] 085600材料与化工 +5 安全上岸! 2026-03-16 5/250 2026-03-18 15:33 by cmz0325
[考研] 0854,计算机类招收调剂 +3 胡辣汤放糖 2026-03-15 6/300 2026-03-18 12:09 by 上岸上岸……..
[考研] 303求调剂 +4 睿08 2026-03-17 6/300 2026-03-18 11:01 by Iveryant
[考研] 0703化学336分求调剂 +6 zbzihdhd 2026-03-15 7/350 2026-03-18 09:53 by zhukairuo
[考研] 梁成伟老师课题组欢迎你的加入 +8 一鸭鸭哟 2026-03-14 10/500 2026-03-17 15:07 by 一鸭鸭哟
[考研] 考研调剂 +3 淇ya_~ 2026-03-17 5/250 2026-03-17 09:25 by Winj1e
[考研] 085600调剂 +5 漾漾123sun 2026-03-12 6/300 2026-03-16 15:58 by 漾漾123sun
[考研] 070303 总分349求调剂 +3 LJY9966 2026-03-15 5/250 2026-03-16 14:24 by xwxstudy
[考研] 070305求调剂 +3 mlpqaz03 2026-03-14 4/200 2026-03-15 11:04 by peike
[考研] 复试调剂 +4 z1z2z3879 2026-03-14 5/250 2026-03-14 16:30 by JourneyLucky
[考研] 297求调剂 +4 学海漂泊 2026-03-13 4/200 2026-03-14 11:51 by 热情沙漠
[考研] 学硕285求调剂 +13 Wisjxn 2026-03-12 46/2300 2026-03-14 10:33 by JourneyLucky
[考研] [0860]321分求调剂,ab区皆可 +4 宝贵热 2026-03-13 4/200 2026-03-13 22:01 by 星空星月
[考研] 304求调剂 +7 7712b 2026-03-13 7/350 2026-03-13 21:42 by peike
[考研] 311求调剂 +3 冬十三 2026-03-13 3/150 2026-03-13 20:41 by JourneyLucky
[考研] 290求调剂 +7 ADT 2026-03-12 7/350 2026-03-13 15:17 by JourneyLucky
[考研] 328化工专硕求调剂 +4 。,。,。,。i 2026-03-12 4/200 2026-03-13 14:44 by JourneyLucky
信息提示
请填处理意见