Researchers developed a mathematical model that allows for anticipating the failure of dikes that hold in overflowing river water.