Elastoplastic Modeling for Soft Rocks and Ceramics in the Ductile Regime