The unique solvability of a complex 3D heat transfer problem