A Local Design Method for Pile Foundations