-
-
July 11, 2024 at 8:28 amGuan Hong LiSubscriber
I am currently using MODE Solutions to solve the electric field inside a waveguide, and I need to extract the far-field mode. In my script, I wrote:
farfield=getresult("FDE::data::mode1","farfield");
However, this script prompts the frequency selection window to appear. How can I modify my script to automatically press 'OK' in the frequency selection window?
I have already included:
farfieldsettings("far field filter", 0.2); farfieldsettings("override near field mesh", 1); setanalysis("wavelength", 1.03*um);
Any suggestions? -
July 11, 2024 at 8:41 amAmrita PatiAnsys Employee
Hi Guan,
Instead of using getresult, you can use the standard farfield commands similar to what we do in FDTD. Here is a sample code:
mode_number=1; #The mode number
mon_name="FDE::data::mode"+num2str(mode_number);
res = 151;#resolution of farfield data
E2=farfield3d(mon_name,1,res,res);
ux=farfieldux(mon_name,1,res,res);
uy=farfieldux(mon_name,1,res,res);
image(ux,uy,E2,"","","|E|^2 at 1 m","polar");Let me know in case you have questions.
Regards,
Amrita -
July 11, 2024 at 11:00 amGuan Hong LiSubscriberHi,AmritaThanks for your help, but I still have a question.
Is it feasible to change the far-field projection coordinates to a screen at a fixed distance from the waveguide and convert them to Cartesian coordinates?
By the way, the solver what I using is the FDE solver in MODE solusion.
Regards,
Guan Hong -
July 17, 2024 at 8:01 amxin zhangSubscriber
Hi!
Do you know how to select the “farfieldfilter” parameters correctly? If the monitor edge electric field is large, do I also need to filter it to 0.
-
- The topic ‘Automatically press ‘OK’ in the frequency selection window for far field profile’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- The two modes overlap the integral
-
1191
-
513
-
488
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.