Hi All,
I have a question regarding rotating a group of atoms incrementally and doing minimization after each incremental rotation.
So I have a, say, 20nm long (z=0 to z=20nm) nanowire and I want to simulate bending by rotating atoms from z=0 to z=1nm counter clockwise and atoms from z=19 to z=20 clockwise (looking at the front view of a nanowire extending from left to right); bottom to top is y direction and front to back (into page) is x direction. Atoms are rotated on yz plane ( bottom to top and left to right plane) so that x position does not change with rotation. Here is my attempt to convey the information thorough pictures!
Nanowire before rotation: