Phase 2: Design Fine Tuning (Size Optimization)

In the second design phase, a size optimization is performed to fine tune the thicknesses of the optimized ply bundles from Phase 1: Reference Design Synthesis (Free-Size Optimization). To ensure that the optimization design meets the design requirements, additional performance criteria on natural frequencies and composite strains are incorporated into the problem formulation. A normal modes analysis load case is added to calculate the natural frequencies of the fairing under assembled conditions. The optimization setup is also modified to factor in these additional performance targets, among others.

The following is the modified optimization setup:
Design Variables
Ply thicknesses, which have been defined in the size input deck from Phase 1: Reference Design Synthesis (Free-Size Optimization).
Objective
Minimize the total designable volume.
Constraints
Natural frequencies (1st ~ 5th) > 0.02 KHz
Composite strains in the fairing < 1000 micro-strain

Manufacturing constraints are preserved and transferred to the DCOMP card. A minimum manufacturable ply thickness of 0.1, defined in Phase 1: Reference Design Synthesis (Free-Size Optimization), is transferred to the PLY card. It allows for the optimal ply bundle thicknesses to be a multiple of the minimum ply thickness value, and helps in calculating the total number of plies required per fiber orientation.

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 fairing_freesize.*.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

Review Size Optimization Design Variables

Size design variables were generated automatically at the free-size stage.
  1. From the Analysis page, click the optimization panel.
  2. Click the size panel.
  3. Review the size design variables.

    os3200_size_design
    Figure 1.
  4. Click return to exit the size panel.

Review the Manufacturing Constraints

The manufacturing constraints were carried over to the size optimization phase automatically. They can be reviewed in the composite size panel in HyperMesh.

  1. From the Optimization panel, click the composite size panel.
  2. Select the parameters subpanel.
  3. Click dcomp= and select DCOMP9.
  4. Click edit.
  5. Review the DCOMP card image.
    PLYPCT and BALANCE constraints (from DSIZE) are transferred to the DCOMP card. The manufacturable ply thickness constraint 0.1 in the PLYMAN continuation line (from DSIZE) is transferred to the PLY card.

    3200_dcomp_card
    Figure 2. DCOMP Entry
  6. Select the parameters subpanel.
  7. Click update.
  8. Click return twice to go back to the main menu.

Delete Responses in the Free-size Optimization

The optimization will be re-formulated to satisfy the main design requirements. The responses of weighted compliance and volume fraction used in the free-size phase will be removed.
  1. On the Collectors toolbar, click delete-24 to open the Delete panel.
  2. Set the entity selector to optiresponses.
  3. Click optiresponses and select wcomp and volfrac.
  4. Click select.
  5. Click delete entity.
  6. Click return.
The responses defined in free-sizing phase are deleted. The constraint and objective function defined based on them are automatically removed.

Create Normal Modes Analysis

Add a normal modes analysis to calculate the natural frequencies.
  1. Create the load collector, eigrl.
    1. In the Model Browser, right-click and select Create > Load Step Inputs from the context menu.
      A default load collector displays in the Entity Editor.
    2. In the Name field, enter eigrl.
    3. For Config type, select Real Eigen value extraction from the drop-down.
    4. For Type, select EIGRL from the drop-down.
    5. For ND, enter 8.
      This request the first 8 modes.
  2. Create the load step, norm_modes.
    1. In the Model Browser, right-click and select Create > Load Step from the context menu.
      A default load step displays in the Entity Editor.
    2. In the Name field, enter norm_modes.
    3. Click Color and select a color from the color palette.
    4. Set the Analysis type to normal modes.
    5. For SPC, click Unspecified > Loadcol. In the Select Loadcol dialog, select spc and click OK.
    6. For METHOD(STRUCT), click Unspecified > Load step inputs. In the Select Load Step Inputs dialog, select eigrl and click OK.

