Quenching of a composite slab