February 10, 2021 at 12:23 amGuanhui WangAnsys Employee
Here I wanna show how to start creating a parameterized model for your FDTD optical component and start using it on the circuit level in INTERCONNECT. I will use a simple example of a Taper waveguide.
Goal: To have a circuit component (TE taper) in INTERCONNECT that has some parameters (w1, w2, L). You can choose any values for those parameters and INTERCONNECT checks the S parameters of the component in a look up table (.xml file). If available, the S parameters file is loaded. If not, a message pops up giving you one of 2 options: 1) Use the nearest S parameters file 2) Generate S parameters file using FDTD.
In general, I always have 2 directories; one for the S parameters files and look up table, the other is for the FDTD files and scripts.
- Steps in FDTD:
- In FDTD folder, create a folder called “taper”. Then create a file called “taper.fsp”.
- Define w1, w2, L as variable in MODEL.
- Write a script to the setup tab of MODEL such that all the components, the FDTD region, the meshes and the monitors are all automatically changed with the design parameters (w1, w2, L).
- Since the taper is a 2-port network, define a variable in MODEL called “port”. This variable is responsible for creating the source either at port 1 or port 2.
- Write a script that set the PORT = 1 and calculates the S-parameters. Then sets PORT =2 and calculates the S-parameters again. This script writes the calculated S-param to a file named
sfilename = “w1=” + num2str(w11e6) + “um_w2=” + num2str(w21e6) + “um_length=” + num2str(L*1e6) + “um.dat”;
- It is all straight forward except the definition of the S12 and S21 where the change in the waveguide cross section should be considered:
When we run the script above, a .dat file that has all the S-parameters ready to be used in INTERCONNECT is automatically created in the same directory.
The next step is to create a look up table which is easily done through script. This script creates a look up table file that has one record for whatever combination of (w1,w2,L) you choose. Of course, you can do a sweep and create a long look up table for the different combinations but for the sake of illustration one case is enough. We will rely on INTERCONNECT to prompt FDTD and simulate any missing cases.
- Steps in INTERCONNECT
Viewing 0 reply threads
- Insert an Optical N-port S-parameter from the Library. Right-click >> create compound element
Ansys Innovation Space
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- “Import optical generation” or “delta generation rate”?
- Error: addfdtd is not a valid function or a variable name
- Error on Lumerical device
- Using a license file on a new license server
- Ansys Insight: Transmission results greater than one
- Ansys Insight: Diverging Simulations
- Finding your Ansys (or Lumerical) account number
- Is there a Lumerical script command to output the Simulation and Memory requirements?
- Ansys Insight: Why my simulation result is different from published paper or experiment?
Top Rated Tags
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.