I would like to optimize a design by having an optimizer make changes to a CAD file, which is then analyzed in FEM, and the results fed back into the optimizer to make changes on the design based on the FEM, until the solution converges to an optimum (mass, stiffness, else).
This is what I envision:
- create a blueprint of the part in a CAD software (e.g. CATIA).
- run an optimizer code (e.g. fmincon) from within a programming language (e.g. Python). The parameters of the optimizer are parameters of the CAD model (angles, lengths, thicknesses, etc.).
- the optimizer evaluates a certain design (parameter set). The programming language calls the CAD software and modifies the design accordingly.
- the programming language extracts some information (e.g. mass).
- then the programming language extracts a STEP file and passes it a FEA solver (e.g. Abaqus) where a predefined analysis is performed.
- the programming language reads the results (e.g. max van Mises stress).
- the results from CAD and FEM (e.g. mass and stress) are fed to the optimizer, which changes the design accordingly.
- until it converges.
I know this exists from within a closed architecture (e.g. isight), but I want to use an open architecture where the optimizer is called from within an open programming language (ideally Python).
So finally, here are my questions:
- Can it be done, as I described it or else?
- References, tutorials please?
- Which softwares do you recommend, for programming, CAD and FEM?