A simulation study of forced reconnection processes and magnetospheric storms and substorms