This work connects with the modeling of irreversible processes in deformable medium: heat- , masstransfer, physical-chemical conversions in the medium containing the structure heterogeneities. The basic idea consists in the introduction of new thermodynamical variables to describe of structure features of medium and their influence on the irreversible processes. The key definitions and determining correlations are adduced. Some simple examples are presented. The applied problems, where this thermodynamical theory could be used, are discussed.