Thermocapillary motion of a solid cylinder near a liquid–gas interface