A test specimen is subjected to a vertical compression. The initial mesh is given in the first plot
A hole is present in the down left corner; this hole triggers a shear band. Symmetry boundary conditions are applied, so that in fact the quarter part of a total test specimen is modeled. After the test specimen is compressed, automatic local mesh refinement is applied; the elements with the highest plastic strains are refined. Then the calculation restarts with the new mesh automatically. This refinement + automatic restart is done three times. The final plot shows the deformed mesh after the three refinements.