orex / supercell

The program allows you to create regular structure supercell from cif file with partial occupancy and/or substitutions.
GNU General Public License v2.0
91 stars 56 forks source link

Equivalent postion tolerance #59

Closed ColinHF closed 1 year ago

ColinHF commented 1 year ago

How does the tolerance option work becuase I think it's not what I initially thought it did. For my system, I have a cif file that has no symmetry operations. But that's only because the coordinates of the atoms have many decimal points. If you rounded to the third decimal place, that would start to be symmetry again. I work with AIMD, so atoms move around. So a few hundredths of an angstrom difference is the same from a chemistry point of view. Is there an option within supercell that can force equivalent positions based on a tolerance? Thanks for the help

orex commented 1 year ago

Yes. The tolerance option is -t the default value is 0.75 Angstrom which should me more than enough for your case.

ColinHF commented 1 year ago

When I try to introduce one oxygen vacancy, it says there are no equivalent crystal structures. But just visually looking at the cif file. Atoms 153 and 93 appear to be equivalent, so there should be equivalent crystal structures with one vacancy. 2x2x2-CaMnFe2O3_i000_w64.txt

orex commented 1 year ago

Please write in details: a goal, input file, program options and picture of structure.

ColinHF commented 1 year ago

Goal: I would like to have multiple crystal structures with one oxygen vacancy site. Then I can run energy calculations to see how it changes with respect the distance of two iron atoms Input File: 2x2x2-CaMnFe2O3_i000_w64.txt (Its actually a cif but github wont let me upload it) Program: supercell -d -i 2x2x2-CaMnFe2O3_i000_w64.cif -s 1x1x1 -p "O:p=95" Response: Total combinations: 96 Toal combinations after merge: 96

Problem: This should be less than 96 since atoms 153 and 93 and the same. Its hard to see in the picture, but if you open the input file in VESTA you'll see that this two oxygen should be the same Screen Shot 2023-02-16 at 7 34 09 PM

Really the problem is since the atoms tilt such a little bit the symmetry cant be enforce, but there should be a way that I can force the symmtry

orex commented 1 year ago

If two atoms are the same, that does not mean that the cell has symmetry. Check the structure with another tool for crystallographic symmetry and attach the result.