Author Topic: "PeriodicAtomConfiguration" error  (Read 2373 times)

0 Members and 1 Guest are viewing this topic.

Offline J.g_johnson

  • Heavy QuantumATK user
  • ***
  • Posts: 35
  • Country: cn
  • Reputation: 0
    • View Profile
"PeriodicAtomConfiguration" error
« on: February 19, 2014, 08:09 »
Dear all,
I had constructed a two probe configuration-[Au electrode-Molecule-Au electrode] by using VNL 2008.10. Now I want to use VNL 13.8.0 to run the script. But there`re always error existing. I don`t know how to adjust my code to VNL13.8.0. The attachment is the code.

Offline Umberto Martinez

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 479
  • Country: dk
  • Reputation: 26
    • View Profile
Re: "PeriodicAtomConfiguration" error
« Reply #1 on: February 19, 2014, 09:36 »
You can import old scripts form VNL 2008 if you include these two lines at the beginning of your script (the new version will check for these two lines and recognize the file format):
Code
from ATK.KohnSham import *
from ATK.TwoProbe import *
Drag and Drop your file directly from the Project Files list to the Builder or Viewer. You will see that it still not properly imported due to some particular keywords that are present in your script. Still, you are able extract the three regions (device+electrodes) from the builder using the Split device tool, play around a bit and reconstruct your device. :) Please, check the attachment. Another solution is to simply open you old script and adapt your old TwoProbeConfiguration to the new DeviceConfiguration class following the Manual http://www.quantumwise.com/documents/manuals/latest/ReferenceManual/index.html/ref.deviceconfiguration.html

Offline J.g_johnson

  • Heavy QuantumATK user
  • ***
  • Posts: 35
  • Country: cn
  • Reputation: 0
    • View Profile
Re: "PeriodicAtomConfiguration" error
« Reply #2 on: February 20, 2014, 03:07 »
Thank you, Mr. Martinez. That really helps a lot! But there is still some questions including sensitive aspects. Can I send my message to you by email,  Mr. Martinez?

Offline J.g_johnson

  • Heavy QuantumATK user
  • ***
  • Posts: 35
  • Country: cn
  • Reputation: 0
    • View Profile
Re: "PeriodicAtomConfiguration" error
« Reply #3 on: February 20, 2014, 08:24 »
In the VNL 13.8, Is it still necessary to set these following parameters when I use a "New Calculator"?
    type = DoubleZetaPolarized,
    radial_sampling_dr = 0.001*Bohr,
    energy_shift = 0.01*Rydberg,
    delta_rinn = 0.8,
    v0 = 40.0*Rydberg,
    charge = 0.0,
    split_norm = 0.15
They are the "basis set" parameters in VNL2008. I am not sure whether they are still the same default value in VNL13.8.

Offline Umberto Martinez

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 479
  • Country: dk
  • Reputation: 26
    • View Profile
Re: "PeriodicAtomConfiguration" error
« Reply #4 on: February 20, 2014, 09:05 »
In the VNL 13.8, Is it still necessary to set these following parameters when I use a "New Calculator"?
    type = DoubleZetaPolarized,
    radial_sampling_dr = 0.001*Bohr,
    energy_shift = 0.01*Rydberg,
    delta_rinn = 0.8,
    v0 = 40.0*Rydberg,
    charge = 0.0,
    split_norm = 0.15
They are the "basis set" parameters in VNL2008. I am not sure whether they are still the same default value in VNL13.8.

You can see all the available parameters and the default values used in the new version in the new Manual.
In particular, check:
http://quantumwise.com/documents/manuals/latest/ReferenceManual/index.html/ref.lcaocalculator.html
http://quantumwise.com/documents/manuals/latest/ReferenceManual/index.html/ref.basisset.html
and the specific links therein.
« Last Edit: February 20, 2014, 09:29 by Umberto Martinez »