The structure of metallic materials has a significant impact on their properties. One of the most popular methods to form the properties of metal alloys is heat treatment, which uses thermally activated transformations that take place in metals to achieve the required mechanical or physicochemical properties. The phase transformation in steel results from the fact that one state becomes less durable than the other due to a change in conditions, for example, temperature. Phase transformations are an extensive field of research that is developing very dynamically both in the sphere of experimental and model research. The objective of this paper is the development of a 3D heat flow model to model heat transfer during diffusional phase transformations in carbon steels. This model considers the two main factors that influence the transformation: the temperature and the enthalpy of transformation. The proposed model is based on the lattice Boltzmann method (LBM) and uses CUDA parallel computations. The developed heat flow model is directly related to the microstructure evolution model, which is based on frontal cellular automata (FCA). This paper briefly presents information on the FCA, LBM, CUDA, and diffusional phase transformation in carbon steels. The structures of the 3D model of heat flow and their connection with the microstructure evolution model as well as the algorithm for simulation of heat transfer with consideration of the enthalpy of transformation are shown. Examples of simulation results of the growth of the new phase that are determined by the overheating/overcooling and different model parameters in the selected planes of the 3D calculation domain are also presented.