June 11, 2021 at 8:15 amabucSubscriber
I am trying to simulate the effect of changing the arm length of a MZI on the free spectral range (FSR). However, the sweep fails with the following message:June 11, 2021 at 6:40 pmGuanhui WangAnsys EmployeeHi abuc
In this case you may want to use script to take the mean of the FSR values in the Root Element Analysis script and add the result as a result to the Root Element, then sweep this reuslt instead. The "mean" operation in sweep takes the mean value amonst the sweeps, for example if you have each result as 1xM in size and sweep for N points, without taking the mean you have N times of 1xM results, and with the mean operation, you have 1 1xM final result.
June 14, 2021 at 10:00 amabucSubscriberHi Gwang thank you for your answer. I managed to add the analysis script to the root element and it works. Just one additional question: Is it possible that the Analysis script in the Root element is just executed in a parameter sweep? When I perform a single run I get the following warning/error message:
This is how I've set up the script:
Is there something I can do differently?
Best regards Anton
June 14, 2021 at 9:52 pmGuanhui WangAnsys EmployeeHi Anton
You are absolutely right that the analysis script automatically runs in sweeps but not in single individual runs. You can use the "runanalysis" command to run the analysis script to populate the result.
June 15, 2021 at 9:29 amabucSubscriberHi Gwang thank you very much for this tip.
Viewing 4 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
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
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error on Lumerical device
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Transmission results greater than one
- Ansys Insight: Convergence issues in CHARGE
- Is there a Lumerical script command to output the Simulation and Memory requirements?
Top Rated Tags
© 2022 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.