August 15, 2023 at 4:21 pmKarl JohnsonSubscriber
I am attempting to perform a sweep of EME simulations (and the parameter I am sweeping can not be done using the special propagation and wavelength sweep tools in the EME solver). In order to use the "optimization and sweeps" panel, I need to write an analysis script for the model so it generates the results that can be saved for each point of the sweep. However, when writing my analysis script, it does not recognize the 'emepropagate' command as valid, even though this is required in order to generate results with EME:
Is there any way to run 'emepropagate' from an analysis script? Additionally, I noticed that the "select" command is not recognized as valid in analysis scripts. In general, is there any documentation indicating which script commands are/aren't valid for analysis scripts? It seems like they have a special scope, but it is not clear exactly what this scope is to me.
For now, I am writing my own script in the main script editor (not as an analysis script) to perform the same sweep as a workaround, but the built-in "Optimizations and Sweeps" tool is very convenient, so I was hoping there would be a way to use it along with the EME solver.
August 15, 2023 at 5:12 pmGuilin SunAnsys Employee
Unfortunately this command is not designed to run in "model".
You will need to use script to do the sweep.
But usually the sweep in "Optimizations and Sweeps" will automatically run the simulation and the emepropagate in order to give result. Please try.
August 15, 2023 at 5:30 pmKarl JohnsonSubscriber
Thanks for the fast response! I tested it, and indeed the EME propagator does run when you perform a sweep, even if you don't put it in the analysis script. I did not expect that behavior, that is a big help! Is there anywhere in the documentation detailing what commands are/aren't design to be used in the 'model' analysis script, and what runs automatically when a sweep is performed?
August 15, 2023 at 6:46 pmGuilin SunAnsys Employee
Currently no such a list as the script commands are dynamic as some may work as a new feature.
The sweep utility is complete for all the simulations since people want the sweep results ready to use.
- 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.
- “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
- Questions about the calculation of the cross-polarization conversion efficiency of metasurface
- Error on Lumerical device
- 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
© 2023 Copyright ANSYS, Inc. All rights reserved.