Dear Meep-users,
I hope you can help me with two questions:
1) When I fit experimental data of the dielectric function with the formula given in Materials in Meep, so find the polarizabilities, it seems to me that the solution is not really unique. I guess there are also unphysical sets of parameters which model the dielectric function correctly. Will the results I get from my simulations in Meep be the same and correct for all of these sets of polarizability parameters or do I have to find a certain physically correct one? If yes, how do I find this specific set? 2) I can't manage to make a Ex source work in a 2D simulation. When I run the simulation with my source code for Ez everything works fine, if I replace the field by Ex, it doesn't work. Same with Ey. I am making the fields visible using h5topng. What is my error? The source code is:

(set! sources (list (make source (src (make gaussian-src (frequency 1.33333333) (width 1.06060606))) (component Ex) (center 0 0.2) (size 0 0))))

;define the calculation space
(set! geometry-lattice
    (make lattice
        (size 0.5 0.5 no-size)
    )
)

;define materials
(define    Al2O3
        (make dielectric
            (epsilon 8.5)
    )
)


(set! geometry
    (list

(make block (center 0 -0.2) (size 0.1 0.1 infinity) (material Al2O3)) ; Al2O3 substrate
    )
)


(set! pml-layers (list (make pml (thickness 0.01))))

(set! resolution 1000)
;(set! Courant 0.5)
(use-output-directory "/scratch/skapser/polarisations/")
;(use-output-directory "/home/stud/skapser/Desktop/meep/a1um/custom-src-laser-and-structure-polarisation/")
(run-until 5
    (at-beginning output-epsilon)
    (to-appended "ex" (at-every 0.5 output-efield-x))
)

Thanks a lot!
Stefan

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to