Modelling the behaviour of composite soil-piles via homogenisation techniques: theoretical approach and practical applications