During construction works, it is advisable to prevent strong thawing and an increase in the moisture content of the foundations of engineering structures in the summer. Since the density of water and ice differ, due to the difference bulging of the foundation sections can occur when it freezes back in winter. In this work, the effect of fiber-reinforced piles on the thermal field of the surrounding soil is investigated numerically; that is, the study of the influence of aggregates with high and low thermal-physical properties on the temperature of frozen soils is conducted. Basalt and steel fiber reinforcement are compared. The difficulty of this work is that the inclusions inside piles are too small compared to the pile itself. Therefore, to solve the Stefan problem, a generalized multiscale finite element method (GMsFEM) was used. In the GMsFEM, the usual conforming partition of the domain into a coarse grid was used. It allowed reducing problem size and, consequently, accelerating the calculations. Results of the multiscale solution were compared with fine-scale solution, the accuracy of GMsFEM was investigated, and the optimal solution parameters were defined. Therefore, GMsFEM was shown to be well suited for the designated task. Collation of basalt and steel fiber reinforcement showed a beneficial effect of high thermal conductive material inclusion on freezing of piles in winter.