Application of a Hydraulic Gradient Technique for Modeling the Uplift Behavior of Piles in Sand