Author Topic: Import/visualize VASP geometries in VNL 2010.02  (Read 24307 times)

0 Members and 1 Guest are viewing this topic.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5394
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Import/visualize VASP geometries in VNL 2010.02
« on: April 16, 2010, 14:25 »
I have written a small utility that allows you to import VASP geometries to use, or just visualize, in VNL 2010.02.

To use it, drop the attached script on the Custom builder icon in VNL 2010.02. Then, drop your POSCAR/CONTCAR file on the drop zone that says "Drop file here". That's it, really - you should see the structure in the 3D window!

You can then transfer the structure further to the Bulk Builder to modify it, or the Scripter to perform a calculation on it, all using the blue "Send To" arrow in the lower right-hand corner.

Notes:
  • The importer will not attempt to read any comments in POSCAR to figure out the elements. Instead, it relies on a valid POTCAR or OUTCAR file residing in the same directory as the file you dropped.
  • It works fine even if your POTCAR/OUTCAR file is zipped (bz2, gzip, zip).
  • The script is written for VASP 5.x, I'm not sure if it will work with older versions.
  • It will not attempt to read any information about constraints, and if you use Selective Dynamics mode, it will only read the first structure.

If you have a POSCAR file that doesn't work, let us know. We plan to support proper import of VASP input files in VNL soon, so it will be good to test the code.
« Last Edit: August 17, 2010, 13:19 by Anders Blom »

Offline zdhlover

  • Global Moderator
  • QuantumATK Guru
  • *****
  • Posts: 106
  • Reputation: 2
    • View Profile
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #1 on: April 18, 2010, 04:07 »
 ;D ;D ;D

Beautiful work, it's very useful !
 Thanks a lot !

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5394
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #2 on: April 22, 2010, 15:27 »
There is now also a VASP exporter for VNL :)

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5394
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #3 on: August 17, 2010, 13:21 »
Latest news:

  • Updated the script, there was a mistake in the reading of Cartesian coordinates, if the POSCAR file uses such.
  • Support for importing VASP files directly will be included in the next major release of ATK (11.2).

Offline broadcome

  • Regular QuantumATK user
  • **
  • Posts: 9
  • Country: kr
  • Reputation: 0
    • View Profile
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #4 on: July 29, 2011, 10:41 »
It does not work.
May be, becase of ATK version difference (11.2)
woo....

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5394
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #5 on: July 29, 2011, 11:07 »
In version 11.2 you can actually import POSCAR files directly, you would just drop them directly on the Viewer or Builder. The script still works, however, i.e. there are no errors when you just drop it on the "Custom" icon, I trust that is the same for you?

So more likely there is some minor aspect of your POSCAR file that we haven't considered.

Do you have the POTCAR file in the same directory? This is required, otherwise there is no way to determine the element names, since these are not in the POSCAR, except perhaps as optional comments, but we don't want to rely on that in the import filter.

To troubleshoot further we need more details, however. You can email the POSCAR file to me privately if you don't want to share it here. Also, it would help to know if there are any error messages?

Offline RegJaden

  • New QuantumATK user
  • *
  • Posts: 1
  • Country: gb
  • Reputation: 0
    • View Profile
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #6 on: September 29, 2014, 11:26 »
It does not work.
May be, becase of ATK version difference (11.2)
woo....
In version 11.2 you can actually import POSCAR files directly, would you try the https://donkeybets.com/my-zcode-system-review ZCode system and let me know if it works? You would just drop them directly on the Viewer or Builder. The script still works, however, i.e. there are no errors when you just drop it on the "Custom" icon, I trust that is the same for you?

So more likely there is some minor aspect of your POSCAR file that we haven't considered.

Do you have the POTCAR file in the same directory? This is required, otherwise there is no way to determine the element names, since these are not in the POSCAR, except perhaps as optional comments, but we don't want to rely on that in the import filter.

To troubleshoot further we need more details, however. You can email the POSCAR file to me privately if you don't want to share it here. Also, it would help to know if there are any error messages?

I didn't work for me either. I wanted to use this as well.
« Last Edit: August 29, 2016, 14:27 by RegJaden »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5394
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #7 on: September 29, 2014, 11:30 »
In which version? VNL 2014, now available on the website, has extensive VASP support, both to generate POSCAR files but also read output results from VASP, like CHGCAR etc. See http://quantumwise.com/publications/tutorials/itemlist/category/47-vnl-for-vasp

Offline Victoria

  • New QuantumATK user
  • *
  • Posts: 1
  • Country: us
  • Reputation: 0
    • View Profile
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #8 on: November 14, 2017, 23:00 »
I have written a small utility that allows you to import VASP geometries to use, or just visualize, in VNL 2010.02.

To use it, drop the attached script on the Custom builder icon in VNL 2010.02. Then, drop your POSCAR/CONTCAR file on the drop zone that says "Drop file here". That's it, really - you should see the structure in the 3D window!

You can then transfer the structure further to the best bulking steroids https://legalsteroids.best Bulk Builder to modify it, or the Scripter to perform a calculation on it, all using the blue "Send To" arrow in the lower right-hand corner.

Notes:
  • The importer will not attempt to read any comments in POSCAR to figure out the elements. Instead, it relies on a valid POTCAR or OUTCAR file residing in the same directory as the file you dropped.
  • It works fine even if your POTCAR/OUTCAR file is zipped (bz2, gzip, zip).
  • The script is written for VASP 5.x, I'm not sure if it will work with older versions.
  • It will not attempt to read any information about constraints, and if you use Selective Dynamics mode, it will only read the first structure.

If you have a POSCAR file that doesn't work, let us know. We plan to support proper import of VASP input files in VNL soon, so it will be good to test the code.

I also very much appreciated your efficient and excellent work
« Last Edit: November 15, 2017, 18:54 by Victoria »

Offline lucileburt

  • New QuantumATK user
  • *
  • Posts: 1
  • Country: as
  • Reputation: 0
    • View Profile
Re: Import/visualize VASP geometries in VNL 2010.02
« Reply #9 on: November 22, 2017, 18:50 »
I have written a small utility that allows you to import VASP geometries to use, or just visualize, in VNL 2010.02.

To use it, drop the attached script on the Custom builder icon in VNL 2010.02. SizeGenetics Review - Here's My 2018 SizeGenetics Results Then, drop your POSCAR/CONTCAR file on the drop zone that says "Drop file here". That's it, really - you should see the structure in the 3D window!

You can then transfer the structure further to the Bulk Builder to modify it, or the Scripter to perform a calculation on it, all using the blue "Send To" arrow in the lower right-hand corner.

Notes:
  • The importer will not attempt to read any comments in POSCAR to figure out the elements. Instead, it relies on a valid POTCAR or OUTCAR file residing in the same directory as the file you dropped.
  • It works fine even if your POTCAR/OUTCAR file is zipped (bz2, gzip, zip).
  • The script is written for VASP 5.x, I'm not sure if it will work with older versions.
  • It will not attempt to read any information about constraints, and if you use Selective Dynamics mode, it will only read the first structure.

If you have a POSCAR file that doesn't work, let us know. We plan to support proper import of VASP input files in VNL soon, so it will be good to test the code.

I really appreciate your work and indeed. excellent work
« Last Edit: January 3, 2018, 21:47 by lucileburt »