Prediction of Temperature Distribution in Concrete under Variable Environmental Factors through a Three-Dimensional Heat Transfer Model