Semianalytical solutions for release of fluids from rock matrix blocks with different shapes, sizes, and depletion regimes