A Geomechanical Wellbore Stability Assessment for Different Formations in Petroleum Fields