Author Topic: Is this EDP curve correct?  (Read 6517 times)

0 Members and 1 Guest are viewing this topic.

Offline lknife

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: us
  • Reputation: 1
    • View Profile
Is this EDP curve correct?
« on: October 8, 2017, 04:28 »
Hello,

I made a device configuration and calculated the EDP curve of it. However, there is something I cannot understand. Please see the attached figure of the EDP plot and the .py file for it, notifying the Y value of the plot. Can anybody here tell me if the EDP curve is correct? I used the ATK 2016.4 to do the calculation.

Thank you very much for your help!
« Last Edit: October 8, 2017, 04:31 by lknife »

Offline Petr Khomyakov

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1290
  • Country: dk
  • Reputation: 25
    • View Profile
Re: Is this EDP curve correct?
« Reply #1 on: October 9, 2017, 10:03 »
It might be that you have chosen Sum instead of Average for Projection type while plotting the potential in the 1D Projector. This could in principle give you such huge numbers for the potential.

Offline lknife

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: us
  • Reputation: 1
    • View Profile
Re: Is this EDP curve correct?
« Reply #2 on: October 9, 2017, 10:41 »
Thank you very much for your reply.
However, I do chose the "average" for the Projection type. If I choose the type to "Sum", the figure will be shown as the attached file.
« Last Edit: October 9, 2017, 10:43 by lknife »

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Is this EDP curve correct?
« Reply #3 on: October 10, 2017, 08:19 »
Looks like your NEGF calculation did not converge. Check the ATK log file.

Offline Daniele Stradi

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 286
  • Country: dk
  • Reputation: 3
    • View Profile
Re: Is this EDP curve correct?
« Reply #4 on: October 10, 2017, 09:14 »
Could you please have a look at the density matrix of the last SCF loop in your output file? In particular, the two columns DM (density matrix) and DD (density difference).

+------------------------------------------------------------------------------+
| Density Matrix Report                       DM        DD                     |
+------------------------------------------------------------------------------+
|   0  In   [ -0.000 ,  0.000 ,  0.000 ]    3.52719   0.52719                  |
|   1  As   [  1.520 ,  1.520 ,  1.520 ]    4.47281  -0.52719                  |
+------------------------------------------------------------------------------+
|   3 E = -2.67569 dE =  2.502366e-04 dH =  9.448242e-05                       |
+------------------------------------------------------------------------------+

My first guess is that the charge density has been drained away from the central region due to inappropriate simulation parameters. In this case, the column DM should be 0.0.
Regards,
Daniele

Offline lknife

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: us
  • Reputation: 1
    • View Profile
Re: Is this EDP curve correct?
« Reply #5 on: October 10, 2017, 16:26 »
Looks like your NEGF calculation did not converge. Check the ATK log file.

You are right: I have checked the .log file and the calculation did not converge. Another question: how to make it converge? What parameters should I tune, or I need to modify my device configuration?

Thank you very much for your kind help!

Offline lknife

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: us
  • Reputation: 1
    • View Profile
Re: Is this EDP curve correct?
« Reply #6 on: October 11, 2017, 03:31 »

+------------------------------------------------------------------------------+
| Density Matrix Report                       DM        DD                     |
+------------------------------------------------------------------------------+
|   0  In   [ -0.000 ,  0.000 ,  0.000 ]    3.52719   0.52719                  |
|   1  As   [  1.520 ,  1.520 ,  1.520 ]    4.47281  -0.52719                  |
+------------------------------------------------------------------------------+
|   3 E = -2.67569 dE =  2.502366e-04 dH =  9.448242e-05                       |
+------------------------------------------------------------------------------+

...In this case, the column DM should be 0.0.

Thank you very much for you help! I have a question about the words marked in blue: if DM=0.0, is it correct or incorrect?

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Is this EDP curve correct?
« Reply #7 on: October 11, 2017, 08:10 »
DM means DensityMatrix, so if DM=0.0 there are no valence electrons  on that atomic site, which is almost always very bad and indicates poor SCF convergence. You need to inspect the SCF convergence in order to figure out how to fix it. Perhaps it will converge in 20 more iterations? Perhaps electrons are depleted from the central region - electrode boundaries, in which case you perhaps need to use longer electrodes, etc. It's impossible to give a completely general recipe for this kind of thing.

Offline lknife

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: us
  • Reputation: 1
    • View Profile
Re: Is this EDP curve correct?
« Reply #8 on: October 11, 2017, 14:51 »
Thank you very much for your explanation!

The followings are part of the .log file about the SCF iteration (the full file is too big to be posted here). Could you please have a loot at it to see what's wrong with it?

Thanks a lot again for your kind help!

