no d-card named was found.

fdtd

#1

Dear all,
I’m simulating the device and script in lumerical. However, there was an error when I ran my script. Could you please help me to check it? I very appreciate it.patter-max.fsp (939.3 KB)
1.lsf (138 Bytes)


#2

Hi @xinbo.wang,

I had a quick look at the file and script: you placed the monitors inside the structure group “PixelArray”, so the script cannot “see” them. To get the date from the monitors, you should write:
Eb = getelectric("PixelArray::end");

Or you can also take the monitors out of the group.

Another point, you calculate the square of the Eb and Ee, but the “getelectric” command already return |E|^2 https://kb.lumerical.com/en/index.html?ref_scripts_getelectric.html