0% found this document useful (0 votes)
36 views

OS-2000 Design Concept For A Structural C-Clip

Uploaded by

Rajaram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

OS-2000 Design Concept For A Structural C-Clip

Uploaded by

Rajaram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

OS-2000 Design Concept for a Structural C-clip

The topology optimization technique yields a new design and optimal material distribution. Topology
optimization allows designers to start with a design that already has the advantage of optimal material
distribution and is ready for design fine tuning with shape or size optimization.
In this tutorial, topology optimization is performed on a model to create a new topology for the structure,
removing any unnecessary material. The resulting structure is lighter and satisfies all design constraints.
The optimization problem for this tutorial is stated as:

Objective: Minimize volume fraction.

Constraints: Translation in the y-axis for node A < 0.07mm.


Translation in the y-axis at node B > -0.07mm.

Design The density of each element in the design space.


variables:

In this tutorial, you will:


• Set up the model in HyperMesh
• Analyze the baseline model
• Set up the optimization
• Post-process the optimization results

Exercise

Set Up the Model in HyperMesh

Step 1: Launch HyperMesh Desktop and Set the User Profile


1. Launch HyperMesh Desktop through the start menu.
The User Profiles dialog will appear by default.
2. Choose the OptiStruct user profile by selecting the radio button beside it.
3. 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.

Step 2: Open the cclip.hm File


1. From the File menu on the toolbar, select Open….
Select the cclip.hm file, located in the HyperWorks installation directory
2. under <install_directory>/tutorials/hwsolvers/optistruct/.
3. Click Open.
The cclip.hm database is loaded into the current HyperMesh session, replacing any existing data. The
database only contains geometric data and the mesh.

Step 3: Create Materials and Properties; Assign to Components


Since components need to reference a material, the materials collectors should be created first.
1. Select the Model tab.

1
OS-2000 Design Concept for a Structural C-clip

2. Right-click inside of the Model Browser window, activate the menu over Create, and click Material.
When in this pop-up, do not press the ENTER key until you are done.
3. In the Name: field, type Steel.
4. Select MAT1 as Card image:.
5. Select the box for Card edit material upon creation and click Create.
The MAT1 card image opens.
6. For E, enter the value 2.1E5.
7. For Nu, enter the value 0.3.
8. For RHO, enter the value 7.9E-9.
9. Click return.
10. Right-click inside the Model Browser window, activate the menu over Create, and click Property.
11. In the Name: field, type prop_shell.
12. Select PSHELL as the Card image:.
13. Select the Material tab and check the box for Assign material.
14. From the Name menu, select Steel as the material.
15. Select the Property tab and select the box for Card edit property upon creation, and click Create.
The PSHELL card image appears. A new property has been created and the material property
(named Steel) is assigned to it. Look for the material ID under the MID1 field.
16. Activate the thickness field for the shell component by clicking [T].
This allows you to edit this field. Accept the default of 1.0.
17. Click return to go to the main menu.
To update the component collectors with the newly created properties, click on

18. the Components icon .


19. Select the update radio button and click on comps.
20. Check the box for comp_shell, and click select.
21. Toggle <no property> to property=.
22. Double-click on property= and select prop_shell.
23. Click update.
24. Click return.

Step 4: Create Load Collectors


Next we will create two load collectors (Constraints and Forces) and assign each a color. Follow these
steps for each load collector.
Right-click inside the Model Browser window, activate the menu over Create, and click Load
1. Collector.
When in this popup, do not press ENTER on the keyboard until you are completely done.
2. In the Name: field, type Constraints.
3. Leave the Card image: field set to none.
4. Select a color from the palette.
5. Click Create.
6. Using the same method, create the second load collector, named Forces.

Step 5: Create Constraints


For the three nodes that show constraints in the following figure, we need to create the SPC constraints
and assign them to the Constraints load collector as outlined in the following steps.
From the Model Browser, expand Load Collector, right-click on Constraints, and click on Make
1. Current.

2
OS-2000 Design Concept for a Structural C-clip

2. From the Analysis page, enter the constraints panel.


3. Select nodes and corresponding dofs, and click on create to create constraints, as shown below.

Mesh showing the boundary conditions applied on the c-clip.

4. Click return.

Step 6: Create Forces


In this step, we will load the structure with two opposing forces of 100.0 N at the opposite tips of the
opening of the c-clip.
From the Model Browser, under (expanded) Load Collector, right-click on Forces, and click
1. on Make Current.
2. From Analysis page, enter the forces panel.
To create the force at the top of the opening, click on the node at the top of the opening (A) of the c-
3. clip as in the figure below.

3
OS-2000 Design Concept for a Structural C-clip

Opposing forces created at the opening of the c-clip.

4. Click magnitude=, enter 100.0, and press ENTER.


5. Set the switch below to y-axis.
6. Click create.
An arrow, pointing up, should appear at the node on the screen.
Similarly, to create the force at the bottom of the opening, click on the node at the bottom of the
7. opening (B) of the c-clip.
8. Click magnitude=, type -100.0, and press ENTER.
9. Verify that the y-axis is selected.
10. Click create.
An arrow, pointing down, should appear at the node on the screen.
11. To provide a separation between the arrows, select uniform size=, type 7, and press ENTER.
12. Click return to go back to the Analysis page.

