Hi, Rita, for my convenience, I personally decided to use 1) for all dimensions: the SI units (so my simulation volume dimension may be set e. g. to "10e-6", resolution is set to "1/1e-7" etc.), 2) for all time-related units: SI units rescaled by the speed-of-light (so the source frequency for green light wave would be "600e12/c" where "c=3e8"). This is due to the meep's internal "speed of light" set to exactly one instead of 3e8 m/s.
Everything works well for me. A bit more complicated task is setting of the polarizability for dispersive media or properties of nonlinear media. The http://meepunits.wikia.com/wiki/Meep_unit_transformation_Wiki might also be useful. Filip 2012/6/13, Rita Ribeiro <[email protected]>: > I am doing simulations using python meep, but i have a problem with unit > conversion from natural units to meters. If anyone knows the conversion > factor, i will be grateful. As i was able to found in python > meep tutorial the speed of light is equal to 2. However, when i do the > maths the wavelength in the graphs does not match with the one i set. > > Thanks! > Rita > _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

