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.

Ansys Learning Forum Forums Discuss Simulation Photonics – Chinese 如何计算某一模式的功率在某一特定区域内的部分在其总功率内的占比 Reply To: 如何计算某一模式的功率在某一特定区域内的部分在其总功率内的占比

Guilin Sun
Ansys Employee

首先你会计算功率吧?参见 

Ansys Insight: FDTD 初学者: transmission函数的使用、透射率反射率正负号问题

你只需要再积分脊波导区域内的功率,方法是建立一个矩形函数,乘上原来的坐标。比如

original coordiate x (nx points);

rentangle for the ridge region xmin xmax.

 x=getdata("monitor","x");
xmin=-0.1e-6;xmax=.1e-6;
xnew=(x>xmin)&(x

同理再给出ynew,然后用(xnew,ynew) 做功率积分即可。

你试一下。