OS-T: 2060 Symmetry and Draw Direction Constraints Applied Simultaneously
In this tutorial you will perform a topology optimization on an automotive control arm with the simultaneous application of symmetry and draw direction constraints.
Before you begin, copy the file(s) used in this tutorial to your
working directory.
This tutorial uses the same optimization problem considered in OS-T: 2010 Design Concept for an Automotive Control Arm, except that a
refined mesh will be used in order to better capture the effect of applying
symmetric and draw manufacturing constraints simultaneously. The finite element mesh
of the structural model containing the designable (blue) and the non-designable
(red) regions, along with the loads and constraints applied.
The optimization problem is stated as:
- Objective
- Minimize volume.
- Constraints
- SUBCASE 1: The resultant displacement of the point where loading is applied must be less than 0.05 mm.
- Design Variables
- Element density.
Launch HyperMesh and Set the OptiStruct User Profile
-
Launch HyperMesh.
The User Profile dialog opens.
-
Select OptiStruct and click
OK.
This loads the user profile. It includes the appropriate template, macro menu, and import reader, paring down the functionality of HyperMesh to what is relevant for generating models for OptiStruct.
Import the Model
-
Click
.An Import tab is added to your tab menu.
- For the File type, select OptiStruct.
-
Select the Files icon .
A Select OptiStruct file browser opens.
- Select the carm_draw_symm.fem file you saved to your working directory.
- Click Open.
- Click Import, then click Close to close the Import tab.
Set Up the Optimization
Define the Symmetry and Draw Direction Manufacturing Constraints
- From Analysis page, click the optimization panel.
- Click the topology panel.
-
Defining minimum member size.
-
Defining the draw direction.
-
Define the symmetry constraint.
- Click return twice to go back to the Analysis page.
Run the Optimization
- From the Analysis page, click OptiStruct.
- Click save as.
-
In the Save As dialog, specify location to write the
OptiStruct model file and enter
carm_draw_symm_complete for filename.
For OptiStruct input decks, .fem is the recommended extension.
-
Click Save.
The input file field displays the filename and location specified in the Save As dialog.
- Set the export options toggle to all.
- Set the run options toggle to optimization.
- Toggle memory options to upper limit in Mb and enter 2000.
-
Click OptiStruct to run the optimization.
The following message appears in the window at the completion of the job:
OptiStruct also reports error messages if any exist. The file carm_draw_symm_complete.out can be opened in a text editor to find details regarding any errors. This file is written to the same directory as the .fem file.OPTIMIZATION HAS CONVERGED. FEASIBLE DESIGN (ALL CONSTRAINTS SATISFIED).
- Click Close.
View the Results
Element density results are output to the carm_draw_symm_complete_des.h3d file from OptiStruct for all iterations. In addition, Displacement and Stress results are output for each subcase for the first and last iterations by default into carm_draw_symm_complete_s#.h3d files, where # specifies the sub case ID.
Review the Contour Plot of the Density Results
-
From the OptiStruct panel, click
HyperView.
HyperView launches inside of HyperMesh Desktop, and all three .h3d files are loaded in a different page.
- In the top, right of the application, click to return to the Design History page, indicating that the results correspond to optimization iterations.
- From the Results toolbar, click to open the Contour panel.
-
Verify that the Result type is set to Element
Densities[s] and
Density.
This should be the only result type in the carm_draw_symm_complete_des.h3d file.
- Set the Averaging method to Simple.
-
Click Apply to display the density
contour.
The contour is all blue because the results are on the first design step or Iteration 0.
-
In the Results Browser, select the last
iteration listed.
Each element of the model is assigned a legend color, indicating the density of each element for the selected iteration.
View an Iso Value Plot of Element Densities
- From the Results toolbar, click to open the Iso Value panel.
- Set the Result type to Element Densities.
-
Click Apply.
An Iso Plot displays.
-
Change the density threshold.
- In the Current value field, enter 0.2.
- Under Current value, move the slider.
When you update the density threshold, the Iso value displayed in the modeling window updates interactively. Use this tool to get a better look at the material layout and the load paths from OptiStruct.The parts of the model with densities greater than the specified value of 0.2 display.
- Have most of your elements converged to a density close to 1 or 0?
- If there are many elements with intermediate densities, the DISCRETE parameter may need to be adjusted. The DISCRETE parameter (set in the opti control panel on the Optimization panel) can be used to push elements with intermediate densities toward 1 or 0, so that a more discrete structure is given.
- Is the max= field showing 1.0e+00?
- In this case, it is.
- Has the volume been minimized for the given constraints?
- Have the displacement constraints been met?