how to convert the xyz file to cif

22 views
Skip to first unread message

Uzma Sattar

unread,
Oct 14, 2025, 12:50:05 AM (yesterday) Oct 14
to cp2k
Dear cp2k team.
i optimized the structure using the xtb method and log file is in xyz format.i cannot convert it into cif file or crystal structure.please help me to do that ,the strucutre file is attached.
cp2k-pos-1.xyz

Alex Espinoza

unread,
Oct 14, 2025, 9:20:44 AM (18 hours ago) Oct 14
to cp...@googlegroups.com
I used Vesta. I uploaded and did File > Export data > CIF. Hope this helps

On Tue, Oct 14, 2025 at 12:50 AM Uzma Sattar <uzmasa...@gmail.com> wrote:
Dear cp2k team.
i optimized the structure using the xtb method and log file is in xyz format.i cannot convert it into cif file or crystal structure.please help me to do that ,the strucutre file is attached.

--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/dc5629fd-3ed9-4015-8e3c-fb9be4d95f06n%40googlegroups.com.
xyztocif.cif

Uzma Sattar

unread,
Oct 14, 2025, 9:39:14 AM (18 hours ago) Oct 14
to cp2k
Thankyou for your response. But you see there the structure exist at the center of the cell.it does not touch the boundary of the cell and when i built supercell from this unit cell no bonds formed between the unit cells.please let me help to resolve this issue.Thankyou

Alex Espinoza

unread,
12:13 AM (3 hours ago) 12:13 AM
to cp2k
You can try translating in VESTA. After trial and error, I changed the lattice parameters ABC to 2:2:2 and it seems to touch the boundary. I did this by going Edit > Edit Data > Unit Cell > changing a,b, and c. Just make sure to remove the bonds, or VESTA may crash. You could also change ABC in cp2k input files. Is the goal to make this periodic?

Uzma Sattar

unread,
2:15 AM (1 hour ago) 2:15 AM
to cp...@googlegroups.com
Yes need to make this structure periodic. 


Reply all
Reply to author
Forward
0 new messages