Analysis of settlements of shallow foundations on sand