This paper adds a temperature field based on the Shan–Chen model and constructs a new model. The two-phase separation, fluid flow, and heat transfer characteristics under the temperature field were studied by using this model. The performance of the three processes of collision, interface opening, and coalescence experienced by droplet formation was analyzed in detail. The results show that the velocity and temperature on the liquid film of the droplet are symmetric with respect to the central position of the liquid film. Moreover, the droplet velocity is also symmetric about the center of the droplet, which provides a theoretical basis for the droplet to maintain stability. By changing the wall temperature difference, the temperature distribution formula in the square cavity is proposed, which is highly consistent with the simulated value, and the maximum error is 10.1%. The proposed new model makes a meaningful supplement to the improvement of two-phase separation. [ABSTRACT FROM AUTHOR]