TAGGED: lumerical, monitors, script, script-error, scripting
-
-
July 15, 2022 at 9:45 am
milan.deumer
SubscriberI have an EME simulation with a field monitor normal to the x dimension (crossection) named "Crossection_1". After running the simulation and propagating, I would like to acess the transmission through that monitor through the script command "transmission("Crossection_1");". However I get an error "in transmission, no d-card named Crossection_1 was found with the necessary data". What am I doing wrong?Â
-
July 15, 2022 at 4:14 pm
Guilin Sun
Ansys EmployeeThe monitor in EME is called "profile monitor", which collects all the EH fields. It is not designed to get the transmission. The transmission is obtained from the "user s matrix", and abs(s)^2 is the power-equivalent transmission or reflection.
Please note that the function "transmission" can only be used in FDTD and varFDTD.
-
October 17, 2022 at 7:49 pm
Shing Lee
SubscriberHow to get access to the cross section field in the profile monitor: E=getdata("monitor", "E") or E=getresult("monitor", "E")? Both does not seem to work for me. I can visualize the field on the monitor. Any way to do that?
-
October 17, 2022 at 8:33 pm
Guilin Sun
Ansys EmployeeThe field data is not packed in"E", but in "field profile"; You can try
?getresult("monitor name");
field profile
?getresult("monitor name","field profile");
E, H vs x, y, z, lambda/fIf you use
EH=getresult("monitor name","field profile");
then
E=EH.E;
x=EH.x
Â
etc. Please try.
Â
Just a reminder, please write a new post if the question is different from the previous one.
-
October 17, 2022 at 9:38 pm
Shing Lee
SubscriberIt works. Can you point me to a manu that have a more detail description of the commands?
Thanks!
Â
-
October 17, 2022 at 10:06 pm
Guilin Sun
Ansys Employee
-
- The topic ‘Lumerical EME accessing transmission through Monitor in script’ is closed to new replies.
-
3597
-
1283
-
1107
-
1068
-
978
© 2025 Copyright ANSYS, Inc. All rights reserved.