Step 7: Create Load Cases


The last step in establishing boundary conditions is the creation of a loadstep.
1. From the Analysis page, enter the loadsteps panel.
2. Click name=, type opposing forces, and press ENTER.
3. Set type to linear static.
4. Check the box preceding SPC.
An entry field appears to the right of SPC.
5. Click on the entry field and select Constraints from the list of load collectors.
6. Check the box preceding LOAD and select Forces from the list of load collectors.
7. Click create.
8. Click return to go back to the Analysis page.

Analyze the Baseline Model

4
OS-2000 Design Concept for a Structural C-clip

Step 8: Run the Analysis


A linear static analysis of this C-clip is performed prior to the definition of the optimization process. An
analysis identifies the responses of the structure before optimization to ensure that constraints defined for
the optimization are reasonable.
1. From the Analysis page, enter the OptiStruct panel.
2. Click save as… following the input file: field.
Select the directory where you would like to write the OptiStruct model file and enter the name for the
3. model, cclip.fem, in the File name: field.
.fem is the recommended extension for Bulk Data Format input decks.
4. Click Save.
Note the name and location of the cclip.fem file displays in the input file: field.
5. Set the export options: toggle to all.
6. Click the run options: switch and select analysis.
7. Set the memory options: toggle to memory default.
8. Set the options: field to blank.
9. Click OptiStruct.
Upon successful completion of the analysis, the message ANALYSIS COMPLETED will appear in the
command window.

Step 9: View Displacement Contour


1. From the OptiStruct panel, click on HyperView.
HyperView launches the cclip.mvw file which loads the model and the results files.
2. From the Results menu, click on Plot and then click on Contour.
3. Choose Displacement as the Result type and set the menu below Displacement to Y.
4. Click Apply.

This shows the contour of Y displacements.

5. Verify if the values are equivalent to those in the image above.


Use the page delete button contained within the page control toolbar to delete the HyperView page, as
6. seen in the figure below.

5
OS-2000 Design Concept for a Structural C-clip

7. Back in HyperMesh, click return to exit the panel.

Set Up the Optimization

The finite element model, consisting of shell elements, element properties, material properties, and loads
and boundary conditions has been defined. Now a topology optimization will be performed with the goal
of minimizing the amount of material to be used. Typically, removing the material in an existing volume
with the same loads and boundary conditions makes the model less stiff and more prone to deformation.
Therefore, we need to track the displacements (which represents the stiffness of the structure) and
constrain the optimization process such that the least material necessary is used and overall stiffness is
also achieved.
The forces in the structure are applied on the outer nodes of the opening of the clip, making those two
nodes critical locations in the mesh where the maximum displacement is likely to occur. In this tutorial,
we will apply a displacement constraint on the nodes so that they would not displace more than 0.07 in
the y-axis.

Step 10: Create the Topology Design Variables


1. From the Analysis page, enter the optimization panel.
2. Select topology.
3. Make sure the create subpanel is selected using the radio buttons on the left-hand side of the panel.
4. Click desvar=, type d_shell, and press ENTER.
5. Click props and select prop_shell from the list of props; click select.
6. Choose type: PSHELL.
7. Verify that the base thickness is 0.0.
A value of 0.0 implies that the thickness at a specific element can go to zero, and therefore becomes a
void.
8. Click create.
9. Click return to go back to the optimization panel.

Step 11: Create a Volume Response


1. Enter the responses panel.
2. Click response= and type volfrac.
3. Click the switch below response type switch and select volumefrac from the pop-up menu.
4. Click create.

Step 12: Create a Displacement Response


To create a displacement as a response, you will need to supply a meaningful name for the response, set
the response type to displacement, select the node for the response, and select the type of
displacement (dof).
1. Click responses.
2. Click response= and type upperdis.
3. Change the response type: to static displacement.
4. Click the node labeled A (upper opening of the c-clip) as shown in the figure to select it.

6
OS-2000 Design Concept for a Structural C-clip

5. Choose dof2 for the node.


6. Click create.
7. Click response= and type lowerdis.
8. The response type: should still be static displacement.
9. Click the node labeled B (lower opening of the c-clip) as shown in the figure to select it.

10. Select dof2 and create the response.


11. Click return to go back to the optimization panel.

Step 13: Create Constraints on Displacement Responses


In this step we set the upper and lower bound constraint criteria for this analysis.
1. Select the dconstraints panel.
2. Click constraint= and enter c_upper.
3. Check the box for upper bound only.
4. Click upper bound= and enter 0.07.
5. Select response= and set it to upperdis.
6. Click loadsteps.
7. Check the box next to opposing forces.
8. Click select.
9. Click create.
10. Click constraint= and enter c_lower.
11. Check the box for lower bound only.
12. Click lower bound= and enter -0.07.
13. Select response= and set it to lowerdis.
14. Click loadsteps.
15. Check the box next to opposing forces.
16. Click create.
17. Click return to go back to the optimization panel.

7
OS-2000 Design Concept for a Structural C-clip

