24小时热门版块排行榜    

查看: 3205  |  回复: 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

铁杆木虫 (著名写手)


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

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的回帖

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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 求材料调剂 +8 隔壁陈先生 2026-03-12 8/400 2026-03-18 22:19 by li123456789.
[考研] 一志愿天津大学化学工艺专业(081702)315分求调剂 +10 yangfz 2026-03-17 10/500 2026-03-18 20:14 by walc
[考研] 材料专硕英一数二306 +4 z1z2z3879 2026-03-18 4/200 2026-03-18 20:00 by 楤哥
[考研] 化学工程321分求调剂 +15 大米饭! 2026-03-15 18/900 2026-03-18 14:52 by haxia
[考研] 0854,计算机类招收调剂 +3 胡辣汤放糖 2026-03-15 6/300 2026-03-18 12:09 by 上岸上岸……..
[考研] 工科材料085601 279求调剂 +6 困于星晨 2026-03-17 6/300 2026-03-18 10:21 by kkcoco25
[考研] 268求调剂 +8 一定有学上- 2026-03-14 9/450 2026-03-17 17:47 by laoshidan
[考研] 301求调剂 +4 A_JiXing 2026-03-16 4/200 2026-03-17 17:32 by ruiyingmiao
[考研] 本人考085602 化学工程 专硕 +16 不知道叫什么! 2026-03-15 18/900 2026-03-17 17:05 by ruiyingmiao
[考研] 26考研求调剂 +6 丶宏Sir 2026-03-13 6/300 2026-03-17 16:13 by 醉在风里
[考研] 283求调剂 +3 听风就是雨; 2026-03-16 3/150 2026-03-17 07:41 by 热情沙漠
[考研] 11408 一志愿西电,277分求调剂 +3 zhouzhen654 2026-03-16 3/150 2026-03-17 07:03 by laoshidan
[考研] [导师推荐]西南科技大学国防/材料导师推荐 +3 尖角小荷 2026-03-16 6/300 2026-03-16 23:21 by 尖角小荷
[考研] 东南大学364求调剂 +5 JasonYuiui 2026-03-15 5/250 2026-03-16 21:28 by 木瓜膏
[考研] 289求调剂 +4 这么名字咋样 2026-03-14 6/300 2026-03-14 18:58 by userper
[考研] 308 085701 四六级已过求调剂 +7 温乔乔乔乔 2026-03-12 14/700 2026-03-14 10:49 by JourneyLucky
[考研] 求材料调剂 085600英一数二总分302 前三科235 精通机器学习 一志愿哈工大 +4 林yaxin 2026-03-12 4/200 2026-03-13 22:04 by 星空星月
[考研] 307求调剂 +5 超级伊昂大王 2026-03-12 5/250 2026-03-13 15:56 by 棒棒球手
[考研] 求调剂 +3 程雨杭 2026-03-12 3/150 2026-03-13 15:06 by JourneyLucky
[论文投稿] 投稿问题 5+4 星光灿烂xt 2026-03-12 6/300 2026-03-13 14:17 by god_tian
信息提示
请填处理意见