Computational modeling of protein conformational changes-Application to the opening SARS-CoV-2 spike