Photonics

Photonics

Topics related to Lumerical and more.

Isolating data

    • Ronen Mazurski
      Subscriber

      Hello, 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?

    • Devika
      Ansys Employee

       

      Hello, Which software are you using?

      Please share some screenshots as well.

      Regards

      Devika

       

    • Ronen Mazurski
      Subscriber

      Hi, I'm using Lumerical FDTD,

      the simulation looks like this:

    • Devika
      Ansys Employee

      You 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

Viewing 3 reply threads
  • The topic ‘Isolating data’ is closed to new replies.