Hi to all! I'm a newbie using Meep. I've to use Meep for my thesis to project an optical coupler.
My very big problem is meep units.
I've defined this variable:
(define-param a 1e-6) ; base unit in meters (1e-6 = 1 um)
(define-param wavelength-center 1.55)     ; central wavelength in micrometer
(define fcen (/ 1 wavelength-center)) ; source center frequency
and others...
Then i've defined a gaussian source for TE mode:
(define-param df 0.1)    ; pulse width (in frequency)
(define-param source-component Ey)
(set! sources (list
           (make source
                    (src (make gaussian-src (frequency fcen) (fwidth df)))
                    (component source-component)
                    (center (+ 1 (- (/ L 2))) yc)
)))

My real laser source has a central wavelenghth of 1.55 um. It's correct to define source like i've done or i've to do some conversion? Into reality wavelength=c0/f but in meep unit i've read that c0=1 and it's adimensional. I've to tried to obtain a frequency spectrum for a single waveguide following meep wiki and for TE mode i obtain the spectrum that you can see as attachment, but i don't know if it's correct. I've to convert all value frequency and spectrum before to plot it? how? can you help me please?

I've read this post and tutorial:
http://ab-initio.mit.edu/wiki/index.php/Meep_Introduction#Units_in_Meep
http://meepunits.wikia.com/wiki/Meep_unit_transformation_Wiki
http://osdir.com/ml/science.electromagnetism.meep.general/2008-01/msg00090.html
http://osdir.com/ml/science.electromagnetism.meep.general/2008-01/msg00095.html



<<attachment: spectrum-Ey-TE.jpg>>

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

Reply via email to