TAGGED: lumerical, Mode-expanding-momitor
-
-
February 27, 2024 at 2:32 am
Jeb song
SubscriberI wanted to ask about the expand function: https://optics.ansys.com/hc/en-us/articles/360034926653-expand-Script-command
Suppose we compose the total electric field in two modes, so E_out = cE_1 + dE_2.
As described in the expand function example, after setting M=expand(E_out, E_1, 0, 0, 0), is it the case that pinch(M,1,1) = c?
Likewise for M=expand(E_out, E_2, 0, 0, 0), so that pinch(M,1,1) = d?
-
February 27, 2024 at 7:50 pm
Guilin Sun
Ansys Employeeexpand('monitor1','monitor_ref',x,y,z);Â
It decomposes the monitor_1 data into the base mode from monitor_ref. You may need to refer to this Using Mode Expansion Monitors
to get inofrmaiton for the result of a,b,n,p.
So it is not the simple coefficients c and d as you expected.
Â
Â
Â
-
February 28, 2024 at 2:45 am
Jeb song
SubscriberHow would I be able to obtain c, d instead? The overlap function doesn't work since it doesn't give the complex coefficients.
-
February 28, 2024 at 4:37 pm
Guilin Sun
Ansys EmployeeIt is a little different:
for you, Â E_out = cE_1 + dE_2. you mean the total field is composed of E_1 and E_2, and theie amplitude weight is c and d.
However, the "expand" uses a reference mode as the decompose base, say Eref. "Expand" will tell you how much of E_out is matched with E_Eref.
In order to get c and d, you will need to E_ref. one is E_1, and the second one if E_2.
Thus, c,d should be one of the two: a or b.Â
Their definition is here  https://optics.ansys.com/hc/en-us/articles/360034902433-Using-and-understanding-Mode-Expansion-Monitors
I hope this clarifies the concept.
Â
-
February 28, 2024 at 4:50 pm
Jeb song
SubscriberThanks for the clarification. Does this mean that for M=expand(E_out, E_1, 0, 0, 0), the output for the a should match the amplitude weight c (and vice versa for E_2)?
-
February 28, 2024 at 6:18 pm
Guilin Sun
Ansys Employeenot necessarily , because "a" is the coeffect along positive axis and "b" is for negative axis. details can be found in the above link.
Â
-
- The topic ‘(Lumerical) Using expand function to obtain component of modes’ is closed to new replies.
- Workbench license error
- Unexpected error on Workbench: Root element not found.
- ansys fluent error when opening it “unexpected license problem”
- access to path files denied error
- Unexpected issues with SCCM deployment of Ansys Fluids and Structures 2024 R1
- Unable to connect to the license
- Tutorial or Help for 2 way FSI
- Questions and recommendations: Septum Horn Antenna
- Moment Reaction probe with Large deformation
- Running multiple LS-DYNA simulations with batch files
-
1937
-
839
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.