Dependence of the thermal conductivity on mechanical stress in polymers