Photonics

Photonics

Topics related to Lumerical and more

Normalization Electric field

    • maori.cabanes
      Subscriber

      Hello,

      I want to compare two electric fields and calculate their overlap. In my application, the two fields have an overlap of 90% but when I look at the fields it looks like their overlap is close to 0. This is because on one field, the amplitude is very high around an area so it looks like there is no field all around because of the normalization. I would like to normalize the two fields with the same maximum amplitude, so I can compare them visually.

      I tried a simple example with a fiber, a source with the fiber TE mode and a monitor just next to it. When I double the amplitude of my source, the amplitude on my field also double, which is normal. I tried to normalize the 2 fields by dividing the amplitude with the power source, but it doesn't work, I don't have the same maximum amplitude. Of course here I know that I just have to divide the amplitude by 2, but in my real application I want to compare 2 different field from 2 different simulations, so I want to know with which value I need to normalize.

    • Guilin Sun
      Ansys Employee

      Usually you do not need to normalize the fields since it is automatically normalized: https://optics.ansys.com/hc/en-us/articles/360034405254-overlap-Script-command you can mutiply a factor to one mode the result will not change.

      If you simply want to compare the fields, you can normalize each field, but care should be taken that both E and H fields keep the same relation.eg, if you normalize E to be max 1 V/m, the H field cannot be normalized to be A/m in Physics. However in the case of overlap you can do such normalization since the result will not change.

      You can also write your own script to calculate the overlap, which is straightforward.

       As for the similarity, since it only counts the tangetial components, if you compare the whole intensity it might not be obvious. Please only compare the tangential field components. Do not involve the axial component.

       

       

Viewing 1 reply thread
  • You must be logged in to reply to this topic.