24小时热门版块排行榜    

Znn3bq.jpeg
查看: 1895  |  回复: 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的回帖

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

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

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的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 化学工程调剂289 +41 yang婷 2026-04-07 47/2350 2026-04-09 23:23 by wolf97
[考研] 080100力学316求调剂 +4 L_Hairui 2026-04-07 4/200 2026-04-09 21:17 by wutongshun
[考研] 301求调剂 +5 静静想想 2026-04-05 5/250 2026-04-09 20:58 by 运气yunqi
[考研] 材料专硕初试分332一志愿西北工业大学, +12 故人?? 2026-04-09 12/600 2026-04-09 18:34 by Ccclqqq
[考研] 考研二轮调剂 +5 故人?? 2026-04-09 5/250 2026-04-09 16:44 by 271179835
[考研] 化学工程与技术专业一志愿哈工程 291分B区 国家级大创负责人 有一作论文 +13 Emmy~ 2026-04-09 13/650 2026-04-09 14:47 by only周
[考研] 349学科化学045106求调剂,化学类都可以 +8 保好懂懂 2026-04-08 8/400 2026-04-09 14:03 by xulei3024
[考研] 283电子信息求调剂 +4 三石WL 2026-04-08 4/200 2026-04-09 10:21 by wp06
[考研] 一志愿西南大学生物学学硕344 求生物学相关调剂/生物与医药 +7 超人不会飞@ 2026-04-08 7/350 2026-04-09 09:35 by gong120082
[考研] 求调剂 +13 柒luck 2026-04-07 13/650 2026-04-08 22:46 by 猪会飞
[考研] 生物学学硕,初试351分,求调剂 +4 …~、王…~ 2026-04-08 5/250 2026-04-08 21:49 by limeifeng
[考研] 324求调剂 +17 想上学求调 2026-04-03 17/850 2026-04-08 20:04 by 我减肥1
[考研] 生物调剂 +5 橙子橙子橙子啊 2026-04-05 9/450 2026-04-07 15:31 by 上岸快快
[考研] 调剂 +4 mcbbc 2026-04-06 5/250 2026-04-07 12:33 by upczlm1989
[考研] 292求调剂 +4 lilllllxccc 2026-04-05 5/250 2026-04-07 09:29 by 纺大杨老师
[考研] 085405软件工程301分求调剂,专硕可跨专业,四六级已过 +3 静静想想 2026-04-05 3/150 2026-04-06 15:23 by nepu_uu
[考研] 考研调剂 +5 美丽的youth_ 2026-04-04 6/300 2026-04-06 06:57 by houyaoxu
[考研] 材料调剂 +6 一样YWY 2026-04-05 6/300 2026-04-05 20:30 by 南航~万老师
[考研] 11408,335分,本科211,求调剂,可转专业 +5 鳄梨大鳄鱼 2026-04-03 5/250 2026-04-04 22:49 by chongya
[考研] 085601,一志愿厦大334复试被刷求调剂 +13 曾仰之 2026-04-03 15/750 2026-04-04 20:13 by dongzh2009
信息提示
请填处理意见