24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1914  |  回复: 5
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

yy08

木虫 (著名写手)

PHD

[求助] 关于ABINIT计算四方结构弹性常数不收敛的问题

本人用ABINIT重复PRB( 73, 245217 2006)一文章中一个四方结构的弹性常数,运行telast_2.fiels这一步的时候,set 1(Initial self-consistent run)很快收敛,但是从set 2开始就不收敛了。输入卡中的iscf的设置尝试了3、5、7等值,而且用了不同的赝势都进行了测试,都没能收敛。输入卡telast_2.in内容如下:
   ndtset   3
# Set 1 : Initial self-consistent run
    iscf1   7
  kptopt1   1
  tolvrs1   1.0d-18  #need excellent convergence of GS quantities for RF runs
# Set 2 : Calculate the ddk wf's - needed for piezoelectric tensor and
#         Born effective charges in dataset 3
  getwfk2  -1
    iscf2  -3        #this option is needed for ddk
  kptopt2   2        #use time-reversal symmetry only for k points
    nqpt2   1        #one wave vector will be specified
     qpt2   0 0 0    #need to specify gamma point
  rfelfd2   2        #set for ddk wf's only
   rfdir2   1 1 1    #full set of directions needed
   # rfdir2   1 0 0
  tolwfr2   1.0d-16  #only wf convergence can be monitored here
# Set 3 : response-function calculations for all needed perturbations
  getddk3  -1
  getwfk3  -2
    iscf3   7
  kptopt3   2        #use time-reversal symmetry only for k points
    nqpt3   1
     qpt3   0 0 0
  rfphon3   1        #do atomic displacement perturbation
rfatpol3   1 8      #do for all atoms
  rfstrs3   3        #do strain perturbation
    rfdir3   1 1 1    #the full set of directions is needed
#   rfdir3   1 0 0   
tolvrs3   1.0d-10  #need reasonable convergence of 1st-order quantities
#Common input data
# acell  COPY RELAXED RESULT FROM PREVIOUS CALCULATION
# Here is a default value, for automatic testing : suppress it and fill the previous line
  acell  10.274  10.274  20.250
#  rprim   sqrt(0.75)  0.5  0.0   #hexagonal primitive vectors must be
#         -sqrt(0.75)  0.5  0.0   #specified with high accuracy to be
#          0.0         0.0  1.0   #sure that the symmetry is recognized
                                 #and preserved in the optimization
                                 #process
  angdeg  90 90 90
  spgroup 122
  brvltt -1
  chkprim 0
#Definition of the atom types and atoms
  ntypat   3
  znucl   48 32 33
  natom   8
  typat   1  2  3
#Starting approximation for atomic positions in REDUCED coordinates
#based on ideal tetrahedral bond angles
# xred  COPY RELAXED RESULT FROM PREVIOUS CALCULATION
# Here is a set of default values, for automatic testing : suppress it and fill the previous line
  natrd  3
  xred  0.0    0.0    0.0
        0.0    0.0    0.5
        0.27 0.25   0.125
#Gives the number of bands, explicitely (do not take the default)
  nband   30            
#Definition of the plane wave basis set
   ecut   45.0            # Maximum kinetic energy cutoff (Hartree)
ecutsm   0.5            
#Definition of the k-point grid
kptopt   1              # Use symmetry and treat only inequivalent points
ngkpt   4 4 4          # 4x4x4 Monkhorst-Pack grid
nshiftk   1              # Use one copy of grid only (default)
shiftk   0.0 0.0 0.0  
#Definition of the self-consistency procedure
diemac   12.0            # Model dielectric preconditioner
   iscf   7              # Use conjugate-gradient SCF cycle
   nstep   4000             # Maxiumum number of SCF iterations
计算输出部分内容如下:
      iter   2DEtotal(Ha)        deltaE(Ha) residm    vres2
-ETOT  1  -45.484530143467     -4.548E+01 6.521E-01 0.000E+00
ETOT  2  -45.795933477839     -3.114E-01 1.429E-01 0.000E+00
ETOT  3  -45.815094454386     -1.916E-02 1.606E-02 0.000E+00
ETOT  4  -45.817797043619     -2.703E-03 7.576E-02 0.000E+00
ETOT  5  -45.818278447453     -4.814E-04 1.092E-02 0.000E+00
ETOT  6  -45.818372532096     -9.408E-05 6.982E-02 0.000E+00
ETOT  7  -45.818391953073     -1.942E-05 9.658E-03 0.000E+00
ETOT  8  -45.818396113087     -4.160E-06 6.921E-02 0.000E+00
ETOT  9  -45.818397027188     -9.141E-07 9.109E-03 0.000E+00
ETOT 10  -45.818397231562     -2.044E-07 6.907E-02 0.000E+00
ETOT 11  -45.818397277798     -4.624E-08 8.879E-03 0.000E+00
ETOT 12  -45.818397288342     -1.054E-08 6.898E-02 0.000E+00
residm这一列进入了一个死循环,所以 set2中的tolwfr2(1.0d-16)一直不能收敛。请各位老师指点一下,谢谢大家!
回复此楼

» 猜你喜欢

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

