Introduction
In the final installment of our Mastering Lumerical FDTD series, we’ll run our silicon photonic ring modulator simulation and learn how to interpret and troubleshoot the results. Building on the geometry and simulation setup from Part 1 and Part 2, we’ll examine resource requirements, execute the simulation, and visualize transmission data.
We’ll also explore how to diagnose unexpected Lumerical FDTD simulation results and improve accuracy by adjusting simulation time and mesh settings.
Requirements:
Lumerical FDTD
Checking Lumerical FDTD Simulation Requirements
A common pitfall for Lumerical users is considering the feasibility of a simulation. In theory, one can simply use a very powerful machine and simulate any structure or meshing. In reality, costs and hardware limits become inhibitors.
For photonics designers, a best practice is to check the CPU/GPU requirements of a simulation before executing the run command. This serves primarily as a sanity check for known device setups but can also serve secondarily as a diagnosis of how to optimize a simulation.
To check resource requirements, use the top toolbar under the “FDTD” tab and select “CPU” under the “Check” section. This will open up a dialog box with the estimated simulation details:

The most important metric is the ‘Recommended memory’. This is directly impacted by how much available RAM your machine has (RAM can be checked via the Windows Task Manager).
Typically, we recommended overshooting the available RAM, as the FDTD estimates are rough and additional data collection or other tasks could exceed the estimation. In cases where there is insufficient RAM, the simulation will halt and an error will pop up.
Using our example, the simulation estimates 1.2 GB RAM. Our recommendation would be to ensure at least 1.5GB RAM is available.
The other relevant information is the memory breakdown. This breakdown describes the general categories the solver will go through and their respective RAM usage. The categories are:
- Initialization and mesh – The solver will split the geometry up into mesh cells based on the given settings. The larger the solver area and the finer the cell size will result in more memory required. We can see here a large majority of our simulation is just the meshing. This is expected as the simulation spans the full ring and double bus waveguide structure.
- Running simulation – This is the actually calculation step of the simulation. Because we used mesh accuracy = 2, the memory usage here is very small. As we increase accuracy, more calculations are required and this value will increase significantly.
- Data collection – This step comes at the end of the simulation, when the software collects the results calculated and stores it into variables. This step is the most uncertain as the solver cannot know exactly how much data will be collected.
- Monitor data saved to fsp file – This final step saves the results from RAM onto the machine’s drives. The memory for this step should be very small as the action is typically an efficient operation.
Running Your FDTD Simulation
When ready, the simulation can be run using the “Run” button on the top right:

Executing this button will cause a Job Manager window to pop up. An estimate of the time can be seen and the progress of the Current step of the simulation in the progress bar. The overall progress is shown in the bottom bar.

The autoshutoff level provides a number indicative of how close the simulation is to the autoshutoff level. This feature allows simulations that have converged close to an answer without minimal changes in each calculation to complete early, rather than run the full and waste resources for negligible accuracy gain. The autoshutoff value can be interpret as the “change compared to the previous answer” with a max value of 1 (for largest change). Thus, when the value becomes a significantly small number, such as 10e-6, it can be concluded that further simulation iterations won’t provide accuracy increases.
To view the simulation progress, you can right click the job and select ‘View Job Details’. If the simulation is progressing normally, there won’t be any messages to read:

This is useful when the job shows an error, and you would like to get more information on the issue. Sharing the error message in the job details is recommended when contacting our support team, as it can quickly help narrow down the problem.
Lastly, there are 3 buttons to quick the job(s) prematurely:
- Quit & Save – This saves the current calculated results and terminates the solve. This is typically not recommended as the results will not be accurate. This is only rarely used for situations to debug simulation issues.
- Quit & Don’t Save – This is the recommended option as the file will return back to before the simulation was ran. This options also prevents any license or process hang ups in the OS.
- Force Quit – This option is not recommended as it immediately shuts down the simulation. This brute force shut down can cause the program process to get stuck in the background, requiring forced closing through the Task Manager. This method can also cause licenses to never check back into the licensing server, requiring the licensing admin to manually release the licenses.
Viewing Lumerical FDTD Simulation Results
With the simulation complete, the source, solver, and monitor icons in the object tree will gain a small red matrix square:

Right-clicking them will have a new Visualize option available. Here we will select the through port monitor and visualize the result “T” for Transmission. The visualizer screen will pop up with our transmission result:

You can plot multiple data on an existing visualizer by selecting “add to visualizer” in the drop down after a visualizer has opened. Here we can use this function to plot the transmission of the drop port to visualizer 1:

Troubleshooting Unexpected FDTD Simulation Results
For a ring modulator, we were expecting a periodic filter response in the transmission. However, the results show that we seem to instead have a waveguide transmission that gets lossy at higher wavelengths.
To diagnose this, we can add a top-down monitor to the simulation to see the electric field in the device:
- Add a Frequency Domain Monitor to the simulation
- Rename the monitor to “topdown”
- Set the monitor type to 2D Z-normal
- Set x, y, and z to 0.
- Set the x span to 28um, y span to 28um.
- Run the simulation and view the results.

This time, we can visualize the electric field of the topdown monitor:

We can see that the coupling into the ring is weak and the majority of the light go to the through port. One possibility is that the design parameters are problematic, but looking closer the gap is quite small (400 nm) so we should have a lot more coupling than expected. Instead, the problem is due to our FDTD solver settings.
For ring devices, coupling is weak so the simulation may terminate the signal prematurely before the resonator effect is captured. We can fix this by increasing the Simulation Time value for the FDTD solver:
- Edit the FDTD solver and in the General tab, set the simulation time (fs) to 4000.
Our ring device also uses a point coupling design, so we will need to make sure that the mesh is fine enough to capture the effect in the gap region. Instead of increasing the overall mesh, we can instead add a mesh override region:
- Under the FDTD tab, in the ‘Misc’ section, add a Mesh object.
- Edit the mesh object and set x = 0 and x span = 5 um.
- Set the y min = 10 um and y max = 10.425 um. This will place it in the gap region.
- Set z = 0 and z span = 0.35 um. We want to extend the mesh region by a small amount above and below the guiding material.
- Re-run the simulation.
Evaluating Ring Modulator Performance
As you may have experienced, a large amount of time is required to capture the ring modulator’s characteristics. This can increase further as more accuracy to capture curves via better meshing, or larger wavelength sweeps are required.
Visualizing the Lumerical FDTD simulation results, we can now see the expected filter response:

The through put transmission is noisy and the drop port response is low. This is a symptom for the ring modulator simulation when using a coarse mesh. More fine tuning will bring the results closer to what is expected in experiment.
Summary and Next Steps
In this blog, we demonstrated how results can be obtained. It is important to consider the output and diagnose simulation setups. By using this approach, simulations can be optimized for resource usage and accuracy, allowing users to get the most of the software.
Take Your Photonic Simulations Further
You’ve completed our Mastering Lumerical FDTD series, from building ring modulator geometry and configuring the simulation environment to analyzing results and troubleshooting performance.
Ready to apply these techniques to your own photonic designs? SimuTech Group’s experts can help you optimize your Ansys Lumerical workflows, improve simulation accuracy, and tackle more complex photonic modeling challenges.
Explore Ansys Lumerical Solutions
Want to revisit an earlier step? Explore Part 1: Getting Started or Part 2: Simulation Setup.