Create Optimization Responses

  1. From the Analysis page, click optimization.
  2. Click Responses.
  3. Create the volume response, which defines the volume fraction of the design space.
    1. In the responses= field, enter volume.
    2. Below response type, select volume.
    3. Set regional selection to total and no regionid.
    4. Click create.
  4. Create the frequency response.
    1. In the responses= field, enter freq1.
    2. Below response type, select frequency.
    3. For Mode Number, enter 1.0.
    4. Click create.
    A response, freq1, is defined for the frequency of the first mode extracted.
  5. Create frequency responses for mode 2, 3, 4, and 5.
  6. Create a composite strain response.
    1. In the response= field, enter cstrain.
    2. Set the response type to composite strain.
    3. Set the entity selector to plies, then use the plies selector to select all plies.
    4. Set the strain type to maj. Principle.
    5. Click create.
  7. Click return to go back to the Optimization panel.

Create Constraints

The responses of frequency and composite strain are defined as the optimization constraints.
  1. From the Optimization panel, click the dconstraint panel.
  2. Create the constraint, freq1.
    1. In the constraint= field, enter freq1.
    2. Click response= and select freq1.
    3. Check the box next to lower bound, then enter 0.02.
    4. Using the loadsteps select, select norm_modes.
    5. Click create.
  3. Repeat step 2 to create the constraints freq2, freq3, freq4, and freq5 respectively with the same lower bound of 0.02.
  4. Create the constraint, cstrain.
    1. In the constraint= field, enter cstrain.
    2. Click response= and select cstrain.
    3. Check the box next to upper bound, then enter 0.001.
    4. Using the loadsteps select, select gravity and pressure.
    5. Click create.
  5. Click return to go back to the Optimization panel.

Define the Objective Function

  1. Click the objective panel.
  2. Verify that min is selected.
  3. Click response= and select volume.
  4. Click create.
  5. Click return twice to exit the Optimization panel.

Define the Output Request for Shuffling Deck

The output control on composite strain and stress results defined in the previous phase are carried over automatically. OUTPUT,SZTOSH (sizing to shuffling) writes a ply stacking optimization input deck.
  1. From the Analysis page, click the control cards panel.
  2. In the Card Image dialog, click OUTPUT.
  3. Set KEYWORD to SZTOSH.
  4. Set FREQ to YES.
  5. In the number_of_outputs field, enter 1.

    os3200_output2
    Figure 3.
  6. Click return twice to go back to the Analysis page.

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 fairing_size 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 fairing_size.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.
The default files that get written to your run directory include:
fairing_size.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 all optimization iterations, and compute time information. Review this file for warnings and errors that are flagged from processing the fairing_size.fem file.
fairing_size_des.h3d
HyperView binary results file that contain optimization results.
fairing_size_s#.h3d
HyperView binary results file that contains from linear static analysis, and so on.
fairing_size_shuffling.*.fem
A ply stacking optimization input deck. The DESVAR and DVPREL cards from the previous stage are removed, and a bare DSHUFFLE card is introduced. The * sign represents the final iteration number.
fairing_size_shuffling.*.inc
An ASCII include file containing ply stacking optimization data.

View the Results

  1. From the OptiStruct panel, click HyperView.
  2. On the Results toolbar, click resultsContour-16 to open the Contour panel.
  3. In the Results Browser, select the last iteration.
  4. Click Apply.
    The element thickness contour plot (final iteration) after phase-2 size optimization displays.

    3200_plot_after_size_opt
    Figure 4.
  5. In the Contour panel, set the Result type to Orientation Thicknesses (s).
    The thickness contour for each ply orientation displays.
  6. Set the Result type to Ply Thicknesses (s).
    The thickness contour for each ply bundle displays.
After the free-size and size optimizations, a weight reduction of ~65% of the original design was achieved without violating any of the prescribed design constraints. The optimum ply shape and patch locations in Phase 1: Reference Design Synthesis (Free-Size Optimization), and subsequently optimized ply bundle thicknesses in Phase 2: Design Fine Tuning (Size Optimization), have been established, and allow us to determine the required number of plies. In the third and final phase of the design process you will try to identify a proposal for the optimal stacking sequence of the plies.