------------------------------------------------------------

     |--------------------------------------------------|
Calculating Density Matrix : ==================================================
+------------------------------------------------------------------------------+
| Density Matrix Report                         DM     DM[D]      DD        |
+------------------------------------------------------------------------------+
|   0  Te   [  16.799 ,   0.875 ,   0.801 ]    7.29316   7.29194  -1.41489     |
|   1  Te   [  13.695 ,   2.624 ,   1.739 ]    0.11796   0.11840 -15.76363     |
|   2   W   [  15.353 ,   0.875 ,   3.303 ]    6.29553   6.29539  -1.40908     |
|   3  Te   [  17.473 ,   2.624 ,   3.891 ]   -0.09463  -0.09465 -16.18927     |
|   4  Te   [  13.022 ,   0.875 ,   4.836 ]    6.81351   6.81183  -2.37466     |
|   5   W   [  15.142 ,   2.624 ,   5.509 ]    5.36223   5.36642  -3.27135     |
|   6  Te   [  16.799 ,   0.875 ,   7.111 ]    4.26804   4.26763  -7.46433     |
|   7  Te   [  13.695 ,   2.624 ,   8.048 ]    4.52539   4.52769  -6.94692     |
|   8   W   [  15.353 ,   0.875 ,   9.612 ]    9.01083   9.01866   4.02949     |
... ...
|  83   W   [  14.628 ,   2.624 ,  88.339 ]    4.99012   5.02517  -3.98470     |
+------------------------------------------------------------------------------+
| 498 E =  -747.46 dE =  5.595637e+01 dH =  2.538735e+02                       |
+------------------------------------------------------------------------------+

                            |--------------------------------------------------|
Calculating Density Matrix : ==================================================
+------------------------------------------------------------------------------+
| Density Matrix Report                         DM     DM[D]      DD        |
+------------------------------------------------------------------------------+
|   0  Te   [  16.799 ,   0.875 ,   0.801 ]    6.79753   6.84718  -2.35530     |
|   1  Te   [  13.695 ,   2.624 ,   1.739 ]    0.17277   0.17969 -15.64754     |
|   2   W   [  15.353 ,   0.875 ,   3.303 ]    6.41454   6.41024  -1.17522     |
|   3  Te   [  17.473 ,   2.624 ,   3.891 ]   -0.09635  -0.09908 -16.19542     |
|   4  Te   [  13.022 ,   0.875 ,   4.836 ]    6.15977   6.15823  -3.68200     |
|   5   W   [  15.142 ,   2.624 ,   5.509 ]    5.34169   5.33755  -3.32076     |
|   6  Te   [  16.799 ,   0.875 ,   7.111 ]    5.57543   5.56182  -4.86275     |
|   7  Te   [  13.695 ,   2.624 ,   8.048 ]    4.90536   4.89295  -6.20169     |
|   8   W   [  15.353 ,   0.875 ,   9.612 ]    9.02604   9.02771   4.05374     |
... ...
|  83   W   [  14.628 ,   2.624 ,  88.339 ]    2.57530   2.48627  -8.93844     |
+------------------------------------------------------------------------------+
| 499 E = -667.988 dE =  7.947253e+01 dH =  2.527983e+02                       |
+------------------------------------------------------------------------------+
################################################################################
#                                                                              #
# Warning: The calculation did not converge to the requested tolerance!        #
#                                                                              #
################################################################################

« Last Edit: October 11, 2017, 14:57 by lknife »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5565
  • Country: dk
  • Reputation: 93
    • View Profile
    • QuantumATK at Synopsys
Re: Is this EDP curve correct?
« Reply #9 on: October 11, 2017, 16:21 »
What version of ATK is this?

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Is this EDP curve correct?
« Reply #10 on: October 12, 2017, 09:00 »
Perhaps you can also attach the ATK script?

Offline lknife

  • QuantumATK Guru
  • ****
  • Posts: 214
  • Country: us
  • Reputation: 1
    • View Profile
Re: Is this EDP curve correct?
« Reply #11 on: October 12, 2017, 14:18 »
I am using ATK2016.4.

After increasing the k-point sampling from (1 7 50) to (1 9 100) and tuning some parameters such as dampling factor (from 0.1 to 0.3) and history step (from 20 to 12), the EDP curve is now converged. I think the insufficient k-point sampling may be the main reason to the problem.

Thanks a lot to all of you!

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5565
  • Country: dk
  • Reputation: 93
    • View Profile
    • QuantumATK at Synopsys
Re: Is this EDP curve correct?
« Reply #12 on: October 12, 2017, 16:32 »
Esp. in the C direction. It's typically not sufficient to use 50 points, unless you have a very long electrode in the first place.