Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 26527

Irregular grating modeling using ports or background field

$
0
0
Dear all,

I am a novice at comsol and has been building my first model for some time. I want to calculate the scattered field caused by a plane wave incident upon an irregular grating (with dozens of periods). First I used port as the excitation, but found that the scattered field is reflected at the port, which appears to be a tricky problem to solve based on the discussion on the Internet.

So instead I use the background field approach. However, after setting a plane wave (like exp(-j*emw.k*y)) as the background field and solving the model, I find that the background field is present both in the air and inside the grating material (with n=1.5). So now I am very suspicious about the correctness of my model, since it is the sum of the background field and scattered field that has to satisfy the wave equation. My model is uploaded to bit.ly/1iajutY . Can anyone help me? Many thanks!

Tan Jia


Viewing all articles
Browse latest Browse all 26527

Trending Articles