TAGGED: Lumerical-FDTD, modeling-setup-advice, optimisation, scripting
-
-
February 16, 2022 at 11:05 pmStealthbird97Subscriber
Hi,
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.
Many Thanks
Cori
February 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
setnamed("dipole","z",zmax-DD);
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 /forum/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- The topic ‘Constraining dipole position to a structure group variable in particle swarm optimisations’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- How to measure transmission coefficients on a given plane .
Top Contributors-
1241
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 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.
-