Exercise 1: Linear Gap Analysis
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.
Open the Model
- Click .
- Select the rib.hm file you saved to your working directory.
-
Click Open.
The rib.hm database is loaded into the current HyperMesh session, replacing any existing data.
Create a Cylindrical Coordinate System
- In the Model Browser, right-click and select .
- For Name, enter cylindrical.
- Click Color and select a color from the color palette.
- In the Model Browser, hide all load collectors by right-clicking on .
-
In the Model Browser, click the Isolate
Shown icon
.
-
Expand the Component list and select the Lug component.
This isolates the display of only the Lug component.
-
Click the XY Top Plane View icon
to set the model view.
- Click to open the Systems panel.
- The cyan halo around the yellow nodes button indicates that it is the current option. Select the center node on the upper lug.
- Click origin and select the center node again.
- Click x-axis and select any node on the circumference.
-
For xy plane, select any node on the plane of the lug, as shown in Figure 1:
Figure 1. Nodes to Select for Creating Cylindrical Coordinate System
- Click the switch beside rectangular and select cylindrical.
-
Click create.
For cylindrical systems, the x-axis defines the radial direction (q= 0) and the xy plane defines the r-q plane.
- Repeat this process for the bottom lug (steps 9 through 12 of this sequence).
- Click return.
- Click on the Model Browser.
-
Select only the gap component.
With Isolate Shown still active this displays only the gap component.
-
Click the Card Editor icon
.
- Click the entity selection switch on the top left of the panel and select elems.
- Click elems >> by window from the pop-up menu.
-
Select the gap elements that are connected to the top lug, as shown in Figure 2.
Figure 2. Gap Elements Connected to Top Lug
- Click select entities.
- Click config= and select gap from the pop-up menu.
- Click edit.
-
Click CID, and select the system that was created at the
center of the top lug, as shown below.
Figure 3.
- Click return twice to go back to the main menu.
-
Repeat this process for the gap elements that are connected to the bottom lug.
The gap elements have now been assigned with a cylindrical coordinate system.
Define a Property and Assign it to the Gap Elements
- In the Model Browser, right-click and select .
- For Name, enter gap_prop.
- Click Color and select a color from the color palette.
- For Card Image, select PGAP and click Yes to confirm.
- Make sure the check box next to U0_opts is checked. This way the initial gap opening is calculated automatically.
-
Make sure the check box next to KA_opts is checked. This determines the value
of KA for each gap element using the stiffness of surrounding elements
automatically.
Figure 4.
- Click to open the Gaps panel.
- Select the update subpanel.
- Click elems >> by collector.
- Select gap by checking the box beside it.
- Click the green select button.
- Click property= and click on gap_prop.
- Click update.
- Check beside property.
-
Click update.
The gap elements have now been updated to the new property collector.
- Click return.
Submit the Job
-
From the Analysis page, click the OptiStruct
panel.
Figure 5. Accessing the OptiStruct Panel
- Click save as.
-
In the Save As dialog, specify location to write the
OptiStruct model file and enter
rib_linear 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 analysis.
- Set the memory options toggle to memory default.
- Click OptiStruct to launch the OptiStruct job.
The default files written to the directory are:
- rib_linear.html
- HTML report of the analysis, providing a summary of the problem formulation and the analysis results.
- rib_linear.out
- OptiStruct output file containing specific information on the file setup, the setup of your optimization problem, estimates for the amount of RAM and disk space required for the run, information for each of the optimization iterations, and compute time information. Review this file for warnings and errors.
- rib_linear.h3d
- HyperView binary results file.
- rib_linear.res
- HyperMesh binary results file.
- rib_linear.stat
- Summary, providing CPU information for each step during analysis process.
Post-process the Results
-
From the OptiStruct panel, click HyperView.
This will launch HyperView and load the rib_linear.mvw file, reading the model and results.
-
Click the Curves Attributes icon
and hide all components except the Web component.
- Activate the Auto apply mode check box
- Click on the components to turn off in the modeling window
Figure 6.
-
Go to the Contour panel
.
- Select the first pull-down menu below Result type and select Element Stresses (2D & 3D).
- Select the second pull-down menu below Result type and select vonMises.
-
Above the Results Browser in the left hand panel are the
Load Case and Simulation Selection drop-down menus. Select Subcase 1
(Coup_Vert) from the Load Case drop-down menu.
Figure 7.
-
Click the XY Top Plane View icon
to display a top view of the Web.
-
Click Apply.
This should show the contour of stresses on the Web component under the coupled loading.
Figure 8. Stress Results on the Web From Linear Gap Analysis
-
Click Delete Page
to end the HyperView session.