Study of stellar wind energy flux: from the Sun to Beltegeuse