Hello everyone,
I am currently working on a project where I need to optimize the thickness of unit cells in a finished CAE model using Abaqus. I am scripting this process in the Python Development Environment (PDE) of Abaqus. The optimization is focused on the thicknesses of the unit cells, which have specific allowed values (1.1, 1.2, 1.3, and 1.4 mm).
However, I am encountering an error when I try to define the design variable for the optimization process. The error message is:
'Model' object has no attribute 'DesignVariable' (line 23 of the attached file)
Context:
- CAE File: Abgabe_Modell_X-Gradierung - Kopie.cae
- Model: Model-1
- Objective: Optimize the unit cell thicknesses using topology optimization by linearizing the force displacement curve.
- Sections and Materials: There are four sections (section_1, section_2, section_3, section_4) and corresponding materials (TPU1, TPU2, TPU3, TPU4).
Questions:
- Is there a mistake in how I am trying to define the design variable?
- Is there an alternative method to define and use design variables for optimization in Abaqus scripting?
- Are there specific versions of Abaqus where certain commands or methods might be different?
Any insights or suggestions would be greatly appreciated!
Thank you in advance for your help.
Best regards,
Hassen Aloulou
