Liu & Poon six-device suite
The six silicon-photonics devices of Liu & Poon (arXiv:2506.16665) re-simulated in 3D with PSFDTD on one RTX 4090 and compared with the Tidy3D and Lumerical results reported in the paper.
Liu & Poon, "Benchmarking FDTD solvers for silicon photonics" (arXiv:2506.16665, v3), compare Tidy3D and Lumerical FDTD on six SOI devices — a waveguide crossing, a 2×2 MMI, a directional coupler, a mode converter, a polarization splitter-rotator (PSR) and a ring resonator — at five resolutions (6 / 10 / 15 / 20 / 25 cells per wavelength in the highest-index material). This page rebuilds the same simulations in PSFDTD from the authors' published GDS files and material fits, and checks two things: whether the 1550 nm figures of merit land on the paper's converged values, and how the solve time of a single GPU compares with the runtimes the paper reports.
Every Tidy3D and Lumerical number on this page is paper-reported (the paper's Tables 2–7 and 13 and its figures). No Tidy3D or Lumerical FDTD simulation was run for this page, and the hardware differs: this is a comparison of time-to-solution for the same problem, not a same-hardware benchmark.
Setup
Devices and metrics (GDS, port definitions and material fits from the authors' repository JPPhotonics/fdtd-pipeline, pinned at commit 622e0a9b):
| Device | Source | Primary metric | Secondary metric |
|---|---|---|---|
| crossing | o1 TE0 | o3 TE0 transmission | excess loss (o2+o3+o4) |
| mmi2x2 (with S-bends) | o1 TE0 | o3 TE0 | excess loss (o3+o4) |
| coupler (directional coupler) | o1 TE0 | o3 TE0 | excess loss (o3+o4) |
| mode_converter | o1 TE0 | o3 TE1 | o3 TE0 crosstalk |
| psr (n = 2.0 top cladding) | o1 TM0 | o2 TE0 | o2 TM0 crosstalk |
| ring | o1 TE0 | o2 TE0 spectrum | λ0, FWHM, Q, FSR |
Settings shared with the authors' scripts: Si layer z ∈ [0, 0.22] µm and slab layer z ∈ [0, 0.15] µm; every port extended by a 10 µm straight waveguide through the boundary; domain = port x-range ±1 µm, port/device y-range ±1 µm, z ∈ [−2, 2] µm; mode source at o1, mode monitors at the other ports; Gaussian pulse centered at 1.55 µm with 20 nm (or 50 nm) bandwidth, frequency points every 5 nm (0.2 nm for the ring); automatic non-uniform mesh with minimum cells per wavelength = resolution; energy auto-shutoff at 1e-5 (the ring runs for 6.40 ps, as both solvers do in the paper).
PSFDTD model
- GDS polygons extruded as slabs; automatic mesh with structure edges snapped; 12 CPML layers; FP32.
- Si uses the authors' pole-residue dispersion fit (n_Si = 3.4738 at 1550 nm). SiO₂ is the fit's constant permittivity at the center frequency; within the narrow band the dispersion is negligible (ring resonance shift 0.007 nm).
- Mode ports: the port modes are solved on the PSFDTD grid with Tidy3D's local mode solver (a mode solve on the host CPU, not a Tidy3D FDTD run) and injected as equivalent surface currents; monitors are flux planes with a mode-overlap post-process.
- Normalization: one calibration run per case (straight input waveguide on the same transverse grid) gives the injected power. The PSFDTD total times below include initialization, the device run, this calibration run and the mode solves.
- Two meshes were run. The same-grid runs (
--padding 0) reproduce, cell for cell, the mesh of the earlier CPU baseline and are used for the timing and CPU/GPU consistency tables. The current-grid runs use today's default mesher (grid.evanescent_padding= 1.5, which keeps the mesh fine in the evanescent region around the core) and are used for the figures of merit.
Hardware
| Column | Hardware | Origin |
|---|---|---|
| PSFDTD GPU | one NVIDIA GeForce RTX 4090, FP32 (host Ryzen 9 9950X, Windows 11) | run locally |
| PSFDTD CPU | Apple M3 Max, 12 performance cores, FP32 | run locally |
| Tidy3D | Tidy3D 2.7.7, Flexcompute GPU cloud (dynamic; 8× A100 for the mode converter at res 25) | paper-reported |
| Lumerical GPU | Lumerical FDTD 2025 R2.1, AWS G6e, up to 8× NVIDIA L40S | paper-reported |
| Lumerical CPU | Lumerical FDTD 2025 R1, AMD Threadripper 3960X 24-core, 64 GB | paper-reported |
26 cases were run: 23 with 20 nm bandwidth (crossing res 6–25; MMI / coupler / PSR res 6–20; mode converter / ring res 6–15) and 3 with 50 nm bandwidth (crossing, MMI, coupler at res 15).
Results
Figures of merit at 1550 nm (PSFDTD on the RTX 4090)
| Case | PSFDTD, old grid (padding 0) | PSFDTD, current grid (padding 1.5) | Tidy3D (paper-reported) | Lumerical (paper-reported) |
|---|---|---|---|---|
| crossing res 6 | 0.913 | 0.940 | 0.939 | 0.954 |
| crossing res 10 | 0.959 | 0.960 | – | 0.954 |
| crossing res 15 | 0.961 | 0.962 | 0.959 | 0.957 |
| crossing res 20 | 0.953 | 0.963 | – | 0.957 |
| crossing res 25 | 0.961 | 0.961 | 0.957 | 0.957 |
| mmi2x2 res 6 | 0.399 | 0.388 | 0.358 | 0.376 |
| mmi2x2 res 10 | 0.464 | 0.462 | – | – |
| mmi2x2 res 15 | 0.481 | 0.480 | 0.479 | 0.480 |
| mmi2x2 res 20 | 0.489 | 0.487 | – | 0.480 |
| coupler res 6 | 0.552 | 0.554 | 0.697 | 0.493 |
| coupler res 10 | 0.466 | 0.461 | – | – |
| coupler res 15 | 0.435 | 0.430 | 0.448 | 0.411 |
| coupler res 20 | 0.426 | 0.426 | – | – |
| mode_converter res 6 | 0.367 | 0.317 | 0.357 | 0.967 |
| mode_converter res 10 | 0.535 | 0.414 | – | 0.500 |
| mode_converter res 15 | 0.502 | 0.404 | 0.492 | 0.500 |
| psr res 6 | 0.455 | 0.702 | 0.051 | 0.147 |
| psr res 10 | 0.837 | 0.897 | – | – |
| psr res 15 | 0.853 | 0.903 | 0.901 | 0.940 |
| psr res 20 | 0.914 | 0.969 | 0.950 | 0.950 |
| ring res 6 (λ0, nm) | 1542.60 | 1545.01 | 1547.30 | 1546.65 |
| ring res 10 (λ0, nm) | 1542.56 | 1547.87 | 1546.37 | 1545.62 |
| ring res 15 (λ0, nm) | 1542.32 | 1547.87 | 1545.78 | 1547.72 |
Paper notes on its converged values: the mode converter converges to about 50% (TE1 at the cross port), the PSR to about 95%; for the coupler both solvers fluctuate by < 4.4% above res 15.
Ring resonator on the current grid:
| res | PSFDTD λ0 (nm) | Tidy3D λ0 (paper) | Lumerical λ0 (paper) | PSFDTD FWHM (nm) | Tidy3D / Lumerical FWHM (paper) | PSFDTD Q | Tidy3D / Lumerical Q (paper) | PSFDTD FSR (nm) |
|---|---|---|---|---|---|---|---|---|
| 6 | 1545.01 | 1547.30 | 1546.65 | 0.941 | 0.88 / 0.84 | 1642 | 1756 / 1839 | 7.19 |
| 10 | 1547.87 | 1546.37 | 1545.62 | 0.881 | 0.88 / 0.88 | 1757 | 1755 / 1755 | 7.39 |
| 15 | 1547.87 | 1545.78 | 1547.72 | 0.881 | 0.90 / 0.86 | 1757 | 1716 / 1798 | 7.45 |
The per-resolution paper values for the ring are read off the paper's figure (±0.05 nm). The lowest resonance in the 20 nm window is only defined modulo one FSR (about 7.4 nm).
Solve time at equal resolution (20 nm bandwidth, same-grid runs)
Ratios are other solver's time / PSFDTD GPU time; > 1 means PSFDTD on the RTX 4090 finished faster. Tidy3D and Lumerical times are paper-reported.
| Device | res | Cells | Steps | PSFDTD CPU, M3 Max (s) | PSFDTD GPU, RTX 4090 (s) | Tidy3D, GPU cloud (s) | Lumerical GPU, ≤ 8× L40S (s) | Lumerical CPU, 24-core (s) | vs PSFDTD CPU | vs Tidy3D | vs Lumerical GPU |
|---|---|---|---|---|---|---|---|---|---|---|---|
| crossing | 6 | 1.47e+06 | 6000 | 13.0 | 3.6 | 10 | 9 | 31 | 3.63× | 2.78× | 2.50× |
| crossing | 10 | 4.77e+06 | 9000 | 53.2 | 12.0 | 19 | 10 | 85 | 4.45× | 1.59× | 0.84× |
| crossing | 15 | 1.27e+07 | 13200 | 183.7 | 37.9 | 29 | 15 | 234 | 4.85× | 0.77× | 0.40× |
| crossing | 20 | 2.67e+07 | 17400 | 488.3 | 92.4 | 104 | 23 | 591 | 5.28× | 1.13× | 0.25× |
| crossing | 25 | 4.93e+07 | 20600 | 1224.0 | 191.4 | 78 | 39 | 1268 | 6.39× | 0.41× | 0.20× |
| mmi2x2 | 6 | 2.73e+06 | 11600 | 28.4 | 7.2 | 11 | 12 | 98 | 3.95× | 1.53× | 1.67× |
| mmi2x2 | 10 | 8.84e+06 | 16600 | 124.4 | 23.9 | 34 | 15 | 259 | 5.19× | 1.42× | 0.63× |
| mmi2x2 | 15 | 2.39e+07 | 22800 | 433.6 | 79.5 | 45 | 34 | 905 | 5.45× | 0.57× | 0.43× |
| mmi2x2 | 20 | 4.95e+07 | 24600 | 933.6 | 165.6 | 63 | 72 | 2182 | 5.64× | 0.38× | 0.43× |
| coupler | 6 | 3.04e+06 | 12800 | 32.9 | 8.3 | 18 | 13 | 148 | 3.98× | 2.18× | 1.57× |
| coupler | 10 | 1.00e+07 | 18400 | 152.0 | 28.5 | 36 | 19 | 356 | 5.34× | 1.26× | 0.67× |
| coupler | 15 | 2.67e+07 | 26600 | 550.4 | 96.7 | 63 | 42 | 1293 | 5.69× | 0.65× | 0.43× |
| coupler | 20 | 5.54e+07 | 26400 | 1093.3 | 191.5 | 150 | 77 | 2606 | 5.71× | 0.78× | 0.40× |
| mode_converter | 6 | 7.38e+06 | 46000 | 248.9 | 50.4 | 63 | 30 | 750 | 4.93× | 1.25× | 0.59× |
| mode_converter | 10 | 2.53e+07 | 82200 | 1626.0 | 269.0 | 518 | 108 | 3599 | 6.05× | 1.93× | 0.40× |
| mode_converter | 15 | 6.97e+07 | 101400 | 5175.2 | 844.8 | 413 | 393 | 14417 | 6.13× | 0.49× | 0.47× |
| psr | 6 | 7.49e+06 | 25000 | 139.8 | 27.9 | 22 | 25 | 303 | 5.01× | 0.79× | 0.90× |
| psr | 10 | 2.52e+07 | 26000 | 506.2 | 84.3 | 65 | 58 | 1073 | 6.01× | 0.77× | 0.69× |
| psr | 15 | 7.07e+07 | 34000 | 1555.5 | 286.1 | 81 | 150 | 3478 | 5.44× | 0.28× | 0.52× |
| psr | 20 | 1.51e+08 | 38600 | 4260.2 | 672.2 | 613 | 277 | 9665 | 6.34× | 0.91× | 0.41× |
| ring | 6 | 7.73e+06 | 51419 | 288.5 | 56.8 | 233 | 52 | 1168 | 5.08× | 4.11× | 0.92× |
| ring | 10 | 2.70e+07 | 79165 | 1682.5 | 269.2 | 307 | 157 | 4685 | 6.25× | 1.14× | 0.58× |
| ring | 15 | 7.60e+07 | 120149 | 6757.4 | 1058.0 | 1104 | 476 | 16815 | 6.39× | 1.04× | 0.45× |

Solve time per case on a log scale: PSFDTD on the M3 Max CPU and on one RTX 4090 (local runs) against the paper-reported Tidy3D GPU-cloud and Lumerical GPU (≤ 8× L40S) times.
Time-stepping throughput (G cells·steps/s)
| Device | PSFDTD CPU, M3 Max (max) | PSFDTD GPU, RTX 4090 (max) | Tidy3D at res 25 (paper) | Lumerical GPU at res 25 (paper) | Lumerical CPU at res 25 (paper) |
|---|---|---|---|---|---|
| crossing | 1.43 | 8.64 | 12.8 | 12.7 | 0.39 |
| mmi2x2 | 1.45 | 8.56 | 19.0 | 17.3 | 0.43 |
| coupler | 1.45 | 8.61 | 17.5 | 13.1 | 0.42 |
| mode_converter | 1.38 | 8.50 | 36.0 | 49.8 | 0.44 |
| psr | 1.61 | 9.09 | 25.8 | 20.2 | 0.44 |
| ring | 1.42 | 8.86 | 31.9 | 39.5 | 0.56 |
PSFDTD values are time-stepping throughput only (no initialization, calibration or mode solves). The paper values are grid × iterations / runtime at res 25, which includes their initialization and I/O, and the Tidy3D / Lumerical GPU figures are for multi-GPU cloud hardware.
Comparison
Figures of merit vs paper-reported Tidy3D / Lumerical (current grid, RTX 4090)
- Crossing: 0.962 / 0.963 / 0.961 at res 15 / 20 / 25, against a paper-converged 0.957 for both solvers.
- 2×2 MMI: 0.480 / 0.487 at res 15 / 20, against 0.479 (Tidy3D) and 0.480 (Lumerical).
- Directional coupler: 0.430 / 0.426 at res 15 / 20; at res 15 the paper reports 0.448 (Tidy3D) and 0.411 (Lumerical), so PSFDTD lies between the two.
- PSR: 0.903 / 0.969 at res 15 / 20; the paper reports 0.901 (Tidy3D) / 0.940 (Lumerical) at res 15 and 0.950 for both at res 20.
- Ring: at res 10 / 15 FWHM 0.881 nm and Q 1757, against paper values of 0.86–0.90 nm and 1716–1798 at the same resolutions. λ0 is 1547.87 nm at both res 10 and res 15, against 1546.37 / 1545.78 nm (Tidy3D) and 1545.62 / 1547.72 nm (Lumerical).
- Mode converter: does not match; see Limitations.
Solve time (same-grid runs)
- vs Tidy3D (paper-reported, multi-GPU cloud): geometric mean 1.00× (range 0.28–4.11×). PSFDTD on one RTX 4090 is faster in 10 of the 12 cases at res ≤ 10, and in 2 of the 11 cases at res ≥ 15.
- vs Lumerical GPU (paper-reported, ≤ 8× L40S): geometric mean 0.59× (range 0.20–2.50×). PSFDTD is faster in 3 of 12 cases at res ≤ 10 and in none of the 11 cases at res ≥ 15.
- vs Lumerical CPU (paper-reported, 24-core Threadripper 3960X): 6.18–20.58× faster (geometric mean 12.01×).
- vs PSFDTD on the M3 Max CPU (local): 3.63–6.39× faster in total solve time (geometric mean 5.29×), 5.1–7.2× in time stepping alone. Stepping throughput is 7.1–9.1 G cells·steps/s on the RTX 4090 for grids above 5 Mcells, against 1.15–1.61 on the M3 Max.
- By time-stepping throughput, one RTX 4090 reaches 17%–68% of the paper's res 25 cloud throughput.
CPU/GPU consistency (same grid, FP32): the primary metric differs by at most 8.5e-08 and the transmission over all ports and wavelengths by at most 2.5e-07; the ring λ0, FWHM and Q agree to the printed digits (for example 1542.3223 nm, 0.8809 nm, 1750.9 at res 15).
Limitations
- Mode converter: 0.404 vs about 0.49–0.50. On the current grid the TE1 transmission is 0.414 at res 10 and 0.404 at res 15, while the paper reports 0.492 (Tidy3D) and 0.500 (Lumerical) at res 15 and a converged value of about 50%. On the old grid PSFDTD gave 0.535 / 0.502. The mesh change that fixed the ring moved this device away from the paper by −0.121 / −0.098. The cause has not been investigated; the report notes that the evanescent-padding change does not improve every device and that the mesh and mode overlap of this device need a separate look.
- Ring resonance wavelength. On the old grid the lowest resonance was 1542.3–1542.6 nm against the paper's 1545.0 (Tidy3D) / 1545.6 (Lumerical), a systematic −2.7 nm offset. It was traced to the automatic mesh coarsening too quickly outside the core (under-resolved evanescent field) and fixed with
grid.evanescent_padding. On the current grid PSFDTD is at 1547.87 nm at res 10 and 15, still above the paper-reported Tidy3D values at the same resolutions (1546.37 nm at res 10, 1545.78 nm at res 15); an M3 Max run at res 20 gave 1546.03 nm, +0.95 / +0.45 nm from the paper-reported Tidy3D / Lumerical values (1545.08 / 1545.58), which themselves differ by 0.5 nm. There is no res 20 or res 25 ring run on the RTX 4090. - PSR at res 20 overshoots. 0.969 against the paper's 0.950; on the old grid it converged slowly from below (0.914 at res 20).
- Low resolution is not converged for any solver. At res 6 the three solvers disagree widely (for example coupler 0.554 / 0.697 / 0.493, mode converter 0.317 / 0.357 / 0.967, PSR 0.702 / 0.051 / 0.147 for PSFDTD / Tidy3D / Lumerical).
- PSFDTD does not win on time at high resolution. At res ≥ 15 the paper's cloud runs, which scale to multiple GPUs, are faster in most cases (as low as 0.28× vs Tidy3D and 0.20× vs Lumerical GPU). The paper's cloud times also grow much more slowly than grid size on small problems, where fixed overhead dominates.
- Non-stepping overhead. The source calibration run takes up to 30% of the PSFDTD total (crossing res 20), and the mode solves take 1.5–14.6 s per case on the host CPU; in the smallest cases they exceed the time stepping.
- Not a like-for-like comparison. Hardware differs for every column; meshes and step counts differ between solvers at the same nominal resolution (for example crossing at res 25: PSFDTD 4.93e7 cells / 20600 steps, Tidy3D 4.83e7 / 20659, Lumerical 4.55e7 / 10843); the energy-based stopping criteria are defined differently; and PSFDTD's port modes come from Tidy3D's local mode solver rather than its own.
- Mixed meshes in the tables. The timing table uses the old mesh (to match the CPU baseline cell for cell), the figures of merit the current one. On the current mesh the RTX 4090 totals are slightly longer (for example ring res 15: 1119.9 s vs 1058.0 s; crossing res 25: 203.3 s vs 191.4 s).
Reproduce
From the psfdtd repository. $TD is a Python with tidy3d, gdstk and pyyaml; the GPU build needs cargo build --release --features psfdtd-cli/cuda. GDS, port YAML and material fits are downloaded from the authors' repository on first run.
$TD -m bench.liu2025.run_one crossing 10 20 device=cuda:0 # one (device, resolution, bandwidth nm)
$TD -m bench.liu2025.queue --device cuda:0 --work bench/work/liu2025-cuda # current grid
$TD -m bench.liu2025.queue --device cuda:0 --padding 0 --work bench/work/liu2025-cuda-samegrid # same grid as the M3 Max baseline
python3 -m bench.liu2025.compare --out bench/baselines/liu2025-rtx4090 # side-by-side reportCPU runs use the same commands without --device cuda:0:
$TD -m bench.liu2025.queue
python3 -m bench.liu2025.report --out bench/results/liu2025/report.mdThe baselines behind this page are bench/baselines/liu2025-rtx4090/ (report.md, summaries-current.json, summaries-samegrid.json) and bench/baselines/liu2025-m3max/.
N = 8 star coupler (DeSantis 2024)
3D FDTD of the N = 8 DFT star coupler of DeSantis et al., Opt. Express 2024, compared port by port with the paper-reported Lumerical simulation and measurement.
Analytic and Meep correctness suite
Eight small 2D/3D problems checked against closed-form solutions, against Meep on an identical grid, and GPU-vs-CPU on an RTX 4090.