TAGGED: design-optimization, inverse-design, optimization
-
-
July 13, 2023 at 1:28 pm
Ziyao Zhang
SubscriberI am using FDTD paritcle swarm optimization, and the optimization process needs a lot of time, however the optimization was interrupted because of the windows update. Is it possible to continue the optimization? I tried to click the continue button but it shows error obtaining parameter sweep info.
Besides, I also want to give intial parameters to the particle swarm optimization, according to the Lumerical introduction of optimization, this can be realized by edit the "advanced-first generation scrip", however I can not write anything in the "first generation script" window, may I ask are there anyway to change the initial parameters of the optimization please?
Thank you so much for the help!
-
July 13, 2023 at 11:34 pm
Devika Padmakumar Nair
Ansys Employee -
July 14, 2023 at 12:05 pm
Ziyao Zhang
SubscriberHi Devika,
Many thanks for the reply. The initial parameters I meant is the exact value. For example, I had the best solution parameters of the interrupted optimization, but it is still not the best structure, so I want to use the parameters as the first generate parameters of the new PSO process to avoid totally random initial parameter, for saving time. Hope I expained it clearly.
-
July 14, 2023 at 4:41 pm
Devika Padmakumar Nair
Ansys EmployeeAs mentioned before initial parameters can be changed by altering values at edit optimization –>Setup.
If you are using random starting values: Select Algorith "Particle Swarm" from drop down option. If you like to choose cutom values choose "User defined"
If you choose User defined, then only you will be able to upate "frist generation script".
First generation script is used to define initial parameters rather choosing random numbers. Those initial parametrs are assigned over setup-parameters window (see the screenshots above). If you click “test” on the script winow(bottom right corner of next generation script) you will be able to see all the asigned paramters. If you chage Min and Max value it will reflect in the 1st generation script values.
eg: If I am optimizing length and I want to use length between 0.2 – 0.4microns rather using random starting values
To make sure the values are changed in 1st gen script, I am running test
As ou can see the initial parameters changed
You can find more information here :Optimization utility – Ansys Optics
Hope this helps
-
- 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.

Ansys Blog
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.
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Error on Lumerical device
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- Ansys Insight: About override mesh in FDTD: its use and settings
- Finding your Ansys (or Lumerical) account number
- Lumerical – error message when trying to open from Linux terminal
-
7592
-
4440
-
2953
-
1427
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.