[Meep-discuss] Complex Fields and phase

2019-07-25 Thread Shaun Lung
Hello all, I'm still trying to understand how to use Meep, and I've hit a point of confusion. According to the FAQ: >Are complex fields physical? >No. Unlike quantum mechanics, complex fields in classical electromagnetics are not physical. In a linear system, one can always take the real part at

[Meep-discuss] Help understanding mode decomposition

2019-03-17 Thread Shaun Lung
Hi all, I'm currently working with a toy model to understand mode decomposition, of a Z-Y symmetrical block on top of a symmetrical substrate. The structure is as such: Halving computational cell along direction y Halving computational cell along direction z Working in 3D dimensions. Computational

Re: [Meep-discuss] Near-to-far-field problems

2019-02-28 Thread Shaun Lung
Hi all! First of all, Erik Shipton, thank you for the help. That helped me to figure out the discrepancy between the farfield simulation and the full simulation, but I've encountered some new problems. Now, I'm simulating a simple pillar on glass, with the structure as follows: Working in 3D

[Meep-discuss] Port decomposition and S-parameters

2019-02-19 Thread Shaun Lung
Hi all, Having read up on the port decomposition examples, it seems to me that I have to physically determine where the ports are, and place the mode monitors at the ports, correct? Is there a dynamic way of doing this (for a non-homogenous diffraction grating)? I ask because I'd like to compare

Re: [Meep-discuss] Near-to-far-field problems

2019-02-17 Thread Shaun Lung
Hi all, Thank you for pointing that out. I had thought that the near-to-far feature should work well even in the near range, but testing it, it seems that working in the actual far-field range, it works perfectly. Thank you! ___ meep-discuss mailing list

Re: [Meep-discuss] Near-to-far-field problems

2019-02-13 Thread Shaun Lung
Hi all, I'm returning to this topic, still somewhat confused. Any help would be appreciated. I'm still working with a double slit experiment as a toy model, and trying to understand the near-to-far functions. I simulate a double slit experiment with a continuous excitation, using complex fields

Re: [Meep-discuss] Near-to-far-field problems

2019-01-20 Thread Shaun Lung
First of all, I apologise if this isn't added to the correct thread, I haven't used a mailing list before. Ardavan, Thank you for the suggestions. I've tried your suggestions - namely, I've checked the convergence by doubling the runtime and the resolution for the full simulation, and verified

[Meep-discuss] Near-to-far-field problems

2019-01-15 Thread Shaun Lung
respectively.) I'm aware that there can be a phase difference, as per the documentation, however, the overall relative phase should not be different, which is not the case here: https://i.imgur.com/NCXRSRg.png. Any suggestions would be enormously appreciated.