simulate_bend

si_fab.components.fixed_bend.simulation.simulate_lumerical.simulate_bend(layout, project_folder, mesh_accuracy=1, wavelengths=(1.5, 1.6, 101), inspect=False)

This function simulates a waveguide bend using Luceda Link for Ansys Lumerical FDTD and returns an s-matrix. The bend is assumed to be symmetric

Parameters:
layouti3.LayoutView

Layout of the bend. The bend is assumed to have the ports “in” and “out”

project_folderstr

Folder in which the simulation is performed

mesh_accuracyint, optional

Accuracy of the mesh, 1 is coarse 5 is fine

wavelengthstuple, optional

Tuple of the simulation range (start_wav, end_wav, n_samples)

inspectboolean, optional

Inspect the simulation project before running

Returns:
smatrix