One of my recent research projects requires Zemax to simulate a surface with a specific phase. I looked in the literature and found that Zemax has a "grid phase" feature in the surface selection that allows the user to customize the phase surface.
I constructed a simple 5*5 grid according to the user manual and assigned the corresponding phase values to the grid points and saved them in a .dat file. I then imported the .dat file containing the phase values into the "grid phase" plane of Zemax and did not observe any deflection of the light in the 3D layout, but in the face-phase diagram I could observe that the "grid phase" plane did have The corresponding phase distribution is observed in the face-phase diagram.
My question is: Is it really possible to attach a given phase shift to a given incident ray with the "grid phase" function in Zemax? If I want to attach a converging phase similar to a thin lens:
Is there any other easy and feasible function or method to implement in Zemax?