Within the framework of heterophase systems mechanics, a mathematical model of wood deformation process is proposed, which takes into account the influence of complex rheological properties and surface phenomena in thin layers of water on the change of its porous structure. The influence of moisture and temperature fields of the sample on the strength and quality of the obtained material was investigated using numerical methods.