-
-
November 27, 2023 at 9:20 am
Ronen Mazurski
SubscriberHello, I am currently running a simulation of an array of pillars on a substrate, a planewave source is in the substrate at a certain distance from the pillars and a monitor is in free space above the pillars. I collect the phase and transmission data from the monitor and I want only the phase that is accumulated in the pillars. Changing the distance of the monitor and the source changes the phase, meaning that the result contains the unwanted phase that is accumulated in the substrate and in the free space. I know I should not place the source or the monitor very close to areas where there are changes in matter and structures in order to get more accurate results, and substracting the theoretical phase accumulated in the substrate and in the free space has small diversion.
Is there a way to isolate the phase that is accumulated only in the pillars?
-
November 28, 2023 at 4:40 am
Dev
Ansys EmployeeÂ
Hello, Which software are you using?
Please share some screenshots as well.
Regards
Devika
Â
-
November 28, 2023 at 9:40 am
-
November 28, 2023 at 7:50 pm
Dev
Ansys EmployeeYou can get the complex S parameters by using ports. The phase information can be found in complex S parameters.
In general, phase of a field component can be obtained by use of "angle":
Â
https://support.lumerical.com/hc/en-us/articles/360034405614-angle-Script-command
for example, if you want to get the phase of Ex, you can use
phase=angle(Ex);
Usually Ex (and other field components) has dimension of 4: x,y,z,f. If it is a line monitor,
the dimension is (1,ny,1,nf) where ny=length(y), and nf=length(f).
Â
You can use "pinch" to remove the singletons, eg,
phase=pinch(angle(Ex));
Â
then the phase will have the dimension of (ny,nf).
Â
Hope this helps.
Regards
Devika
-
- The topic ‘Isolating data’ is closed to new replies.
- Import material .txt file with script
- Errors Running Ring Modulator Example on Cluster
- Absorption cross-section of AuNR excited by prism-based TIR
- How to measure transmission coefficients on a given plane .
- TE Polarization Fraction + Waveguide TE/TM Fraction
- Edge Coupler EME Example Issue
- Lumerical Python API Topology Optimization Error 2025 R1
- 2D inverse design grating coupler
- FDE : Simulation waveguides with electrodes
- Loss of lithium niobate phase modulator
-
2262
-
925
-
599
-
591
-
497
© 2025 Copyright ANSYS, Inc. All rights reserved.