Step 14: Define the Objective Function


1. Click objective.
2. The switch on the left should be set to min.
3. Click response= and select volfrac.
4. Click create.
5. Click return twice to exit the optimization panel.

Step 15: Run the Optimization Problem


1. From the Analysis page, click on control cards.
2. Click next twice.
3. Click on SCREEN and return.
This will make OptiStruct output the optimization iterations to the output window.
4. From the Analysis page, select OptiStruct.
5. Click save as…, enter cclip_complete.fem as the file name, and click Save.
6. Click the run options: switch and select optimization.
7. Click OptiStruct to run the optimization.
The message following message appears in the window at the completion of the job:
OPTIMIZATION HAS CONVERGED.
FEASIBLE DESIGN (ALL CONSTRAINTS SATISFIED).
OptiStruct also reports error messages if any exist. The file cclip_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.
8. Close the OptiStruct solver GUI window.
The default files that get written to your run directory include:
cclip_complete.res HyperMesh binary results file.

cclip_complete.h3d HyperView binary results file.

cclip_complete.HM.comp.cmf HyperMesh command file used to organize elements into components


based on their density result values. This file is only used with OptiStruct
topology optimization runs.

cclip_complete.out OptiStruct output file containing specific information on the file setup, the
setup of the optimization problem, estimates for the amount of RAM and
disk space required for the run, information for each optimization
iteration, and compute time information. Review this file for warnings
and errors that are flagged from processing the cclip_complete.fem file.

cclip_complete.sh Shape file for the final iteration. It contains the material density, void
size parameters and void orientation angle for each element in the
analysis. This file may be used to restart a run.

cclip_complete.hgdata HyperGraph file containing data for the objective function, percent
constraint violations, and constraint for each iteration.

cclip_complete.oss OSSmooth file with a default density threshold of 0.3. The user may edit
the parameters in the file to obtain the desired results.

cclip_complete_hist.mvw Contains the iteration history of the objective, constraints, and the design
variables. It can be used to plot curves in HyperGraph, HyperView, and
MotionView.

8
OS-2000 Design Concept for a Structural C-clip

cclip_complete.stat Contains information about the CPU time used for the complete run and
also the break up of the CPU time for reading the input deck, assembly,
analysis, convergence, etc.

Post-process the Optimization Results

OptiStruct provides element density information for all iterations, and also gives displacement and von
Mises stress results (linear static analysis) for the starting and last iterations. This section describes how
to view those results in HyperView.

Step 16: View an Iso Value Plot of Element Densities


This plot provides the information about the element density. Iso Value retains all of the elements at and
above a certain density threshold. Pick the density threshold providing the structure that suits your
needs.
1. From the OptiStruct panel, click the HyperView button.
This will launch HyperView inside the HyperMesh Desktop and open the session
file cclip_complete.mvw which contains two pages with the results from two files:
Page 2 - cclip_complete_des.h3d: Optimization history results (element density).
Page 3 - cclip_complete_s1.h3d: Subcase 1 results; initial and final (displacement stress).
2. On page 2, click in the area of the Results Browser circled below.

3. Select Design under the load case section and the last iteration listed.
4. From Results menu, click on Plot > Iso.
5. In the panel area at the bottom of the GUI, choose Element Densities as the Result type.
6. Set the Current Value: to 0.3.
7. Click on Top view orientation to set the correct view.
8. Click Apply.

9
OS-2000 Design Concept for a Structural C-clip

Iso value plot of element densities.

9. Move the slider below Current value: to change the density threshold.
You will see the iso value in the graphics window update interactively when you scroll to a new value.
Use this tool to get a better look at the material layout and the load paths from OptiStruct.

Step 17: Compare Static Contour of Original to the Optimized Material Layout
1. In HyperView, click on the Next Page arrow toolbar button to go to page 3.
This will bring up the cclip_complete_s1.h3d file, which contains the static subcase results for the
first and last iteration steps.

2. Divide this page into two vertical windows using the Page Layout toolbar icon .

3. Click on the Top view orientation to set the correct view .


4. From the Results menu, select Plot > Contour.
5. Choose Displacement as the Result type, and set the menu below Displacement to Y.
6. Click Apply.

7. Click on the Deformed toolbar button .


On the Deformed shape panel, change the scale value to 100, the undeformed shape to edges, and
8. click Apply.
9. From Edit menu, click on Copy > Window, and then click on the empty window.
10. Again, from the Edit menu, click Paste > Window.

11. Switch the animation mode to Linear Static .


12. With the second window selected, choose Iteration 28.

10
OS-2000 Design Concept for a Structural C-clip

13. From Edit menu, click Copy > Page.


14. From the Edit menu again, click Paste > Page.
This will create a third page on this report.

15. Now click on the first window and click on the Contour button .
16. Change the result type to Element Stresses (2D & 3D) (t).
17. For Averaging method:, select Simple and click Apply.
Click with the right button on the first window; choose Apply Style To, then Current Page, and
18. select Contour.

These stress results can be used only as reference to help understanding how far from the limits the
design is.
Remember that topologic optimization will show you a concept shape and the stress results should be
validated during the next design phases.

11

You might also like