Ansys Learning Forum › Forums › Discuss Simulation › Photonics › 2D inverse design grating coupler › Reply To: 2D inverse design grating coupler
Hi Rahul,
Thanks for the additional information. For your first question regarding the sweep, the script “pid_grating_coupler_sweep_2D.py” is calling a sweep that is defined in the base Lumerical file "pid_grating_coupler_2D_TE_base .fsp". Specifically, if you look at line 85 in the Python script, it uses runsweep - Script command – Ansys Optics to run the sweep that has previously been defined in the base Lumerical file. So the sweep endpoints are set in the base Lumerical file. On the ‘Optimizations and Sweeps’ tab, you should see the sweep ‘sweep source position.’ From there, you can edit the values that are included in the sweep. This is illustrated in the screenshot below:
Regarding your second question about running FDTD on a high-performance computer, I can direct you to some resources to get started. Please see this page for a general overview: Introduction to High-Performance Computing with Lumerical – Ansys Optics
It sounds like you will be running on a local cluster, so this page Running Lumerical on a Local On-premise Cluster – Ansys Optics contains instructions in how to set this up.
Best,
Anna