TAGGED: 3DFDTD
-
-
January 7, 2024 at 9:17 am
Frederic Wu
SubscriberMay I ask what is the output of getelectric?
Here, the monitor is a 3D monitor. Is there a way I can find the sum of the E field intensity across the entire 3D area the monitor covers by fixing my current code? How can I find the total electric field intensity in the volumn the monitor covers and plot it against different wavelengths the monitor measures?
-
January 9, 2024 at 11:10 am
Niki Papachristou
Ansys EmployeeHi Frederic,
Thank you for reaching out to us! getelectric returns the E field intensity, whatever the dimension of the simulation and/or monitor: getelectric - Script command. You can also pick up the wavelength from a monitor using the getdata - Script command
f = getdata(monitorname,"f");
wavelength = c/f;Kind Regards,
Niki
-
January 9, 2024 at 2:17 pm
Frederic Wu
SubscriberÂ
I understand but this does not really answer my question. As shown by the screenshot above, line 6 has a problem. The lumerical application says that the data getelectric() returns is not an array. So I do not really know how to fix my code. According to you, the data returned should be a 3D array because I used a 3D monitor. However, this does not seem to be the case.
Â
-
-
- The topic ‘getelectric problem’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- How to measure transmission coefficients on a given plane .
- Edge Coupler EME Example Issue
-
1932
-
839
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.