Greg Baethge
Ansys Employee

Thank you for posting your question. In our metalens example, the lens is designed with a target phase:
This phase is function of the focal length of the lens, f. You can related it to the NA of the lens using (taken from Wikipedia)
where D is the diameter of the entrance pupil, and n the refractive index.
I hope this will help!