Behavior of Geothermal Energy Piles Embedded in Rock