I have tried to do a scan (TD-DFT) of the dihedral angle of the double bond with CAM-B3LYP functional in the ground state and the job is getting terminated after some steps. The hydrogen at the double bond is not moving with the dihedral angle and at a later stage, the structure is getting distorted and thus being terminated. What excatly can I do to study this cis trans isomerization of the double bond ???