Steven G. Johnson wrote: > On Wed, 11 Oct 2006, João Luis Silva wrote: >> the nonlinear coefficient n2 in um^2/W as described on the web page. My >> length unit is the um, so all is OK so far. My question is what are the >> units of the electric field, so I know what to pass to the (amplitude A0) >> of the gaussian-src. Assuming I=(1/2) epson0 c n |E|^2, the documentation > > That's not really a useful to phrase the question, because the amount of > field you get from a given current depends on the geometry as well as on > the current amplitude. >
I thought I was specifying the electric field, not the current (oops!). So I used flux-in-box passing a plane perpendicular to the wave. However, with real field no averaging will be done, and (flux-in-box ...) cannot be used as a step function. So I'm trying to use (electric-energy-in-box ...) for the whole volume, at a time point when the field is all inside the box, which leads me to the following questions: Assuming the same conditions described in the last post (length in microns / n2 in um^2/W) I have two questions: * In what units will the value returned by (electric-energy-in-box) be? * How is it affected by a 2D vs 3D volume of the box? Thanks, João Luis Silva _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

