Ancient buildings are an important part of the world's historical and cultural heritage, which are an important carrier for inheriting national traditional culture and promoting cultural exchanges among nations and cannot be restored once they are damaged [
1]. Nowadays, the protection of cultural relics and ancient buildings is getting more and more attention. "Preserve the original appearance" is the basic principle for the protection of ancient buildings, so higher requirements for the technology of protection and restoration of ancient buildings have been proposed. With the advancement of technology, the conservation and repair of ancient buildings have gradually incorporated modern simulation and digital means from a purely manual approach [
2,
3] to seek the root mechanism of problem-solving.
To better preserve its original appearance and historical value, revitalize the social value of ancient buildings, and enhance the comfort of visitors, many researchers have been conducting various explorations in recent years [
4,
5,
6,
7]. For example, ancient building wall repair work and ancient architecture of digital protection, etc. The typical problems of ancient building damage are the degradation of the anti-corrosion paint surface and the moldy wood structure. It was found that the deterioration and mold problems of ancient buildings are influenced by the coupling of multiple factors such as the thermal and humid environment around the building, air flow, underground soil moisture, and the building envelope, etc [
8,
9,
10]. Exploring the patterns of influence of different factors on the deterioration of ancient buildings is an important prerequisite for taking effective conservation measures. At present, numerical simulation methods investigating the effects of airflow, envelope structure, soil, precipitation and other factors on the heat and moisture migration of ancient buildings is a low-cost and high-efficiency way to grasp the influence law and degree of ancient building damage and can put forward effective protection schemes for the problems such as damp and mold. Therefore, it is especially important to carry out more in-depth research and analysis based on numerical simulation methods for ancient buildings and propose reasonable conservation plans. Hong et al. [
11] used the software CFD to study the indoor wet environment and linearly fitted the factors affecting humidity, and concluded that the predicted humidity distribution was in good agreement with the experiment. Liu [
12] focused on and studied the insulation technology of ancient buildings in the Amu River basin, using AIRPAK software to simulate and analyze the indoor temperature of ancient buildings and explore the effect of active heating measures, the results showed that with a cross-section of the building height average temperature rise gradually, residential buildings adaptation to cold climate gradually enhanced. Teodosiu et al. [
13] investigated numerical models for assessing thermal comfort, and developed CFD numerical models for airflow modeling and humidity modeling of indoor air, then analyzed and demonstrated the good potential for correctly estimating the indoor environment under stable and uniform thermal conditions. Bi et al. [
14] conducted an experimental and numerical analysis of the moisture and heat transfer in the cave walls of the Mogao Caves using a comparison of simulation results with experimental temperature and relative humidity values, finding that temperature changes may lead to condensation of moisture in the air, and the application of the one-dimensional model to simulate the cave wall has limitations. Balocco et al. [
15] adopted CFD software to carry out a three-dimensional transient simulation of the natural ventilation system of a historical building library in Italy and explored the operation mode of the natural ventilation system inside the building, which confirmed that the ancient building could create a good natural ventilation environment. Li et al. [
16] analyzed the hygrothermal environment of the Luohan Hall of Baosheng Temple located in the southeast of China and concluded that the air temperature near the sculpture had different fluctuation modes under different directions, and the relative air humidity fluctuated violently. Cao et al. [
17] used the CFD software Fluent to numerically simulate the air movement, temperature, and relative humidity of the micro-environment in the museum, and concluded that the large gradient of temperature and humidity distribution was not conducive to the preservation of artifacts. In addition, some scholars have studied numerical simulation for the cultural heritage of wooden structures. Huijbregts et al. [
18] conducted a two-dimensional multi-area building simulation on a wooden cabinet in a Dutch castle to study the influence of indoor climate changes on the heat and humidity of the cabinet and concluded that indoor climate conditions were controlled by humidity rather than restricted by the average water content of the room. Napp et al. [
19] studied the different indoor climate control schemes of a church in Estonia through field measurement and simulation and concluded that dehumidification measures could be used to prevent mold growth and protect wood parts from cracking. Apart from the relevant research on heat and humidity transfer in residential buildings, existing literature has also investigated building types such as libraries, temples, churches, and grottoes.
The object of this study is the world's most complete surviving palace-type ancient building with a construction history of 600 years. The three-dimensional heat and moisture transfer characteristics of palace-style wooden ancient buildings in Beijing are studied. A mathematical model of indoor heat and moisture transfer is established, and the model is verified by indoor mold growth and comparison with actual measured data. The influences of outdoor humidity environment, soil moisture, wall humidity, and other factors on the indoor heat and moisture transfer characteristics of ancient buildings are analyzed, and the main protection measures of ancient buildings are proposed. The research results provide effective theoretical guidance for the conservation of palace-style wooden ancient buildings in Beijing.