-
-
October 2, 2024 at 2:00 pmmaori.cabanesSubscriber
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.
-
October 2, 2024 at 6:24 pmGuilin SunAnsys 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.
-
- You must be logged in to reply to this topic.
- Ansys Insight:使用Checkpoint继续仿真被迫中断或已经仿真结束的文件
- 怎么修改生成远场图片的横纵坐标以及坐标标签的字体大小
- INTERCONNECT – No results unless rerun simulation until it gives any
- 如何直观计算3db带宽
- EME得到的S参数与监视器结果不一致的问题
- varFDTD半导体激光器建模方向及反射率设置问题
- INTERCONNECT – obtain power output over time & check for SNR
- Inverse Design Freezing Issue
- Import material .txt file with script
- Calculation of correlation values in laser modulation bandwidth simulation
-
446
-
199
-
194
-
166
-
162
© 2024 Copyright ANSYS, Inc. All rights reserved.