Gas flow in vertical slots with large horizontal temperature differences