Author Topic: a convergence problem  (Read 3426 times)

0 Members and 1 Guest are viewing this topic.

Offline tigeryzz

  • Heavy QuantumATK user
  • ***
  • Posts: 34
  • Reputation: 0
    • View Profile
a convergence problem
« on: April 22, 2009, 03:14 »
I have build a two probe system of CNT(10,0) by myself. but it converged by the follow:
sc 2 : q=-3.74e
sc 3 : q=-6.64e
sc 4 : q=-3.92e
……
I think it is not correct!
but how to deal with it ?
my script has attached .
« Last Edit: April 22, 2009, 03:56 by tigeryzz »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: a convergence problem
« Reply #1 on: April 22, 2009, 09:37 »
Could you attach the complete output log, please? Which version of ATK was used?

Also, are you running this script in parallel or just on a single machine?

« Last Edit: April 22, 2009, 09:39 by Anders Blom »

Offline tigeryzz

  • Heavy QuantumATK user
  • ***
  • Posts: 34
  • Reputation: 0
    • View Profile
Re: a convergence problem
« Reply #2 on: April 22, 2009, 10:03 »
I use v2008.10. and the output log has attached now.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: a convergence problem
« Reply #3 on: April 22, 2009, 10:15 »
Ok, the evidence for problematic behavior is already evident from the equivalent bulk part. While the total energy converges (barely, and in very many steps), the density matrix actually does not converge! Thus, your first goal is to stabilize the equivalent bulk run, or, as an alternative strategy, skip it completly and go directly to the two-probe calculation. For this, change line 376 in the input file to
Code
    initial_density_type = InitialDensityType.NeutralAtom
However, the real reason for the instability of the equivalent bulk run is most likely because the electrodes are too short. I would make them twice at long. At the same time, you probably do not need such a long central region, so you can keep the total size of the system fixed by removing 2 periods in the central part. For safety, I would also increase the size of the XY unit cell to 25-30 Angstrom instead of the current 18. This doesn't really influence the stability, but it might leads to some inaccuracies in the results in the end. Further steps towards better convergence would include reducing the mixing parameter (probably not necessary) and increasing the temperature to perhaps 1000 Kelvin. But try to just increase the electrodes and the XY cell, and just rerun with current parameters as a first attempt. If that works, there's no reason to worry about the other things!

Offline tigeryzz

  • Heavy QuantumATK user
  • ***
  • Posts: 34
  • Reputation: 0
    • View Profile
Re: a convergence problem
« Reply #4 on: April 22, 2009, 10:42 »
Thank you very much!
I'll try it soon.