A micromechanical model to estimate borehole collapse pressure