OS-T: 3030 Random Response Optimization

In this tutorial you will perform a topography optimization with random response on a flat plate.

Before you begin, copy the file(s) used in this tutorial to your working directory.
A random response analysis has been set up. The flat panel is constrained through an RBE2 element. Two frequency-varying accelerations are applied on the independent node of the RBE2 element as excitations. They are correlated through a cross-spectral density. The objective of the optimization is to minimize the maximum (minmax) Power Spectral Density (PSD) acceleration in X direction at the center of the panel.

3030_model
Figure 1. Model Review

Launch HyperMesh and Set the OptiStruct User Profile

  1. Launch HyperMesh.
    The User Profile dialog opens.
  2. 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

  1. Click File > Import > Solver Deck.
    An Import tab is added to your tab menu.
  2. For the File type, select OptiStruct.
  3. Select the Files icon files_panel.
    A Select OptiStruct file browser opens.
  4. Select the panel.fem file you saved to your working directory.
  5. Click Open.
  6. Click Import, then click Close to close the Import tab.

Set Up the Optimization

Define Topography Design Variables

For a topography optimization, a design space and a bead definition need to be defined.

In this step, the design space is composed of the shell elements with the property PSHELL_5. A minimum bead width of 0.4, a bead height of 1, and draw angle of 60 degrees is used in the bead definition. A 2-plane symmetrical pattern grouping constraint is defined to generate a symmetrical bead design.

  1. From the Analysis page, click the optimization panel.
  2. Click the topography panel.
  3. Create a topography design space definition.
    1. Select the create subpanel.
    2. In the desvar= field, enter plate.
    3. Using the props selector, select PSHELL_5.
    4. Click create.
    A topography design space definition, plate, has been created. All elements organized into the PSHELL_5 component collector(s) are now included in the design space.
  4. Create a bead definition for the design space plate.
    1. Select the bead params subpanel.
    2. Verify the desvar = field is set to plate, which is the name of the newly created design space.
    3. In the minimum width= field, enter 0.4.
      This parameter controls the width of the beads in the model. The recommended value is between 1.5 and 2.5 times the average element width.
    4. In the draw angle= field, enter 60.0 (this is the default).
      This parameter controls the angle of the sides of the beads. The recommended value is between 60 and 75 degrees.
    5. In the draw height=, enter 1.0.
      This parameter sets the maximum height of the beads to be drawn.
    6. Select buffer zone.
      This parameter establishes a buffer zone between elements in the design domain and elements outside the design domain.
    7. Toggle draw direction to normal to elements.
      This parameter defines the direction in which the shape variables are created.
    8. Set boundary skip to none.
      This tells OptiStruct to leave nodes at which loads or constraints are applied out of the design space.
    9. Click update.

    A bead definition has been created for the design space plate. Based on this information, OptiStruct will automatically generate bead variable definitions throughout the design variable domain.

  5. Adding pattern grouping constraints.
    1. Select the pattern grouping subpanel.
    2. Click desvar = and select plate.
    3. Set the pattern type to 2-plns sym.
    4. Set the anchor node, first node, and second node selectors to coordinates, then enter the values indicated in Figure 2 to define a 2-plane symmetry constraint.


      Figure 2.
    5. Click update.
  6. Update the bounds of the design variable.
    1. Select the bounds subpanel.
    2. Verify the desvar = field is set to plate, which is the name of the design space.
    3. In the Upper Bound= field, enter 1.0.
      Upper bound on variables controlling grid movement (Real > LB, default = 1.0). This sets the upper bound on grid movement equal to UB*HGT.
    4. In the Lower Bound= field, enter -1.0.
    5. Click update.
    The upper bound sets the upper bound on grid movement equal to UB*HGT and the lower bound sets the lower bound on grid movement equal to LB*HGT.
  7. Click return to go to the Optimization panel.

Create Design Response for Random Response Optimization

The PSD acceleration in X direction at the center of the plate is defined as design response for the random response optimization.
  1. Click the responses panel.
  2. In the response = field, enter psdaccl.
  3. Set the response type to psd acceleration.
  4. Click nodes > by id, then enter 67 in the id= field.
    Node 67 is close to the center of the plate.
  5. Select dof1 for the PSD acceleration in X direction.
  6. Click randps= and select RANDPS100.
    This specifies the Power Spectral Density for the random response analysis.
  7. Leave frequencys set to all freq.
  8. Set the region to no regionid.
  9. Click create.
  10. Click return to go back to Optimization Setup panel.

Define the Objective Reference

  1. From the Analysis page, Optimization panel, click the obj reference panel.
  2. In the dobjref= field, enter psdacclref.
  3. Select pos reference, and enter 1.0e6.
    The values of the response, psdaccl, will be normalized by the negative and positive reference values.
  4. Select neg reference, and enter -1.0.
  5. Click response and select psdaccl.
  6. Set the loadsteps selection option to all.

    This ensures the DOBJREF entry is applied to all subcases.

  7. Click create.
  8. Click return to go back to the Optimization panel.

Define the Objective Function

  1. Click the objective panel.
  2. Verify that minmax is selected.
  3. Click dobjrefs and select psdacclref.
  4. Click create.
  5. Click return twice to exit the Optimization panel.

Run the Optimization

  1. From the Analysis page, click OptiStruct.
  2. Click save as.
  3. In the Save As dialog, specify location to write the OptiStruct model file and enter panel_complete for filename.
    For OptiStruct input decks, .fem is the recommended extension.
  4. Click Save.
    The input file field displays the filename and location specified in the Save As dialog.
  5. Set the export options toggle to all.
  6. Set the run options toggle to optimization.
  7. Set the memory options toggle to memory default.
  8. Click OptiStruct to run the optimization.
    The 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 panel_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.
  9. Click Close.

View the Results

HyperView is used to view the bead design generated from the topography optimization. “XYPUNCH, ACCE, PSDF/67(T1RM)” was used to output the PSD accelerations to punch files. The PSD plot from punch output can be viewed with HyperGraph. The RMS and peak PSD values are output to the .peak file and can be viewed with text editor.

View the Bead Patterns

  1. From the OptiStruct panel, click HyperView.
    HyperView is launched and the optimization results (_des.h3d) are loaded.
  2. On the Results toolbar, click resultsContour-24 to open the Contour panel.
  3. Set the Result type to Shape Change (v).
  4. In the Results Browser, select the last iteration.
  5. In the Contour panel, click Apply.
The shape change contour displays.

3030_results
Figure 3. Results of Random Response Optimization

View the PSD Results

  1. Launch HyperGraph.
  2. On the Curves toolbar, click plotsCreate-24 to open the Build Plots panel.
  3. Load the panel_complete.pch file.
  4. Set the X Type to Frequency (Hz).
  5. Set Group 1 Acceleration to Y Type.
    Node id 67 and X_Translation are highlighted.
  6. Click Apply.
    The PSD plot of acceleration in X direction on node 67 at iteration 0 is loaded.
  7. On the Annotations toolbar, click annotateAxes-24 to open the Axes panel and convert the linear plot of PSD acceleration to logarithmic plot for the y-axis.
  8. Select the last group acceleration as Y Type.
  9. Click Apply.
  10. On the Annotations toolbar, click annotateAxes-24 to open the Axes panel and convert the linear plot of PSD acceleration to logarithmic plot for the y-axis.

The PSD plot of acceleration in X direction on node 67 at final iteration is loaded.

How much was the peak value of the PSD acceleration reduced?

3030_psd_plots
Figure 4. PSD Acceleration Plots of the Original and the Optimized Designs