Re: [Meep-discuss] Question about time-average power and loop

2009-11-16 Thread Steven G. Johnson


On Nov 16, 2009, at 1:50 AM, 蒙自明 wrote:


Dear Steven and all:
 I am a new user of Meep. What I want to ask is about:
 How can I determine the time-average input power and record the  
time-average output power at some position?
According to the part "Units and Nonlinearity in Meep" on the  
website, the input power is approximately proportional to the square  
of current amplitude(J^2). Is that a time-average correlation?


This is exactly true for a linear system.  If you multiply J by 2, the  
resulting fields multiply by 2, by linearity.


Further, in the nonlinear situation recording time-average power  
seems problematic. Has this been fixed?


Why is this problematic?

The key thing in a nonlinear system is to define precisely what you  
want to do.  The optical bistability results are usually for CW  
(constant amplitude) incident fields.  If you have a CW field (or a  
field whose amplitude is changing very slowly, like a narrowband  
gaussian), computing average power is no problem: you just output the  
flux every timestep for one period, for example.  There are lots of  
other ways to do it as well, e.g. for a narrowband Gaussian you can  
ask Meep to compute the Fourier-transformed flux at the center  
frequency, and work backwards from that to get the Gaussian amplitude  
and any other characteristic you want.


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

[Meep-discuss] Question about time-average power and loop

2009-11-15 Thread 蒙自明
Dear Steven and all:
 I am a new user of Meep. What I want to ask is about:
 How can I determine the time-average input power and record the 
time-average output power at some position?
According to the part "Units and Nonlinearity in Meep" on the website, the 
input power is approximately proportional to the square of current 
amplitude(J^2). Is that a time-average correlation? Further, in the nonlinear 
situation recording time-average power seems problematic. Has this been fixed?
 Actually the ultimate purpose is to repeat the optical bistable results 
published in Appl.Phys.Lett, 83,2739(2003) by M.F.Yanik. If anyone can tell me 
how to write the loop to record the output power vs the input power data, your 
great help is highly appreciated. 
 Thanks very much.
Ziming 


 



 



 



 



 



 



 

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