-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to obtain reasonable results for a deep 2D dieletric resonant grating with GratingGSM #1
Comments
The schematic of the structure: My main file is also pasted: clc; NO = gsm_method.no(1) * gsm_method.no(2); % total number of harmonics
ncyl = [1, 1]; % numbers of cylinders along X and Y dimensions grating.layer_type = "2D grating";
phi_inc = 0; wavelength = 1.55; incidence.wavelength = wavelength;
[kz, ~, kx, ky, kxy] = kxyz(gsm_method.no, k_inc, kg, [gsm_method.eps_b, gsm_method.eps_b]); |
Later I tried to change the parameter gsm_method.eps_b to [(3.361^2+1)/2] or [3.361^2pi.2515^2/.65^2+1*(1-pi*.2515^2/.65^2)], the results improve a little but still far from convergence. I check the effect of each geometry parameter and material permittivity, and I find that when
is too large (threshold?), the GratingGSM tends to converge quite slow. Unfortunately, due to the limitted resources of my PC, the code would report "Out of memery" if I set control parameters larger than gsm_method.no = [40, 40] and gsm_method.nsl = 400 before I get a convergent result. I'm not sure if I make a reasonable assumption, or do you have some good advice to handle it other than simply enlarge the memory? Thank you so much. Xianshun |
Dear Professor Shcherbakov, Sure, thank you so much for your instruction. Best regards Xianshun |
Indeed the factorization rules are implemented. Did you run the method gsm_diffraction with bnorm=1 ? |
Yeah, I ran the method with "[Vout, Veff, balance, rv] = gsm_diffraction(incidence, gsm_method, grating, 1, 0);", it seems that bnorm has already be set to 1 (gsm_diffraction(incidence, method, grating, bnorm, bini)). |
Dear Professor Shcherbakov, Do you have some more advice on this specific case? Thank you so much. The best results I obtained with many endeavor with GratingGSM are which are still a little far from the reference results of Xianshun |
Dear Professor Shcherbakov, It seems that the factorization rules are not implemented in the code (feps_cyl.m & fnxy_cyl.m) where only the analytical Best |
Hi Professor Shcherbakov, I have tried hard with GSM for this specific example even with the S vector method equipped and NVM technique used, but still I failed to obtain the correct answer, the best I acquire is R{0,0} = 0.132342; with NO=60×60 and total number of slices=500 (5×100) considering the limitation of CPU and memory. So I am thinking that if GSM is suitable for grating layer with effective relative thickness d_eff>1? Here it is d_eff=(3.361-1)*0.8/1.55≈1.22. I have tried to reduce the d_eff to less than 1 by decreasing n_g、n_m、d_g or increasing λ, and all can output consistent result. I wonder if you could try this simple case to check what the problem is or push the limit. Best regards and looking forward to your sooner reply. |
Hi Professor Shcherbakov,
These days I have been trying to use the GratingGSM to simulate a deep 2D dieletric resonant grating. But unfortunatelly, I find it seems quite strange that I can't get the resonable results even with hard endaver to tune the control parameters, nevertherless it works well with non-resonant subwavelength gratings with proper tuning.
Could you please help me find out where I may get wrong? Thank you so much for your kind instruction.
The parameters of the grating are listed below, and I also attach the program file for your reference:
lambda=1.55 um;
TE, Normal incident from substrate;
Px=Py=0.65 um;
Cylinder radius r0=0.2515 um;
Cylinder hegith H=0.8 um;
n_sub=1.45;
n_cyl=3.361;
n_sup=1;
And the reference R and T by RCWA (also veified by FEM) are
R=0.0823775905
T=0.9176244730
Besides, the grating has a resonant dip around 1.519 um
The text was updated successfully, but these errors were encountered: