grating solar cell design

Dear all

I have a novel design in the grating solar cell. I want to prove the modes enhance in all direction is that possible in fdtd ?? by monitor or even just a script
can any one share an idea provide that
Thanks

I think you should use picture to show your idea more clearly.

I want to prove the modes enhance in all direction is that possible in fdtd ??

Does means that :under the illumination of the different incident angle of light , the modes enchancements are almost the same ?
you can sweep the incident angle and get the field enchansement (max or average value )

I want prove that m2 is higher than m1

You could get the theoretical transmission coefficient due to light at various incident angles on the planar structure by using the stackrt script function:
https://kb.lumerical.com/en/index.html?ref_scripts_stackrt.html

For the case with the grating, the analysis could be done like the following example:
https://kb.lumerical.com/en/index.html?diffractive_optics_gratings_blaze.html

The example uses grating script commands to calculate the fraction of power travelling in each grating order direction. There is some more information about those grating calculations here:
https://kb.lumerical.com/en/index.html?solvers_grating_projections.html

Hopefully this helps!