Home › Forums › FDTD › Parameter Sweep with Scripted Layout › Reply To: Parameter Sweep with Scripted Layout

The problem is that you cannot tell the product to use a sweep on a structure that is build with a script. Instead you need to use a script. If you copy and paste your script to notepad and then take your design and check “Generate User Script” in the Parameter Sweep window it will generate a script that will iterate through your parameter sweep and generate the output files (they are .psr files just open them in notepad or similar product). To include your build script you add a function to the generated script for building and you make a call to the script in the for loop. Then run the simulation using the script.
I have an example of this using your design file attached.
Scott
Categories
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)