Thanks cbrn,
that is exactly how it works, with this method you can call another programs like ADAMS which run or solver anything and when Matlab finish, read the solution and calculate or optimize. I don't know how Ansys can call an external application to do something... sorry. But I hope that...
The parameters for Ansys are known before Optimization starts but only to initialize Ansys, and then there is exchange information between ansys and matlab and vice versa.
I’m not sure about your question, perhaps matlab can “waiting” if you make a parallel computation but I've never done it...
Hello mihaiupb,
the algorithm is a multi-objective optimization function where the input arguments are:
pop - Population size, p.e.100
gen - Total number of generations,p.e.50
then matlab run ansys in this case 50*100 times, you will get pareto front with the optimals solutions, and not run more...
I used Matlab yo optimized a simulation in Ansys, you need the next: a started, a macro in Ansys and a batch. To optimize I used nsga-II an algorithm created by Deb. I did the next:
In the file in Matlab call the batch:
function vo=fv(x)
%Generate the file for ANSYS
%Open the file...
Hi,
I would like to have a good approximation between a real Jeffcott rotor (Laval rotor) and one simulated in Ansys. I used SOLID185, COMBIN14 for the bearings and CONTAC52 for a crack. I have created a parametric macro to make changes very easy in which the variables are:
L=LENGTH OF THE...