Hello everybody! I'm trying to perform simulations in order to obtain the nonlinear response of a given geometry. Currently, I'm "stretching muscles" by using the *mie.py* example code given in the documentation. Over this code I'm adding some lines in order to obtain the nonlinear response. Previously, I incorporated the third-order susceptibility [image: \chi^{(3)}] such as *mp.Medium(index=n_sphere, chi3=10**-3). *Then, I added the corresponding fluxes regions as is commented in the example *3rd-harm-1d.py* also given in the documentation. However, I need several things to improve my code. 1) I want to model a metal nanoparticle, namely, of gold or silver material. I do not know if by importing the gold material such as *from * meep.materials* import *Au_JC_visible as Au, the third-order susceptibility is either regarded. 2) How to include a complex chi3, that is, measurements of [image: \chi^{(3)}] are often to be reported as a complex quantity at certain wavelength. 3) How can I compute an effective third-order susceptibility in the medium plus metal nanoparticle.
I hope somebody could help me. Best regards, Alfredo.
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss