Units and Nonlinearity
For linear calculations in electromagnetism, most quantities of interest are naturally expressed as dimensionless quantities, such as the ratio of the wavelength to a given lengthscale, the transmitted or reflected power as a fraction of input power, or the lifetime in units of the optical period. Matters are more complicated when one includes nonlinear effects, however, because in this case the absolute amplitude of the electric field becomes significant. We discuss how to relate Meep's units to those of experimental quantities relevant for nonlinear problems. See also Nonlinearities.
Meep supports instantaneous Kerr nonlinearities characterized by a susceptibility , corresponding to a constitutive relation (in Meep's units):
However, the number usually reported for the strength of the Kerr nonlinearity is the AC Kerr coefficient , defined by the effective change in refractive index for a planewave with time-average intensity travelling through a homogeneous Kerr material:
This equation itself is somewhat subtle: it is not the actual instantaneous change in refractive index at every point. Rather, it is a sort of average change in index, and in particular is the change in effective index where is the propagation constant.
The relationship between and , in Meep's units, is:
where is the linear refractive index . See, for example, Section 4.1 of Nonlinear Optics (third edition) by R. W. Boyd.
Warning: The optics literature uses a variety of conflicting conventions for defining the dimensionful quantities and , which may differ from the ones used here by scale factors of etcetera. For example, the Boyd book mentioned above also describes a different definition of in which instead of , which changes the relationship between and by a factor of . If you are transcribing experimental values of into Meep, you may need to convert from one convention to another.
Using Experimental Kerr Coefficients
The key to using correct magnitudes is nonlinear calculations in Meep is to realize that the units are still somewhat arbitrary: only the product is significant, so as long as we get this product right we are fine. Moreover, we can choose our units of distance and our units of field strength independently and arbitrarily. So, if we are given in some units like μm2/W we are free to use μm as our unit of distance and W as our units of power.
For example, suppose that has "real" units of, say 3×10–8 μm2/W (silica glass). Of course, this is very small (semiconductors can be much more nonlinear), so to compensate suppose let's plan to use an unrealistic 1 MW of power in our structure (say a waveguide). To implement this in Meep, for convenience we'll use μm as our unit of distance and W as our units of power. First, we'll set from and n in these units: (3×10-8)/3 where n is the linear index. Then we simply monitor the power going through our waveguide (or whatever) and change the current amplitude (note that power ∼ ) until we get 106.
To monitor the power in a structure, we can use a variety of functions. See Python Interface. One can get the power flux directly through the
flux_in_box function. Or, one can alternatively get the intensity at a single point by calling
get_field_point and passing
Sx etc. for the component. One thing to be cautious about is that these return the power or intensity at one instant in time, and not the time-average unless you use complex-valued fields (which are problematic for nonlinear systems).
You may have been hoping for a simple formula: set the current to x to get y power. However, this is not feasible since the amount of power or field intensity you get from a current source depends on the source geometry, the dielectric structure, and so on. And a formula for the units of current is not terribly useful because usually the current source in an FDTD calculation is artifically inserted to create the field, and doesn't correspond to the current source in a physical experiment.