Duality Theory and Optimal transport for sand piles growing in a silos.