In general, there are two methods for performing design optimization which are the followings:
The first method is using scripting or in another word coupling a numerical software (Ansys) with a mathematical model (Matlab or even Excel) for performing design optimization. In this method, you manipulate your inputs parameters in the numerical software and calculate the result. Then export the result to the mathematical model and predict what are the new values for the input parameters for the next iteration. You can develop linear or nonlinear model for predicting the new values (according to your needs). This is something like inverse design where Bendine Kouider also mentioned in his answer. this method is a very powerful method for design optimization where you can get very accurate results.
Second method is Design of Experiment (DOE) where you form a design table based on your input parameters, then run the numerical software (Ansys) for calculating the results. After calculating the results (outputs), you can calculate a response surface (or just an equation) for correlating the input parameters to output parameters. This way you can optimize your design. Depends on how many iterations you are performing and what method of DOE is used you can estimate your optimized value for input parameters.
In general, there are two methods for performing design optimization which are the followings:
The first method is using scripting or in another word coupling a numerical software (Ansys) with a mathematical model (Matlab or even Excel) for performing design optimization. In this method, you manipulate your inputs parameters in the numerical software and calculate the result. Then export the result to the mathematical model and predict what are the new values for the input parameters for the next iteration. You can develop linear or nonlinear model for predicting the new values (according to your needs). This is something like inverse design where Bendine Kouider also mentioned in his answer. this method is a very powerful method for design optimization where you can get very accurate results.
Second method is Design of Experiment (DOE) where you form a design table based on your input parameters, then run the numerical software (Ansys) for calculating the results. After calculating the results (outputs), you can calculate a response surface (or just an equation) for correlating the input parameters to output parameters. This way you can optimize your design. Depends on how many iterations you are performing and what method of DOE is used you can estimate your optimized value for input parameters.
But you will need a lot of simulations, for a large number of variables (from 8 variables and more), especially in size optimization problem.
In the latest versions of the ANSYS program, it is available directly using the design of experiments (Workbench or APDL). I found it difficult in this technique.