Modeling complex intramolecular processes using constrained molecular dynamics