Guilin Sun
Ansys Employee

I guess it is not due to the radius, it is due to the number of elements in the metalens. The script has 2 loops and 1 logic if. If one element needs 10 seconds, then a million element meta lens will need days to get the result. Please test single element time by use of system script, such as

https://optics.ansys.com/hc/en-us/articles/360034410894-system-Script-command

you can estimate how long it will take for the whole metalens.