Key Settings in an Ansys Lumerical FDTD Simulation
A checklist of the Ansys Lumerical FDTD settings that are easiest to overlook: mesh size and mesh order, material fitting, simulation time and span, boundary conditions and source span, with what to check and why each setting is what it is.
Published
This article covers the settings in an FDTD simulation that are easily overlooked or set badly (Ansys Lumerical FDTD product overview and main features). It first offers a checklist you can refer to when setting up a simulation, then explains each point on that checklist in more detail.
Main checklist items for Lumerical FDTD settings
Mesh size: use mesh override regions and an index monitor to make sure small features are resolved.
Mesh order: use an index monitor to confirm that the mesh order of your geometry objects is correct.
Material fit: use the material explorer to check the fit of each material against its data.
Simulation time: if the simulation ends before reaching the auto shutoff threshold, increase the simulation time.
Simulation span: increase the simulation span until there is half a wavelength of space between the geometry and the PML boundary, unless the geometry passes through the boundary.
Boundary conditions: confirm that the choice of boundary condition and its settings are correct.
Source span: confirm that the span of the beam or mode source is large enough that the input field is not clipped. A DFT or movie monitor can be used to confirm that the source is working correctly.
Mesh size
The key parameter that determines the accuracy of the FDTD algorithm is the number of mesh cells per wavelength. With the default “auto-nonuniform mesh” in Lumerical FDTD, the “mesh accuracy” setting automatically generates a mesh with a fixed number of cells per wavelength.
Early simulations do not need a very fine mesh, so a mesh accuracy of 2 or 3 is sufficient. Even in an early simulation, however, you may need to refine the mesh in particular areas of the simulation region using a mesh override object. Regions that need a mesh override include device geometries with fine features that the default mesh cannot resolve, such as thin layers, and metal-dielectric interfaces where the field changes abruptly. For rectilinear geometry it is best to use a mesh override so that mesh cells align with the geometry. The images below, for example, show a thin layer: first with the default mesh, then with a mesh override region whose “dy” setting guarantees four mesh cells aligned exactly with the thin layer in the Y direction.
Default mesh:
With a mesh override:
An index monitor can be used to display the mesh before running the simulation and confirm that every feature is resolved. You can also display the mesh grid by clicking the “View simulation mesh” button on the toolbar to the left of the viewport.
When geometry objects overlap, the mesh order determines which object’s index is used, and the lower mesh order takes precedence. You should use an index monitor to check that the correct index is used in the mesh.
In the material explorer, check the fit of every material in the simulation. The fit must follow the data points closely, with no gain and no sharp peaks.
An FDTD simulation ends under three conditions: the simulation time expires, the auto shutoff threshold is reached (meaning the fields have decayed sufficiently), or the fields diverge. After running a simulation you can confirm how it ended by checking the “status” result of the FDTD region object, or by checking the log file.
status =
0: simulation in layout mode
1: ended because the maximum simulation time was reached
2: ended early because the auto shutoff criterion was reached
3: the simulation diverged
In general it is best for a simulation to end at the auto shutoff threshold. Ending a simulation because the simulation time has expired can introduce error into the frequency-domain results.If the simulation ends because the simulation time was reached, increase the simulation time.A longer simulation time may be needed when there is a resonant structure or a long propagation distance.
More
Simulation span
The span of the FDTD region should be set so that the PML boundary is half a wavelength away from the sides of the geometry objects being simulated. “Wavelength” here means the longest wavelength in the source spectrum, accounting for the refractive index of the material between the object and the boundary. Objects expected to extend beyond the simulation region are the exception, such as a substrate or cladding, or the ends of input and output waveguides. A simulation of a straight waveguide running simply along Z is one such case.
XY cross-section
The substrate crosses the Xmax/min and Ymin boundaries.
The X max/min and Y max PML boundaries are more than half a wavelength from the sides of the waveguide.
XZ cross-section
Both ends of the waveguide pass through the Zmax/min boundaries.
Boundary conditions
When using PML boundaries, use the “standard” PML profile by default. Use the “steep angle” profile for periodic simulations and for simulations where light propagates at large angles. Use the “stabilized” profile only when you have divergence problems.
When the structure and the source are periodic, use “Periodic” boundaries for a source at normal incidence, “Bloch” boundaries for a narrowband source at an angle, and “BFAST” boundaries for a broadband source at an angle (What to watch for in broadband, oblique-incidence analysis with BFAST). When using symmetry boundaries, confirm that both the geometry and the source are symmetric. Whether to choose symmetric or antisymmetric depends on the polarisation of the source. As a rule of thumb, the arrow showing the source polarisation should be parallel to boundaries of the same colour and perpendicular to boundaries of a different colour.
A common mistake is to set the source span smaller than the span of the injected field. This is seen particularly often with Gaussian and mode sources. Truncating the source this way causes scattering and other injection errors. You should confirm visually that the source field has decayed sufficiently at the edge of the source span (an amplitude of 10^-3 to 10^-4). A log scale is useful for this. Placing a DFT monitor or a movie monitor also lets you judge whether the source is being injected correctly. Of the DFT monitor results below, the upper image shows a source span too narrow for the injected field and the lower image shows a source span appropriate for it. Note the scattered light behind and beside the source in the image with the inappropriate span.
We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
Essential Website Cookies
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.
We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.
We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.
Google Analytics Cookies
These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.
If you do not want that we track your visit to our site you can disable tracking in your browser here:
Other external services
We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Google reCaptcha Settings:
Vimeo and Youtube video embeds:
Other cookies
The following cookies are also needed - You can choose if you want to allow them:
Privacy Policy
You can read about our cookies and privacy settings in detail on our Privacy Policy Page.