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 dimensionto 0 (for example: tidy3d.Simulation(size=[size_x, size_y, 0])
). Additionally, specify a tidy3D.Periodic boundary condition in that direction. For an example of running a 2D simulation in Tidy3D, see the 2D ring resonator notebook.