Formation of deuterium-carbon inventories in gaps of plasma facing components