Thermally excited flow in a microsized liquid crystal cavity