Studies show that the sample thickness is an important parameter in investigating the thermal transport properties of materials under high-temperature and high-pressure (HTHP) in the diamond anvil cell (DAC) device. However, it is an enormous challenge to measure the sample thickness accurately in the DAC under severe working conditions. In conventional methods, the influence of diamond anvil deformation on the measuring accuracy is ignored. For a high-temperature anvil, the mechanical state of the diamond anvil becomes complex and is different from that under the static condition. At high temperature, the deformation of anvil and sample would be aggravated. In the present study, the finite volume method is applied to simulate the heat transfer mechanism of stable heating DAC through coupling three radiative-conductive heat transfer mechanisms in a high-pressure environment. When the temperature field of the main components is known in DAC, the thermal stress field can be analyzed numerically by the finite element method. The obtained results show that the deformation of anvil will lead to the obvious radial gradient distribution of the sample thickness. If the top and bottom surfaces of the sample are approximated to be flat, it will be fatal to the study of the heat transport properties of the material. Therefore, we study the temperature distribution and thermal conductivity of the sample in the DAC by thermal-solid coupling method under high pressure and stable heating condition.