We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Photonics – Chinese

Photonics – Chinese

Topics related to Lumerical and more, in Chinese language.

三维Farfield偏转角

    • zhu youyang
      Subscriber

      使用monitor直接查看远场数据(左),和用script查看远场数据不一致,这是什么原因导致的呢?

       

       

    • zhu youyang
      Subscriber
    • zhu youyang
      Subscriber

      我将code修改成下面就没问题了

      #########################################################

      # Perform the far field projection and image result

      m="monitor"; # Monitor name

      res = 500; # projection resolution

      E2 = farfield3d(m,1,res,res,1,1,1,1.33);# this returns |E|^2 in the far field

      ux = farfieldux(m,1,res,res);

      uy = farfielduy(m,1,res,res);

       

      image(ux,uy,E2,"","","|E|^2 at 1 m","polar");

    • Guilin Sun
      Ansys Employee

      可能就是投射介质的折射率不同,不指定的话应该是用监视器中心点的折射率。折射率不同,偏转角就不同。

    • zhu youyang
      Subscriber

      是的,我也这样认为,谢谢老师!

      监视器中心点的折射率默认是1吗?

    • Guilin Sun
      Ansys Employee

      https://optics.ansys.com/hc/en-us/articles/360034930693-farfield3d-Script-command

      里面没有说,从监视器直接做远场时,监视器应该用所在中心位置的折射率数值。至少我测试的是这样。

    • zhu youyang
      Subscriber

      收到。

      我的背景是水(n=1.33),所以我认为利用监视器直接做远场时,farfield3d中的index,我认为也设置为1.33,监视器应该用所在中心位置的折射率数值,这个是指样品材料内部还是出射表面,还是我前面理解的整个背景折射率呢?

    • Guilin Sun
      Ansys Employee

      “指样品材料内部还是出射表面,还是我前面理解的整个背景折射率呢?”

      监视器中心位置的折射率,与内部或者出射表面无关,是一个点,要做远场投射,监视器必须位于均匀介质中。那么监视器中心点的折射率就是所在位置的折射率,应该没有歧义。

    • zhu youyang
      Subscriber

      收到,谢谢。

      如果我把监视器设在初设表面位置,这个时候它属于一个中间位置,应该怎么理解呢?

    • Guilin Sun
      Ansys Employee

      你是说把监视器放在材料界面上吗?最好不要这样放,离开一个网格最好。如果一定要放,你可以加一个折射率监视器看看结果。这个时候就取决于网格了。

      注意,监视器中心是指监视器本身尺寸的中心,即监视器Center位置。

    • zhu youyang
      Subscriber
      好的,谢谢解答
Viewing 10 reply threads
  • The topic ‘三维Farfield偏转角’ is closed to new replies.