I am having trouble describing partial occupancy in the input file. One of the site is occupied by two atoms with (50% occupancy). when I generate input file, the other atom is getting ignored. how to describe this in the input file?
A single atom having two different chemical species in the same location obviously makes no physical sense. Hence, you need to create a supercell consisting of 2 unit cells, one of which has the first atom-type in the specified position and the other unit cell has the second atom-type in the symmetrically equivalent position. However, this is still an approximation because in nature the crystal's occupancy is typically random (50% of the time atom-type 1 and 50% atom-type 2) but in the simulation case, due to periodic boundaries, it is switching between atom-type 1 and atom-type 2 in an alternating fashion (ABABAB... instead of random). Another artifact of this is that you get "sheets" of unit cells with only atom-type 1 followed by sheets of unit cells with only atom-type 2. This is because you doubled the unit cell in one crystalline direction but not in the other two directions.