June 28, 2023 at 11:22 amMostafa Ahmadi DarmaniSubscriber
I have recieved errors duirng optimisation using OptiSlang.
I have some models in anasys maxwell that I want to optimise them.
I have imported the models in ansys workbench. Then, I created a project in OptiSlang importing the workbench model. I run the model and ther was no error.
However, I recieved errors "WB_Model processed erroneously" when I tried to define sensivity/optimisaiton. Also, I checked the log file, it was reported "Error calculating criteria: "Parameter" is uninitialized". Would you please explain how to resolve this issue.
June 30, 2023 at 2:01 pmMarkusAnsys Employee
In general, to connect Ansys Maxwell you can eighter use Ansys Workbench (as you stated) or Ansys Electronic Desktop (AEDT):
There are in general examples in the help, e.g. for AEDT here: Calibration of a Damped Oscillator Using Signals in Ansys Twin Builder
For the Ansys Workbench node error:
I understand that the process integration is working fine. If you have errors in some designs of the Sensitivity Analyses/ Optimization, this could have several reasons e.g. your geometry could not be generated because of conflicts (or mesh/solve was not possible), missing licenses etc. which results in an error.
I would suggest going to the “Execution settings” of the Workbench node, as you can see here highlighted in yellow:
-Change Designs per process =1,
-Use “batch mode with GUI” (then you will see how Ansys Workbench opens and executes and you will see possible messages/errors),
-Use “Retain Design Pints Files…” (this saved the workbench project in the design directory of optiSLang and you can later open the project and check possible messages/errors).
Based on your finding you may can e.g. adjust/ improve the reference workbench project (defined in the workbench node in the “absolute path”).
You find more details on the settings in the help: Integrations Folder (ansys.com)
I hope this helps.
June 30, 2023 at 2:44 pmMostafa Ahmadi DarmaniSubscriber
Thank you so much for the explaination.
I have checked the examples in the tutorial folder of Optislang previously.
My model is fully parameterized and there is no problem with the geometry in the sensivity ranges. Also, I used the points I got error manually, and the simulations werere fine.
Do you have any solutions for this condition?
Thank you so much for your support.
July 3, 2023 at 8:30 amMarkusAnsys Employee
good that you checked that it has nothing to do with the Geometry / Solving etc.
But it can be still an issue related to infrastructure e.g. a too long paths (Workbench can handle per default a certain number of characters, with Maxwell in Workbench that is driven by optiSLang paths get very long), missing licence, missing files in the process when optiSLang runs Workbench etc.
So the mentioned/described approach above is still valid. So, the steps above are what I would check/do next.
- 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.
- Errors about integrate executable into ANSYS Workbench using ACT
- How many designs are generated while performing optimization using Optislang with NLPQL?
- Design of Experiment points: Design Exploration
- ANSYS Optislang
- Optislang workbench add-in
- Local Sensitivity and Sensitivities: what difference?
- Parameter relationships for Optimization
- Parametric study: Batch mode
- DesignXplorer vs optiSLang for Workbench CFD Optimization
- Optislang Adaptive Metamodel of Optimal Prognosis(AMOP)
© 2023 Copyright ANSYS, Inc. All rights reserved.