Академический Документы
Профессиональный Документы
Культура Документы
The structural model, shown in figure 1, is loaded into HyperMesh and is used to generate and run a shape
optimization of the cantilever beam. Shape perturbation vectors are generated using HyperMorph, which is
accessed, through the HyperMesh interface. The OptiStruct software is used to determine the optimal shape. The
results are then reviewed in HyperView.
Constraints: Given maximum nodal displacement at the end of the beam < 3.0 mm.
Exercise
Step 1: Load the OptiStruct User Profile and Retrieve the Geometry.
Rev 1.0 : Created on March 15, 2013, using HyperWorks Student Edition 11.0 Page 1
HW-PTC-India
Professional Training Centre
Tutorial – 15: Shape Optimization - of a Cantilever Beam.
4. Select the beamshape.hm file.
5. Click Open.
The beamshape.hm is loaded into the current HyperMesh session, replacing any existing data. The
database only contains geometric data.
Note the location of beamshape.hm now displays in the file: field.
This section makes use of HyperMorph. For a more detailed description of the functionality of HyperMorph,
please refer to the HyperMorph section of the HyperMesh documentation.
.
Figure 3. Morphed shape 1.
15. Select the save shape subpanel.
16. Click shape = and enter shape1.
17. You can select the color button and change the color of the shape vectors or leave the default color set.
18. Set the toggle under shape = to as node perturbations.
19. Click save.
Rev 1.0 : Created on March 15, 2013, using HyperWorks Student Edition 11.0 Page 2
HW-PTC-India
Professional Training Centre
Tutorial – 15: Shape Optimization - of a Cantilever Beam.
20. Click Yes.
This shape has been saved, and can be associated with a design variable later.
21. Click undo all.
The model returns to its original shape.
22. Click return to return to the HyperMorph panel.
23. Select the handles panel.
24. Select the create subpanel using the radio buttons on the left-hand side of the panel.
25. Click on name = and enter aux1.
26. Click on domain and select the top edge domain by clicking on the top edge in the graphics window.
27. To ensure that you select the top edge domain, hold down the left mouse button and move the mouse
over the top edge of the beam until the edge is highlighted (white), then release the mouse button.
28. Set the toggle to by nodes.
29. Click on nodes and select the node at the center of the top edge of the beam by clicking on it in the
graphics window.
30. Click create.
A new handle, 'aux1', is created at the center of the top edge of the beam, see figure 4.
Figure 4. New handle added at the center of the top edge of the beam
31. Click return to return to the HyperMorph panel.
32. Select the morph panel.
33. Select the move handles subpanel.
34. Click the switch beside move to node and select interactive from the pop-up menu.
35. The handle button should be highlighted. If not, click on it.
36. Select the handle you just created by clicking on it in the graphics window.
37. Click morph.
38. Click the new handle in the graphics window and keep the mouse button held down.
39. Move the mouse downwards in a straight line.
40. Note how the mesh morphs interactively as you move the handle.
41. When the handle is roughly at what was the center of the beam, release the mouse button.
Rev 1.0 : Created on March 15, 2013, using HyperWorks Student Edition 11.0 Page 3
HW-PTC-India
Professional Training Centre
Tutorial – 15: Shape Optimization - of a Cantilever Beam.
49. Move the mouse upwards until the value reads 1.500, then release the button and click update.
50. Note how the curvature of the top edge has altered. See Figure 6..
Two responses are defined in this tutorial; a volume response for the objective function and a displacement
response for the constraint. A detailed description can be found in the OptiStruct User's Guide under Responses.
Rev 1.0 : Created on March 15, 2013, using HyperWorks Student Edition 11.0 Page 4
HW-PTC-India
Professional Training Centre
Tutorial – 15: Shape Optimization - of a Cantilever Beam.
Step 5: Define a Constraint
A constraint with upper bound is to be defined for the displacement response defined in the previous section.
In this example, the objective is to minimize the volume response defined in the previous section.
Only displacement and stress results are available in the _s#.h3d file by default. In order to look at
displacement/stress results on top of a shape change that was applied to the model in HyperView, a SHAPE card
needs to be defined.
Rev 1.0 : Created on March 15, 2013, using HyperWorks Student Edition 11.0 Page 5
HW-PTC-India
Professional Training Centre
Tutorial – 15: Shape Optimization - of a Cantilever Beam.
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 beamshape.out file is a good place to look for error
messages that will help to debug the input deck if any errors are present. Make sure the process is
complete before checking the results files.
Step 10: View a Contour Plot of the Displacement on Top of the Shape Optimized
Model.
Rev 1.0 : Created on March 15, 2013, using HyperWorks Student Edition 11.0 Page 6
HW-PTC-India
Professional Training Centre
Tutorial – 15: Shape Optimization - of a Cantilever Beam.
1. Click the Next Page arrow to move to page 2.
2. From the Graphics pull-down menu, choose the Select Load Case option.
3. In the Load Case and Simulation Selection dialog, select the last iteration from Simulation (load final
iteration results).
4. Click OK.
5. Go to the Deformed panel and set Shape Change (v) as the Result type:.
6. Click Apply.
The optimized shape of the beam is shown on the screen now.
7. Go to the Contour panel and select Displacement (v) as the Result type:.
8. Select Mag using the toggle.
9. Click Apply.
Rev 1.0 : Created on March 15, 2013, using HyperWorks Student Edition 11.0 Page 7