Computational modeling in geomechanics