How to run a 2D simulation in Tidy3D?

How to run a 2D simulation in Tidy3D?#

Date

Category

2023-12-03 21:00:22

Simulations

To run 2D simulations in Tidy3D, set the simulation size in one dimension to 0 (for example: tidy3d.Simulation(size=[size_x, size_y, 0])). Additionally, specify a tidy3d.Periodic boundary condition in that direction.

Note that the structures should still be regular 3D structures.

For an example of running a 2D simulation in Tidy3D, see the 2D ring resonator notebook.