Text this: Automatic tuning of iterative pseudo-transient solvers for modeling the deformation of heterogeneous media