The formulation of mathematical models for calculating heat fluxes on a metal barrier