Analysis of the critical velocity of a load moving on a beam supported by a finite depth foundation