Re: [Meep-discuss] Question about units in meep

2013-07-29 Thread Chuanren Wu
Hello Rui,

the only thing happens here is scaling the 4 Maxwell equations under the
condition that c0 = 1.
The solutions are not unique, you can choose the scaling method, which
is more suitable for your problem. (for example, you can let the
permittivity as the value in the real world, or keep the length in meter
or mm, or if you want to calculate a real current value, you can also
keep the current in SI unit).


regards


On 07/29/2013 01:33 AM, Rui La wrote:
 Hi meep users,
 
 I am new to meep and have some questions about units and sizes in the
 code of meep.
 
 I want to measure the transmission of a silicon plane with the wave of
 1000nm. The relationship between frequency and wavelength is
 wavelength=1/f. So I guess if I assume the 1 in my code equal to 150
 nm, the relative wavelength of the source should be 1000/150 = 6.67, so
 the f should be 1/6.67 = 0.15. Is my calculation correct? What if I set
 the 1 in my code as 300 nm, that means I need to change my frequency
 to 1/3.33=0.3. So will the two simulations have same result since I used
 the different frequency but simulate the same model? 
 
 Thanks,
 
 Rui
 
 
 ___
 meep-discuss mailing list
 meep-discuss@ab-initio.mit.edu
 http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
 




signature.asc
Description: OpenPGP digital signature
___
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Re: [Meep-discuss] Question about units in meep

2013-07-29 Thread Gurso Akguc
You get same result if you also scale geometry (slab thickness maybe)

Gursoy akguc


Sent from my iPad

On Jul 29, 2013, at 2:33 AM, Rui La larui...@gmail.com wrote:

 Hi meep users,
 
 I am new to meep and have some questions about units and sizes in the code of 
 meep.
 
 I want to measure the transmission of a silicon plane with the wave of 
 1000nm. The relationship between frequency and wavelength is wavelength=1/f. 
 So I guess if I assume the 1 in my code equal to 150 nm, the relative 
 wavelength of the source should be 1000/150 = 6.67, so the f should be 1/6.67 
 = 0.15. Is my calculation correct? What if I set the 1 in my code as 300 
 nm, that means I need to change my frequency to 1/3.33=0.3. So will the two 
 simulations have same result since I used the different frequency but 
 simulate the same model? 
 
 Thanks,
 
 Rui
 ___
 meep-discuss mailing list
 meep-discuss@ab-initio.mit.edu
 http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

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