13
$\begingroup$

I am using VASP package to model a material that has fractional site occupancies. An appropriate supercell (cif) was generated using supercell package and converted to POSCAR using VESTA. Then the structural relaxation was performed. Now I have the relaxed structure (CONTCAR) and I want to analyze its space group.

I tried pymatgen, but it doesn't seem to be working for fractional site occupant materials, because the original POSCAR structure is Pm-3m, however is identified as P4/mmm by pymatgen.

Is there any other tool I can use to analyze such structures?

$\endgroup$
5
  • 1
    $\begingroup$ I was desperately looking for materials modelling Q&A site and finally here we are. Hope it will help a lot! $\endgroup$ Jun 11, 2020 at 19:52
  • 1
    $\begingroup$ I'm very happy that you found us. I've been trying to recruit people since 9 months ago and it would have been nice if I managed to reach you back then. I also tried to make a site like this (though different) in 2018, but StackExchange rejected the proposal. How did you find us? Which Hot-Network-Question? We are only 1 month old so this is the best time to get involved! $\endgroup$ Jun 11, 2020 at 19:56
  • 1
    $\begingroup$ I was actually on StackExchange Chemistry and saw a hot-network-question (I don't exactly remember). Always reluctant to ask materials questions on chemistry site. I hope this site will attract many experts too. $\endgroup$ Jun 11, 2020 at 20:12
  • $\begingroup$ Was it this one, or something else? $\endgroup$ Jun 11, 2020 at 20:16
  • 1
    $\begingroup$ I definitely recall this question. Probably it was the one I saw. $\endgroup$ Jun 11, 2020 at 20:21

4 Answers 4

10
$\begingroup$

ASE

The ASE python package can find the space group of a structure using the get_spacegroup function as follows.

import ase.io as io
from ase.spacegroup import get_spacegroup

structure = io.read('path/to/POSCAR')
sp = get_spacegroup(structure,symprec=1e-5)
print(sp)

I am not sure as to whether it can deal with fractional occupancies, but it seems it can from the source of the Spacegroup class.

$\endgroup$
3
  • 1
    $\begingroup$ Thanks. This module can deal with fractional site occupancies (handling cif, POSCAR etc,, whereas pymatgen just gives an error). However, I had to do a small workaround to get the space group. $\endgroup$ Jun 12, 2020 at 15:30
  • $\begingroup$ @AchinthaIhalage It would be helpful for future visitors if you could edit the workaround into the answer and I can accept the edit. Or ofcourse you can write another answer :). $\endgroup$ Jun 13, 2020 at 1:38
  • 1
    $\begingroup$ It was nothing major. I was focused on one fractional site occupant material. It's space group was correctly identified by ASE using the cif file as it is, I guess it will work for other materials too. But when I created a supercell POSCAR, the identified space group was wrong, so I had to convert it back to cif to get the correct space group. And I'm not sure if this dirty workaround works for other materials. $\endgroup$ Jun 14, 2020 at 9:16
9
$\begingroup$

spg-lib

Another light-weight option is the spg-lib by Atsushi Togo and Isao Tanaka described here with multiple interfaces that can be found here.

Especially, the tolerance parameters for the detection of symmetries are quite handy.

$\endgroup$
5
$\begingroup$

Bilbao Crystallographic Server

You can take a look at the Bilbao Crystallographic Server.

It has several tools for symmetry and structure analysis in the Solid State Theory Applications section.

$\endgroup$
3
$\begingroup$

FINDSYM

Another useful tool to determine crystal symmetry is FINDSYM. It works with the .cif format exclusively, so you may have to convert your structural files to .cif before using it.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .