How can Solve Process Settings be automatically modified for all solvers defined in Mechanical?
Javier Vique
Member, Employee Posts: 86
✭✭✭✭
in Structures
Let's assume that an user wants to make sure that only Mechanical Premium license is got regardless of the selected solver. This can be done including an Additional Command Line Argument '- mech_2' for each solver. How to do it in a simple click for all solvers?
0
Answers
-
For this, we can make use of Mechanical Scripting. The code given below includes the argument commented (- mech_2). It can be also used with other command lines such as -mpi.
collection = ExtAPI.Application.SolveConfigurations queues_list = list(collection) for config in queues_list: config.SolveProcessSettings.AdditionalCommandLineArguments = '- mech_2'
1 -
just cross linking, is anyone needs RSM settings or any other settings for solver configurations
https://discuss.ansys.com/discussion/2269/set-solve-process-settings-and-rsm-queue-through-scripting
1