Theoretical and Numerical Investigation of the Cavity Evolution in Gypsum Rock