Hello,
You can do this using Python Console.
In the Ansys Fluent Launcher, enable the "show beta launcher options". Under the General options tab, enable Python Console and then click Start.
Here in Python Console you can use python loops for the desired output in Fluent.
Regards,
Supreetha