Hi Rob,

[EMAIL PROTECTED] wrote on 10/10/2007 02:42:18 PM:
> I'm having trouble understanding the difference between normal flux
commands
> (add-flux) and the flux-in-box command.

> flux-in-box can be used to get the flux at a single time step (which I
didn't
> really get from the reference section).
You got that right.  Note that it doesn't have a frequency.  It just
integrates the Poynting vector over the box at one particular instant in
time.

In contrast, the add-flux instructs meep to accumulates a Fourier transform
of the fields during the run, so that the flux can be obtained at the end.
You need to specify the frequencies that you are interested in.  After
doing some time steps using (run), you can get the result with get-fluxes.

Best,
m.






                                                                       
                                                                       
                                                                       
                                                                        To
                                       [email protected]  
                                                                        cc
     Rob                                                               
     <[EMAIL PROTECTED]                                          Subject
     om>                               [Meep-discuss] Help with        
                                       flux/flux-in-box                
     Sent by:                                               Classification
     meep-discuss-bounces                                              
     @ab-initio.mit.edu                                                
                                                                       
     10/10/2007 02:42 PM                                               
                                                                       
                                                                       
                                                                       




I'm having trouble understanding the difference between normal flux
commands
(add-flux) and the flux-in-box command.  As far as I can tell, they can
both be
used to compute the flux through a plane or line.  From reading archived
questions, it seems that flux-in-box is usually used with a fixed frequency
source and add-flux flux planes are generally used with a Gaussian pulse.
Also,
flux-in-box can be used to get the flux at a single time step (which I
didn't
really get from the reference section).

Mainly, I'm confused on when to apply these different commands.  I've been
trying to use normal add-flux commands to determine how a photonic crystal
structure enhances vertical emission versus that of a homogenous slab, but
the
results don't seem to be what I intuitively expect, with regards to
emission at
band gap frequencies or above the cut off frequency, etc.
Thank you
Rob


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

<<inline: graycol.gif>>

<<inline: pic01753.gif>>

<<inline: ecblank.gif>>

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

Reply via email to