24小时热门版块排行榜    

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

justinzhouke

新虫 (初入文坛)

[交流] PWscf(QE)的结构优化问题 已有3人参与

我在用vc-relax做结构优化的时候,还没有达到应力收敛条件的时候就退出了

     The maximum number of steps has been reached.

这个怎么处理啊。
求大神帮忙。

............
    Forces acting on atoms (Ry/au):

     atom    1 type  1   force =     0.00000000    0.00000000    0.00000000
     atom    2 type  2   force =     0.00000000    0.00000000    0.00000000

     Total force =     0.000000     Total SCF correction =     0.000000


     entering subroutine stress ...

          total   stress  (Ry/bohr**3)                   (kbar)     P=   -0.02
  -0.00000013  -0.00000000   0.00000000         -0.02     -0.00      0.00
   0.00000000  -0.00000013  -0.00000000          0.00     -0.02     -0.00
   0.00000000  -0.00000000  -0.00000013          0.00     -0.00     -0.02


     The maximum number of steps has been reached.

     End of BFGS Geometry Optimization
Begin final coordinates
     new unit-cell volume =    337.13304 a.u.^3 (    49.95796 Ang^3 )

CELL_PARAMETERS (alat= 11.69699086)
   0.000000000   0.472261950   0.472261950
   0.472261950  -0.000000000   0.472261950
   0.472261950   0.472261950  -0.000000000

ATOMIC_POSITIONS (crystal)
In      -0.000000000  -0.000000000   0.000000000
As       0.250000000   0.250000000   0.250000000
End final coordinates
............

输入文件如下:
&control
        calculation = 'vc-relax',
          restart_mode= 'from_scratch',
          pseudo_dir  = './',
          outdir      = './tmp',
        prefix='inas',
        wf_collect = .true.
        tstress = .true.
        tprnfor = .true.
        etot_conv_thr = 1.0D-4
        forc_conv_thr = 1.0D-3
        nstep = 20000
/
&system
    ibrav=  0,
    celldm(1)=11.6969908603;
    nat=  2,
    ntyp= 2,
    ecutwfc =48,
/
&electrons
    electron_maxstep=2500
    mixing_beta = 0.7
    conv_thr =  5.0d-12
/
&IONS
ion_dynamics = 'bfgs'
/
&CELL
cell_dynamics = 'bfgs'
press=0.0
press_conv_thr = 5.0D-4
/
ATOMIC_SPECIES
In  111.818  In.pz-bhs.UPF
As   74.920  As.pz-bhs.UPF

ATOMIC_POSITIONS crystal
In 0.00 0.00 0.00
As 0.25 0.25 0.25
K_POINTS automatic
    9 9 9 0 0 0
CELL_PARAMETERS alat
   0.000000000   0.5   0.5
   0.5  -0.000000000   0.5
   0.5   0.5   0.000000000
回复此楼

» 猜你喜欢

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

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

justinzhouke

新虫 (初入文坛)

引用回帖:
4楼: Originally posted by liqizuiyang at 2015-08-28 11:18:43
这里的单位是kBar,不是Bar。直接写0.1,不要换算。...

我改为0.1后,优化后的结果为:

     Total force =     0.000000     Total SCF correction =     0.000000


     entering subroutine stress ...

          total   stress  (Ry/bohr**3)                   (kbar)     P=   -0.05
  -0.00000031  -0.00000000   0.00000000         -0.05     -0.00      0.00
  -0.00000000  -0.00000031   0.00000000         -0.00     -0.05      0.00
   0.00000000  -0.00000000  -0.00000031          0.00     -0.00     -0.05


     bfgs converged in   6 scf cycles and   5 bfgs steps
     (criteria: energy < 0.10E-03, force < 0.10E-02, cell < 0.10E+00)

     End of BFGS Geometry Optimization

     Final enthalpy =     -16.9554247603 Ry
Begin final coordinates
     new unit-cell volume =    337.14584 a.u.^3 (    49.95986 Ang^3 )

CELL_PARAMETERS (alat= 11.69699086)
   0.000000000   0.472267929   0.472267929
   0.472267929  -0.000000000   0.472267929
   0.472267929   0.472267929  -0.000000000

ATOMIC_POSITIONS (crystal)
In       0.000000000   0.000000000  -0.000000000
As       0.250000000   0.250000000   0.250000000
End final coordinates

没有出现 The maximum number of steps has been reached.可以没有达到应力为0.
当我改为0.01后还是出现 没有出现 The maximum number of steps has been reached.
whoisyourdady
5楼2015-08-28 11:51:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 9 个回答

liqizuiyang

木虫 (著名写手)


小木虫: 金币+0.5, 给个红包,谢谢回帖
press_conv_thr = 5.0D-4
===============
0.5巴的压强……这个值低了,难怪不收敛。
默认的是0.5,个人感觉0.1不能再低了。
2楼2015-08-28 09:10:56
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

justinzhouke

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by liqizuiyang at 2015-08-28 09:10:56
press_conv_thr = 5.0D-4
===============
0.5巴的压强……这个值低了,难怪不收敛。
默认的是0.5,个人感觉0.1不能再低了。

你好,
我把press_conv_thr 改为1.0D-4和1.0D-5后,还是出现

     The maximum number of steps has been reached.

其中1.0D-5的部分输出结果为:

     Forces acting on atoms (Ry/au):

     atom    1 type  1   force =     0.00000000    0.00000000    0.00000000
     atom    2 type  2   force =     0.00000000    0.00000000    0.00000000

     Total force =     0.000000     Total SCF correction =     0.000000


     entering subroutine stress ...

          total   stress  (Ry/bohr**3)                   (kbar)     P=   -0.02
  -0.00000013  -0.00000000   0.00000000         -0.02     -0.00      0.00
   0.00000000  -0.00000013  -0.00000000          0.00     -0.02     -0.00
   0.00000000  -0.00000000  -0.00000013          0.00     -0.00     -0.02


     The maximum number of steps has been reached.
whoisyourdady
3楼2015-08-28 10:47:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liqizuiyang

木虫 (著名写手)


小木虫: 金币+0.5, 给个红包,谢谢回帖
引用回帖:
3楼: Originally posted by justinzhouke at 2015-08-28 10:47:04
你好,
我把press_conv_thr 改为1.0D-4和1.0D-5后,还是出现

     The maximum number of steps has been reached.

其中1.0D-5的部分输出结果为:

     Forces acting on atoms (Ry/au):

     atom   ...

这里的单位是kBar,不是Bar。直接写0.1,不要换算。
4楼2015-08-28 11:18:43
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见