Professional Documents
Culture Documents
http://www.altairhyperworks.com/hwhelp/Altair/hw11.0/help/hwtut/os...
HyperWorks Tutorials
The structural model, as shown, is loaded into HyperMesh. The constraints, loads, material properties, and subcases (loadsteps) are already defined in the model. Size design variables and optimization parameters are defined and the OptiStruct software is used to determine the optimal gauges. The results are then reviewed in HyperMesh. The optimization problem is stated as: Objective: Constraints: Design variables: Minimize volume. Maximum Von Mises Stress of the brackets < 100 Mpa. Gauges of the brackets.
The following exercises are included: Setting up the size optimization problem in HyperMesh Submitting the job Viewing the results
Exercise
Step 1: Launch HypeMesh Desktop, set the User Profile and Retrieve the Database File
1. Launch HyperMesh Desktop. 2. Choose OptiStruct in the User Profile dialog and click OK.
1 de 6
02-07-2011 20:35
http://www.altairhyperworks.com/hwhelp/Altair/hw11.0/help/hwtut/os...
This loads the OptiStruct user profile. It includes the OptiStruct template, macro menu, and import reader, paring down the functionality of HyperMesh to what is relevant for use with OptiStruct. User Profiles can also be accessed from the Preferences pull-down menu on the toolbar. .
4. Browse to the bracket_size.hm file, located in the HyperWorks installation directory under <install_directory>/tutorials/hwsolvers/optistruct/and click Open. The bracket_size.hm database is loaded into the current HyperMesh session, replacing any existing data.
2 de 6
02-07-2011 20:35
http://www.altairhyperworks.com/hwhelp/Altair/hw11.0/help/hwtut/os...
3. Click on designvar=, under dependent:, and select part2. 4. Click on designvars, under independent:, and activate part1. Note the linear factor (value is box beside part1) automatically gets set to 1.000. 5. Click return. 6. Set C0 = 0.000 and CMULT = 1.000. 7. Click create. The design variable part2 is now linearly dependent on the design variable 'part1'. 8. Click return to go to the Optimization Setup panel.
3 de 6
02-07-2011 20:35
http://www.altairhyperworks.com/hwhelp/Altair/hw11.0/help/hwtut/os...
2. Select the directory where you would like to save the database, enter the name bracket_size.hm for the database, and click Save.
3. Select the directory where you would like to write the OptiStruct model file and enter the name for the model, bracket_size.fem, in the File name: field. .fem is the suggested file extension for OptiStruct input decks. 4. Click Save. Note the name and location of the bracket_size.fem file displays in the input file: field.
4 de 6
02-07-2011 20:35
http://www.altairhyperworks.com/hwhelp/Altair/hw11.0/help/hwtut/os...
5. Set the memory options: toggle to memory default. 6. Click the run options: switch and select optimization. 7. Set the export options: toggle to all. 8. Click OptiStruct. This launches the OptiStruct job. If the job was successful, new results files can be seen in the directory where the OptiStruct model file was written. The bracket_size.out file is a good place to look for error messages that will help to debug the input deck if any errors are present. The default files written to the directory are: bracket_size.hgdata HyperGraph file containing data for the objective function, percent constraint violations and constraint for each iteration. OptiStruct iteration history file containing the iteration history of the objective function and of the most violated constraint. Can be used for an xy plot of the iteration history. HTML report of the optimization, giving a summary of the problem formulation and the results from the final iteration. OptiStruct output file containing specific information on the file set-up, the set-up of your optimization problem, estimate for the amount of RAM and disk space required for the run, information for each optimization iteration, and compute time information. This file contains compliance, volume calculations, and gauge information for each optimization iteration. It is highly recommended this file be reviewed for warnings and errors. OptiStruct property output file containing all updated property data from the last iteration for size optimization. HyperView binary results file. Shape file for the final iteration. It contains the material density, void size parameters and void orientation angle for each element in the analysis. The .sh file may be used to restart a run and, if necessary, run OSSmooth files for topology optimization. Summary of analysis process, providing CPU information for each step during analysis process.
bracket_size.his_dat
bracket_size.html
bracket_size.out
bracket_size. prop
bracket_size.h3d bracket_size.sh
bracket_size.stat
5 de 6
02-07-2011 20:35
http://www.altairhyperworks.com/hwhelp/Altair/hw11.0/help/hwtut/os...
2. Click Close to close the message window. 3. Click the Next Page toolbar button .
The third page has the results loaded from the bracket_size_s1.h3d file. Note that the name of the page is displayed as Subcase 1 STEP to indicate that the results correspond to subcase 1. 4. Click the Contour toolbar button .
5. Select the first pull-down menu below Result type: and select Element Stresses [2D & 3D] (t). 6. From the second pull-down menu, select vonMises. 7. Select None in the field below Averaging method:. 8. Click Apply. A contoured image representing von Mises stresses should be visible. Each element in the model is assigned a legend color, indicating the von Mises stress value for that element resulting from the applied loads and boundary conditions. If you did not change the Iteration step you should be contouring the stress of the initial step. To contour the final step, set the last iteration of that loadcase using the Status Bar. 9. Click either the first or second field on the right side of the Status Bar. This brings up the Load Case and Simulation Selection window. 10. Click the last Iteration # in the Simulation: list. Notice only two iterations are displayed; the First and Last (FL) is the default setting for optimization runs. To change this setting, add an OUTPUT control card with a frequency setting of ALL. 11. Click OK. This will now contour your final iteration of that loadcase. Review the stress to see that it is under the proper constraints.
2. Make sure Result type: is set to Element Thicknesses (s). 3. Also make sure that you select Iteration 2 from the Load Case and Simulation Selection window 4. Click Apply. Alternatively, you can also open the bracket_size.prop file in a text editor to view the final gauge thicknesses of the two parts.
Review
The .out file contains a summary of the optimization process. From the information in the .out file, you can see how the objective, constraints, and design variables are changing from one iteration to the next. Has the volume been minimized for the given constraints? Have the stress constraints been met? What are the resulting gauges for the two parts? Did the design variable linking work?
Go To OptiStruct Tutorials
6 de 6
02-07-2011 20:35