Author Topic: Export geometries to VASP  (Read 15205 times)

0 Members and 1 Guest are viewing this topic.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Export geometries to VASP
« on: April 22, 2010, 15:26 »
As a follow-up to my VASP importer, I would like to share with the community a VASP exporter.

Update: Scroll down to the last post in this thread to download the latest version of the script.
It's really simple to use: drop the attached file on the "Custom" builder icon in VNL2010.02, then drop your geometry (must be a bulk configuration) on the drop zone, and the resulting POSCAR data will be written in the Log panel.

The first line (the comment line) contains the element ordering; use this to create your POTCAR file (which for obvious reasons VNL cannot generate).

Thus, now you can build a very complex system, using the nice GUI tools in VNL, and then export the geometry to run it with VASP! (Of course, we'd prefer that you would run the system with ATK, but we understand why VASP is useful too ;) )

As always, feedback is very welcome! Would you like an option to write Cartesian coordinates (right now it writes only "direct")? Other features?
« Last Edit: November 5, 2010, 12:24 by Anders Blom »

Offline gellen

  • Regular QuantumATK user
  • **
  • Posts: 7
  • Reputation: 0
    • View Profile
Re: Export geometries to VASP
« Reply #1 on: June 7, 2010, 16:43 »
Thank you for your script. It will be perfect if you also give out an option to write poscar in Cartesian coordinates ^_^

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Export geometries to VASP
« Reply #2 on: June 7, 2010, 23:13 »
Like this? :)

I also corrected a minor mistake in the original version; the keyword "text" for configurations is new, it is not supported in the publicly available version 2010.02, but it will be supported in the next release.
« Last Edit: November 5, 2010, 12:23 by Anders Blom »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5575
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Export geometries to VASP
« Reply #3 on: November 5, 2010, 12:23 »
Here is an updated version of the VASP exporter, with some corrections (earlier versions would sometimes get the element count line wrong).