Torsion angle for ring structure

Can any one tell me how to vary torsion angle (the bonds need to rotate are in blue color in the attached image) of the ring structure?. Thank you