Geomechanical analysis of river embankments