IBM Release 1.93 manual Tempest limitations, Advice common to all or most Fdtd programs

Page 86

B.1.2. tempest limitations

a. Off-axis plane waves. Symmetrical domains of course must have symmetrical illumination. The TEMPEST approach is to forbid such domains to have off-axis plane waves applied to them. The other approach would have been to double each plane wave source, so that their result was symmetric, which would be preferable. Since the xxBEAM source statements are implemented as sums of plane waves, we can’t use them on symmetric domains. Use mode sources instead. It isn’t difficult to make a mode source out of a beam source: just run a three-cycle simulation of the desired beam shining into an empty domain, and make the mode file in a plane near the source.

B.1.3. Advice common to all or most FDTD programs

a. Step sizes. In general, don’t try to use a step size less than 1/15 wavelength in the highest-index material. Sufficiently simple geometries with low index contrast may allow 1/10 wavelength, at reduced accuracy.

b. Understanding convergence

FIDO/TEMPEST’s console output reports "convergence error" after each complete cycle. While this is useful, it must be understood properly. The FDTD algorithm is a direct- stepping method, not an iterative one. On each step, the fields are correctly propagated by one time step, within the error caused by discretization and roundoff. Convergence therefore means something quite different than in, say, Newton’s method for root finding—it means that you have to wait long enough for the turn-on transient to settle out. The fields have to rattle round the domain long enough to settle down to a steady- state condition.

This has an important practical consequence: you don’t have to use a fully-converged simulation in the early stages of optimization. Unless your structure is resonant, or has to sit a long way from the source location, you can usually get the right directional information for the optimizer as long as the full-strength fields have reached your structure. At first, try using the time-of-flight from the source to the far side of the structure, plus two or three cycles. This can speed up convergence of the structure by a factor of five or more. Don’t be dissuaded by TEMPEST’s stern warning that "Convergence error" is 93.7% and that convergence did not occur. It isn’t TEMPEST that we want to converge, at first anyway. Do take a peek at the bitmaps generated as the optimization progresses, to make sure they’re halfway sane. Later on, you can do the final polishing of the design by changing MAXCYCLES in the COMPUTE statement to allow FIDO/TEMPEST to converge fully on each iteration. (P. 22).

c. Hints and Kinks

Don’t put sources, dispersive materials or any material discontinuity adjacent to PMLs. A full wavelength away is safer, though you may get away with less. This can lead to divergences, which fortunately are not difficult to spot, and to the generation of NaNs, which will cause the simulation to abort.

Make PMLs at least 8ellscellthick.

82

Image 86
Contents IBM T. J. Watson Research Center Yorktown Heights, NY Page IBM T. J. Watson Research Center Yorktown Heights, NY Using Poems HOW Poems WorksChapter Introduction MotivationPhilosophy Structure OptimizationPage Poems system organization Script Operation Program OrganizationFront-End Script poems.cmd Fdtd Engine FIDO/TEMPEST Postprocessor EmpostVisualization System VIS5D Cluster ControlParallel Processing Global Group Command ReferencePoems Command-Line Options Function FreqLambda HostsWhich means that the host’s predefined hostname is not used MacdefMacro PrintSimulator RandomseedSET Verbose World GroupTitle BoundaryXrange Yrange Material GroupBasicstep DefineParameters epsReal epsImag muReal muImag FAN Object GroupBlock Tiledplane GratingHollowbox Cylinder Curve3DCURVE Source Group Command Group Output GroupCAD Postprocess GroupField WebpageIntegral FarfieldFlux List ModematchMovie MOVIE3DDissipation SliceGuess Optimize GroupVariables Penalty Merit LimitStore Range Schedule GroupParameters Computational Domain SymmetryObjects Perfectly-Matched Layers MaterialsPlane Waves Page Beam Sources Optimization Merit FunctionsPhase uniformity across a plane Worked Example Optimizing a V Antenna 10 Optimized V antenna refractivePage Predefined Constants Worked Example Doped Silica Waveguide ModeWorked Example Glass Ridge Waveguide to Free Space Coupler Reserved Names ConfinePredefined Mathematical Functions Arithmetic OperatorsAcos Logical OperatorsABS AcoshCOS ATAN2Ceil ElintkMAX Integral20. LN MINRound RandomROOT1D SignFlattop Analytical Pupil FunctionsMaterial Parameter Functions Time step Tempest and General Fdtd InformationStartup and Steady State Page Appendix A. V-Antenna Optimization Run Poems Input DIPOLE2I.PAR END Material END World Subdomain ALL END ObjectEND Output END CommandEND Source END Optimize Phaseex END Postprocess AmplexPage Page Page END Tempest Input File DIPOLE2I.PAR.IN Written by Phil Hobbs Pages of pointsource statements omitted DIPOLE2IEXI Postprocessor orders DIPOLE2I.ORDERSALL DIPOLE2IEXQDIPOLE2IEZI DIPOLE2IEYIDIPOLE2IEYQ DIPOLE2IEZQArray Amplex MiddlefluxPOSTPROC.1.NAME POSTPROC.1.PARMSTRINGPOSTPROC.2.PARMSTRING DIPOLE2IPHASEEXArray FF2Array Poyntingz DIPOLE2IPXPOSTPROC.6.NAME DIPOLE2IPZPOSTPROC.11.NAME POSTPROC.9.PARMSTRINGPOSTPROC.10.PARMSTRING Slice IndexnDIPOLE2IPZXY0.BMP Slice PoyntingzPOSTPROC.13.COMPARISONDOMAIN POSTPROC.14.NAMEPOSTPROC.17.NAME POSTPROC.16.COMPARISONDOMAINDIPOLE2IPXZX0.BMP Slice AmplexPOSTPROC.20.COMPARISONDOMAIN DIPOLE2IPHASEEXXY0.BMPDIPOLE2IPHASEEXZX0.BMP DIPOLE2IDISSZX0.BMPPOSTPROC.24.COMPARISONDOMAIN DIPOLE2IEXQZX0.BMPRun Results DIPOLE2I.SIMPLEX Page Page Page Page Page Fdtd and Tempest Tempest patchesAdvice common to all or most Fdtd programs Tempest limitationsWindow System Configuration Sample X11 ConfigurationWish list Running Vis5DRelease Notes Beta Release Limitations Page Page Matlab IndexEmdenormal Emunderflow Maxordersources 81 Maxpointsources