科研并快乐着
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

souledge

专家顾问 (著名写手)

【答案】应助回帖

★ ★
liliangfang: 金币+2, 谢谢交流 2012-08-05 14:38:49
引用回帖:
554868楼: Originally posted by yy08 at 2011-07-22 09:10:53
nband的设置是没有问题的,做过测试了。而nstep设置4000不会影响收敛的,该收敛的时候,会在4000以内的某一步。...

LZ的问题解决没?不知道LZ的结构是导体还是非导体。如果是导体,则不需要第二个Dataset,如果是非导体,则nband一定要设置得与价带数目相同。
不过对于导体,我这里计算的最终结果一直有很大问题~
思想重于技巧,内涵重于表象
5楼2012-08-04 13:58:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 6 个回答

iamikaruk

木虫 (著名写手)

nstep给了4000,好可怕。
你的nband设置是合理的吗?计算过静态的结果吗?
[img]http://osu.ppy.sh/stat2/iamikaruk-0.png[/img]
2楼2011-07-22 00:55:44
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yy08

木虫 (著名写手)

PHD


uuv2010(金币+1): 多谢提示 2011-07-22 13:59:54
引用回帖:
Originally posted by yy08 at 2011-07-21 23:38:46:
本人用ABINIT重复PRB( 73, 245217 2006)一文章中一个四方结构的弹性常数,运行telast_2.fiels这一步的时候,set 1(Initial self-consistent run)很快收敛,但是从set 2开始就不收敛了。输入卡中的iscf的设置 ...

nband的设置是没有问题的,做过测试了。而nstep设置4000不会影响收敛的,该收敛的时候,会在4000以内的某一步。
科研并快乐着
4楼2011-07-22 09:10:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

gswylq

木虫 (正式写手)

引用回帖:
5楼: Originally posted by souledge at 2012-08-04 13:58:23
LZ的问题解决没?不知道LZ的结构是导体还是非导体。如果是导体,则不需要第二个Dataset,如果是非导体,则nband一定要设置得与价带数目相同。
不过对于导体,我这里计算的最终结果一直有很大问题~...

请问导体为什么不需要第2个dataset? 第三个dataset不是有个getwfk3  -2吗?如果不设置第二步的dataset,那第三步getwfk3  -2是不是不用设置呢?
6楼2014-04-27 08:59:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料相关专业344求调剂双非工科学校或课题组 +25 hualkop 2026-04-12 27/1350 2026-04-19 01:58 by 烟雨流涯
[考研] 生物学调剂 +10 纸扇zhishan 2026-04-13 10/500 2026-04-18 21:19 by zqndavala
[考研] 接受任何调剂 +6 也就是栗子 2026-04-17 7/350 2026-04-18 17:20 by 涵竹刘
[考研] 收到复试调剂但是去不了 +8 小蜗牛* 2026-04-16 8/400 2026-04-18 11:15 by zixin2025
[考研] 急需调剂 +9 绝不放弃22 2026-04-15 10/500 2026-04-18 08:09 by chixmc
[考研] 304求调剂 +7 castLight 2026-04-16 7/350 2026-04-17 20:05 by 关一盏灯cd
[考研] 294求调剂 +7 淡然654321 2026-04-17 8/400 2026-04-17 16:36 by wutongshun
[考研] 322求调剂 +6 tekuzu 2026-04-17 6/300 2026-04-17 13:48 by Espannnnnol
[考研] 一志愿沪9,生物学326求调剂 +9 刘墨墨 2026-04-15 9/450 2026-04-16 17:14 by 崔崔崔cccc
[考研] 291求调剂 +11 关忆北. 2026-04-14 11/550 2026-04-16 15:18 by jiahl2024
[考博] 申博自荐 +3 Linxia林夏 2026-04-13 3/150 2026-04-16 12:55 by 墨荷之露
[考研] 327求调剂 +26 Xxjc1107. 2026-04-13 29/1450 2026-04-16 10:52 by Espannnnnol
[考研] 289 分105500药学专硕求调剂(找B区学校) +4 白云123456789 2026-04-13 4/200 2026-04-16 00:18 by 粉沁若尘
[考研] 求调剂学校 +14 不会吃肉 2026-04-13 16/800 2026-04-15 21:59 by noqvsozv
[考研] 297,工科调剂? +10 河南农业大学-能 2026-04-14 10/500 2026-04-15 21:50 by noqvsozv
[考研] 通信工程求调剂!!! +6 zlb770521 2026-04-14 6/300 2026-04-15 20:00 by 学员JpLReM
[考研] 药学求调剂 +11 RussHu 2026-04-12 13/650 2026-04-15 19:07 by zhuwenxu
[考研] 105500药学求调剂 +4 x_skys 2026-04-12 4/200 2026-04-14 13:37 by rndfc
[考研] 245求调剂 +6 冰糖橘?汽水 2026-04-13 10/500 2026-04-14 10:49 by jyl0317
[考研] B区0809 ,数一英一,290 求调剂 +3 泠潍1111 2026-04-12 4/200 2026-04-13 20:35 by 学员JpLReM
信息提示
请填处理意见