Tagged: Lumerical-FDTD, modeling-setup-advice, optimisation, scripting
February 16, 2022 at 11:05 pmStealthbird97Subscriber
Can anyone suggest how I can setup my FDTD simulation such that that the dipole is constrained relative to an interface.
I am trying to optimise the thickness of a material layer which has emitters fixed 10nm from the bottom interface with another material, however, I am unsure how I can make sure that the dipole is always this set distance while changing the thickness of the material using a PSO.
To set the thickness of the material, I set the zmax = 0 and zmin using variables in a construction group. As I have things above the substrate, my convention is to set the surface to zero and the substrate is negative z.
However, as the dipole can not be in a construction group, and as far as I am aware construction group setup can not access "global" variables I see no way I can set a single variable in the PSO and have the thickness set and dipole positioned correctly.
Please tell me if I am wrong in thinking this.
CoriFebruary 17, 2022 at 6:20 pmGuilin SunAnsys EmployeeYou are right that "construction group setup can not access "global" variables" and "the dipole can not be in a construction group". However the "model" can access all the objects, since it is the root. Please refer the replies in another post.
Once the parameters are set in "model" or "analysis group", your PSO settings can access the "model" or the "analysis group", and any change of those parameters can change the object properties as you set in "model", or "analysis group".
For example, in "model" you set DD as dipole distance to a surface from its "zmax", then you can use
So when you change "zmax", the dipole location will automatically change due to the above script.
In PSO, you set "zmax" to be optimized. (or its thickness but you will need to another script to convert thickness to zmax).
Please note that, since you use "zmax" to optimize, you may not set its range begins from zero. It should be at least "DD" so that this layer has a thickness zmax-zmin>=DD.
February 17, 2022 at 8:46 pmStealthbird97SubscriberThanks for the response I did not think of "pushing" the variable values into the structure groups from the model setup instead of trying to "pull" them from the model variables to the structure group setup.
Yes, I think I understand how to implement this.
Probably good for future reference to include link to the other post https://forum.ansys.com/discussion/35984/nesting-or-dependent-structure-groups
The bandstructure examples https://support.lumerical.com/hc/en-us/articles/360042038213 were helpful.
February 17, 2022 at 9:50 pmGuilin SunAnsys EmployeeVariables can only be pushed from root to branches, not the other way. The roof can access all the data from the branches, either the setting data, or the result.
Viewing 3 reply threads
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
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- 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
- Ansys Insight: About override mesh in FDTD: its use and settings
- Is there a Lumerical script command to output the Simulation and Memory requirements?
- Ansys Insight: Convergence issues in CHARGE
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.