-
-
May 14, 2024 at 2:15 pmPrateekshaSubscriber
Hi,
I want to export VarFDTD results to Interconnect for that I used mode expansion monitor as shown in the example https://optics.ansys.com/hc/en-us/articles/360034902433-Using-and-understanding-Mode-Expansion-Monitors
But I am getting weird results of s-parameters (S11 and S21). I just edited the "analysis program" given in the ring resonator example but it doesn't work. I used following code:•in = getresult("mode_expansion","expansion for in");•drop1 = getresult("mode_expansion","expansion for output1");•S11 = S22 = S33 = in.b/in.a;•S21 = S12 = drop1.a/in.a;•S = matrixdataset;•S.addparameter("f",in.f,"lambda",in.lambda);•S.addattribute("S11",S11);•S.addattribute("S21",S21);•# export to file for INTERCONNECT•Sdata = [S.f, abs(S11), unwrap(angle(S11)), abs(S21), unwrap(angle(S21))];•if(fileexists(filename)) { rm(filename); }•format long;•write(filename,num2str(Sdata));I am attaching the stucture, monitor results, mode expansion monitor settings, s-parameters and link to Lumerical file in the attachment. Please look into the files and suggest me the required changes.https://drive.google.com/file/d/1_I8dGlpuyr8Kn56II0ZX4Et77FEWZEJd/view?usp=drive_link
Looking forward to your reply!!
Thanks in advance!!
Prateeksha
-
May 14, 2024 at 6:43 pmGuilin SunAnsys Employee
How weird is the result? too small/large or bumpy? If the graph showing above is what you mean, it looks good.
we are not allowed to download the simulation files on the forum per Ansys policy.
-
- You must be logged in to reply to this topic.
- Ansys Insight:使用Checkpoint继续仿真被迫中断或已经仿真结束的文件
- 怎么修改生成远场图片的横纵坐标以及坐标标签的字体大小
- INTERCONNECT – No results unless rerun simulation until it gives any
- EME得到的S参数与监视器结果不一致的问题
- 如何直观计算3db带宽
- INTERCONNECT – obtain power output over time & check for SNR
- varFDTD半导体激光器建模方向及反射率设置问题
- Inverse Design Freezing Issue
- Calculation of correlation values in laser modulation bandwidth simulation
-
421
-
192
-
178
-
162
-
140
© 2024 Copyright ANSYS, Inc. All rights reserved.