usage of xdat2pos.pl
Posted: Tue Jun 28, 2016 1:41 pm
I am using xdat2pos.pl to extract certain step's coordinate to new POSCAR file for re-optimization as the structure Deformation is obviously, so I want to restart from the middle configuration which could save the time.
At first, I had to find the certain step's Information in OUTCAR, then find and copy the coordinates, vi POSCAR and paste. It takes a lot of time....
I find the xdat2pos.pl could helpful to extract the certain step's coordinates, but it seems wrong, the attachments is my POSCAR, XDATCAR and POSCAR231.out file. I want to extract the coordinates for step number 231, the command is xdat2pos.pl 1 231, and I got POSCAR231.out file.
Here I paste some lines in the POSCAR231.out, there is an extra line during the file, that is, the second line. And the first line should be the coordinates for the last Atom in POSCAR, the third line is the first Atom's coordinates in POSCAR.
Am I use this script in a wrong way? How can I solve this Problem?
Selective dynamics
Direct
0.7487487600 0.7523415300 0.2878050500 T T T
0.0000000000 0.0000000000 231.0000000000 T T T
0.0754188800 0.0918578900 0.3356459400 T T T
At first, I had to find the certain step's Information in OUTCAR, then find and copy the coordinates, vi POSCAR and paste. It takes a lot of time....
I find the xdat2pos.pl could helpful to extract the certain step's coordinates, but it seems wrong, the attachments is my POSCAR, XDATCAR and POSCAR231.out file. I want to extract the coordinates for step number 231, the command is xdat2pos.pl 1 231, and I got POSCAR231.out file.
Here I paste some lines in the POSCAR231.out, there is an extra line during the file, that is, the second line. And the first line should be the coordinates for the last Atom in POSCAR, the third line is the first Atom's coordinates in POSCAR.
Am I use this script in a wrong way? How can I solve this Problem?
Selective dynamics
Direct
0.7487487600 0.7523415300 0.2878050500 T T T
0.0000000000 0.0000000000 231.0000000000 T T T
0.0754188800 0.0918578900 0.3356459400 T T T