There is a known bug involving a 3d cell with periodic boundaries and two or more mirror symmetries: https://github.com/NanoComp/meep/issues/132.

The workaround is to simply remove the mirror symmetries.

On 11/6/20 05:58, Juan Ramón D wrote:

The results from the reflectance spectrum are similar to the results I expected (comparing with simulations from other people). However I have some issues I would like to solve:

  * When I try to set a symmetry my code explodes. With incidence in
    the XZ plane, I set mirror symmetry in the y=0 plane. I defined my
    PhC slab in such a way that it is invariant under y=0 reflections,
    so I think I should not have any problem. In the first simulation
    (without geometry objects) there is no problem, the problem arises
    after setting the geometry of the second simulation (with geometry
    objects). The result using jupyter notebook is a message saying:
    “the kernel appears to have died”.
  * When I try to define an amplitude function in the same way as in
    http://www.simpetuscloud.com/projects.html#meep_thermal_radiation
    I get a similar error: the kernel appears to have died. I have
    successfully used the amplitude function in other problems with
    point sources but here it does not work. I do not know if this
    point is critical for simulating a planewave, since I already get
    good results without it. I would be really grateful if someone
    could explain if this is strictly necessary and/or why I get this
    error.
  * Although the results are good in general, I sometimes get dips I
    did not expect, could this be band folding associated with my
    rectangular lattice?


_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to