QuantumWise Forum
June 20, 2013, 13:07 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Reusing same electrodes:  (Read 791 times)
0 Members and 1 Guest are viewing this topic.
Sarvesh Agarwal
Heavy ATK user
***

Reputation: 0
Offline Offline

India India

Posts: 60


View Profile
« on: July 16, 2012, 14:02 »

Hi,
    I am doing the tutorial " Reuse the same electrode for many different calculations " (http://www.quantumwise.com/publications/tutorials/mini-tutorials) I have created succesully the (left_electrode.nc) and (right_electrode.nc), however when I am using (device.py) for simulation , it is not bypassing the electrode calculation. I am attaching the script , if anyone can correct the code.
Logged
Nordland
QuantumWise Staff
Supreme ATK Wizard
*****

Reputation: 14
Offline Offline

Posts: 731



View Profile
« Reply #1 on: July 16, 2012, 15:46 »

I just confirmed that the functionality works, but in your case I can't see what the problem is,
but I have an idea what might be the problem.

Are you sure that the first configuration is your file has a self-consistent calculation on it?
Try using the [1] instead of [0] on the two first lines.
« Last Edit: July 17, 2012, 11:06 by Anders Blom » Logged
Sarvesh Agarwal
Heavy ATK user
***

Reputation: 0
Offline Offline

India India

Posts: 60


View Profile
« Reply #2 on: July 17, 2012, 06:46 »

Thanks for reply.I am attaching two file , Plz comment on them
1.  (electrode_left_right.py)
2.(Au_Benzene_AU_IV.py)the full calculation as we normally do with some representative central region. I have used this one to create my (device.py) and (electrode_left_right.py)
Logged
Nordland
QuantumWise Staff
Supreme ATK Wizard
*****

Reputation: 14
Offline Offline

Posts: 731



View Profile
« Reply #3 on: July 17, 2012, 08:17 »

Did you forget to attach them?
Logged
Anders Blom
QuantumWise Staff
Supreme ATK Wizard
*****

Reputation: 37
Offline Offline

Denmark Denmark

Posts: 2864



View Profile WWW
« Reply #4 on: July 17, 2012, 11:06 »

I corrected a formatting issue with Nordland's post (if you want [0], or [i], you need to wrap it in [nobbc]...[/nobbc] tags, because these tags have their own meaning in BB code).

I also think his suggestion is the correct one. When a device script is generated in VNL, it saves both the non-selfconsistent state (i.e. just the geometry) and the full calculation, when completed, into the NetCDF file. So, you will actually have 2 DeviceConfigurations in the file, and using [0] picks up the first one, the non-selfconsistent one, so you should use [1]. At least that's easy to try, if you still have problems let us know.
« Last Edit: July 17, 2012, 11:08 by Anders Blom » Logged
Sarvesh Agarwal
Heavy ATK user
***

Reputation: 0
Offline Offline

India India

Posts: 60


View Profile
« Reply #5 on: July 17, 2012, 11:56 »

Sorry, I forgot to attach scripts.
I have tried [1] in first two lines instead
  • , however got the error attached.
Now, I have attached
1.  (electrode_left_right.py)
2.(Au_Benzene_AU_IV.py)the full calculation as we normally do with some representative central region. I have used this one to create my (device.py) and (electrode_left_right.py)
3.Error.png, when tried [1] instead
  • .
Logged
Nordland
QuantumWise Staff
Supreme ATK Wizard
*****

Reputation: 14
Offline Offline

Posts: 731



View Profile
« Reply #6 on: July 17, 2012, 13:29 »

I have modified your script to reuse the electrodes.

Logged
Sarvesh Agarwal
Heavy ATK user
***

Reputation: 0
Offline Offline

India India

Posts: 60


View Profile
« Reply #7 on: July 17, 2012, 14:12 »

Thank you very much for the reply
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!