Coupled thermo-mechanical-metallurgical analysis during the cooling of steel pieces