Text this: Thermal ratchetting of polycrystalline metals with inhomogeneous thermal properties