Hi Monu,
thanks for following up - I did run a CP2K cell optimization starting from your relaxed "twisted" CP2K geometry. You find the trajectory and movie attached
Does this agree with your results?
It certainly seems to "untwist" the ligands (see movie) - I had to stop the optimization at some point though because convergence became very slow.
Some stats from the total energy:
First total energy (single-point): -2160.041714658635101
First optimization step: -2160.136731180092738
100th optimization step: -2160.2996248085
I.e. after the first "untwisting" that lowers total energy by ~260mHa (quite significant), the final 50 steps lower the total energy by less than 3 mHa.
This is with cp2k 8.1 [2] and with minimal modifications to the input file (see tar file). It's not clear to me why you would get a different result - both MULTIPLE_UNIT_CELL 1 1 2 and 2 2 2 K-points should give this result.
As to why the CASTEP gamma point calculation does not yield the twisted structure: it is possible that this involves breaking a symmetry that is for some reason preserved in the CASTEP calculation (don't know).
Can you try starting your CASTEP calculation from the twisted CP2K geometry and see where it ends up?
If it remains twisted, you can then compare total energies to the untwisted result, which should tell you which one is the actual minimum.
Best,
Leo
[2] Our previous calculations were with cp2k v5.1 though.