-
-
July 10, 2025 at 10:09 am
jan-henrik.rieger
SubscriberHi, I am fairly new to working with OptiSLang. I am trying to optimise the GEKO parameters so that the Nusselt number plots best match the measurements. To do this I have several different cases/velocities. My plan is to copy the most relevant systems/nodes. My main problem at the moment is that I am trying several different objective functions such as MSE/MSA and weighted versions. Is there a smart way to integrate new objective functions into already calculated sensitivity and AMOP nodes, or do I have to recalculate both nodes every time I want to try a new objective function. I have tried to set the text input and fluent node to ‘read only mode’, but this still seems to cause errors, especially with the AMOP. These can be seen in the images. I would be grateful for a good tip on how best to deal with this.
Greetings Jan-Henrik -
July 15, 2025 at 8:08 am
Veit Bayer
Ansys EmployeeDear Jan-Henrik,
there are quite a few options to study different objectives before going into the optimization. The first step is to do a Sensitivity analysis and get a good metamodel for all relevant responses. So your workflow, to start with Sensitivity and refine the model by AMOP's smart sampling (I recommend local search) is perfectly allright.Â
- In the postprocessing app, you pull the "Parametrization" window into the tableau, go to the tab "Criteria" and add whatever you want. Then click apply. Use all plotting options (Anthill, Cloud and Parallel coordinates plots) to see how the new criteria behave. This is the simplest and recommended way to study different objective and constraint formulations. You can extract good start value(s) for the subsequent optimization, too.
- This way does not interfer with the optiSLang workflow and will not call the solver.
- Note that MOP does not create metamodels for criteria, only responses. Neither it is possible to create a MOP for such new variables generated as above in the postprocessing.
But there is more about it:
- If you missed to extract a solver response, you can edit the ETK node only, eventually extract a new response from the solver files or create one in the Variables tab.Â
- For a simple sampling (Sensitivity), no extra solver calls are launched. For AMOP, the behaviour is more complex, due to its iterative nature.Â
- If you edit only the ETK in the AMOP system, Start designs imported from Sensitivity don't match anymore: they will be re-calculated.Â
- It might be the same behaviour if AMOP is set to local search.Â
- You may also drag the Reevaluation wizard onto the last system. It will set the input and solver nodes to read-only, as you did, and you again have the option to edit the ETK node. The system will iterate over the design directories without additional solver calls. But it operates only on the design directory of the current system. Means, if AMOP imports e.g. 100 start designs and begins to compute design #101, Reevaluate will also start with #101.
I hope with the above recommendations you are able to prepare a sucessful and efficient optimization.
Best regards,
Veit
-
July 15, 2025 at 12:32 pm
jan-henrik.rieger
SubscriberHello Veit,
Thank you very much, this is very helpful information. I am also struggling with another problem. As I said, I have several different cases/velocities that I want to optimise. So I am building a separate system for each case with text input, Fluent solver and ETK. Due to Fluent licence restrictions, I cannot calculate all cases in parallel. Is there a way to put the calculation of unfinished systems in a project in a ‘queue’, so that e.g. ‘Sensitivity H50mm u46ms’ only starts to calculate when ‘Sensitivity H50mm u32ms’ has been successfully calculated (assuming both have not yet been calculated). Or do I always have to start the individual systems manually one after the other? I have read that you can select the parallel processes under "%APPDATA%\Ansys\optiSLang -> IM_DegreeOfParallelism", but I am unsure whether this will lead to my desired goal. Currently the value is set to IM_DegreeOfParallelism = -1.
Greetings
Jan-Henrik
-
July 16, 2025 at 7:39 am
Veit Bayer
Ansys EmployeeHi Jan-Henrik,
The IM_DegreeOfParallelism setting would allow you to launch more parallel solver calls (I don't go into detail here), what you obviously don't want.Â
It seems that the two cases are to identified independent from each others, correct? If you want to run both cases subsequently, but with just one click, it is easy to chain the two Sensitivity systems. Go to the "connect nodes" icon
 or right-click anywhere in the white space, then select the first and second Sensitivity as sender and receiver, connect the slots OSucces and enabled state just by dragging.Â
Note that the second system will start only when the first was successful.
Cheers,
Veit
-
July 16, 2025 at 12:26 pm
jan-henrik.rieger
SubscriberThats exaclty what I needed. Thanks a lot for your helpful answers.
Greetings
Jan-Henrik
-
- You must be logged in to reply to this topic.
- Response constraint not allowing structural optimization to solve.
- Feasibility Check – FT Sensor Flexible Chassis Design Optimization
- Issue with Reaction Force Scaling in ¼ LS-DYNA Model Simulation
- Method to properly export/import APDL readable solids
- Extremely Low Rotor Core Loss in Rotor Lamination Simulation Using Maxwell 2D
- OptiSlang sensitivity analysis can’t assign different values to the parameters
- Compute Adjoint sensitivity wrt viscosity
- Data management and subsequent insertion of variables/responses
-
3492
-
1057
-
1051
-
965
-
942
© 2025 Copyright ANSYS, Inc. All rights reserved.