Phase 1: Reference Design Synthesis (Free-size Optimization)

In this phase the optimization setup is defined in the concept design phase to identify the stiffest design for the given fraction of the material.

In free-size optimization, the thickness of each designable element is defined as a design variable. Applying this concept to the design of composites implies that the design variables are the thickness of each 'Super-ply' (total designable thickness of a ply orientation) per element.

To obtain more meaningful results, manufacturing constraints are incorporated and carried through all design phases automatically.
Objective
Minimize the compliance of the load case.
Constraints
Volume fraction < 0.3
Design Variables
Element thicknesses of each ply orientation.
Manufacturing Constraints
Ply percentage for the 0s no more than 80% exist.
The manufacturable ply thickness is 0.1.
A balance constraint that ensures an equal thickness distribution for the +45s and -45s.

Set Up the Optimization

Create Free-size Optimization Design Variables

  1. From the Analysis page, click the optimization panel.
  2. Click the free size panel.
  3. Create the design variable for the free-size optimization.
    1. Select the create subpanel.
    2. In the desvar= field, enter free-size.
    3. Set type to STACK.
    4. Using the laminates selector, select laminate.
    5. Click create.

    os3400_ph1_free_size_panel
    Figure 1. Field Entries for the free-size Panel
  4. Select the composites subpanel.
  5. Click the desvar= field and select free-size.
  6. Click edit.
    The DSIZE panel opens. In this panel you will define the manufacturing constraints on ply percentage, ply balance, and ply drop-off.
  7. Define PLYPCT.
    1. Select PLYPCT.
    2. Set Ply Percentage Options to BYANG.
    3. In the DSIZE_NUMBER_OF_PLYPCT= field, enter 2.
      Two PLYPCT continuation lines are added to the DSIZE Data Entry.
    4. In the first PLYPCT row, enter 0 for PANGLE(1), 0.2 for PPMIN(1), and 0.7 for PPMAX(1).
    5. In the next PLYPCT row, enter 90 for PANGLE(2), 0.2 for PPMIN(2), and 0.7 for PPMAX(2).
    These values constrain the zero- and ninety-degree plies to between twenty and seventy percent of the total thickness of the laminate for any element in the design space.

    os3400_ph1_dsize_plypct_options
    Figure 2. DSIZE Data Entry Fields for the PLYPCT Cards
  8. Define BALANCE.
    1. Select BALANCE.
    2. Set Balance Constraints Options to BYANG.
    3. In the DSIZE_NUMBER_OF_BALANCE= field, enter 1.
      A BALANCE continuation line is added to the DSIZE Data Entry.
    4. In the BALANCE row, enter 45 for BANGLE1 and -45 for BANGLE2.

    os3400_ph1_dsize_balance_options
    Figure 3. DSIZE Data Entry Fields for the BALANCE Card
  9. Define PLYDRP.
    1. Select PLYDRP.
      A PLYDRP continuation line is added to the DSIZE Data Entry.
    2. Set Ply Drop-off Options to All.
    3. In the DSIZE_NUMBER_OF_PLYDRP= field, enter 1.
    4. In the PLYDRP row, set PDTYP(1) to PLYSLP and for PDMAX(1) enter 0.33.

    os3400_ph1_dsize_plydrp_options
    Figure 4. DSIZE Data Entry Fields for the PLYDRP Card Using the PLYSLP Method
  10. Click return to go back to the composites subpanel.
  11. Click update.
  12. Click return and go back to the Optimization panel.

Create Optimization Responses

  1. From the Analysis page, click optimization.
  2. Click Responses.
  3. Create the volume fraction response.
    1. In the responses= field, enter Volfrac.
    2. Below response type, select volumefrac.
    3. Set regional selection to total and no regionid.
    4. Click create.
  4. Create the compliance response.
    1. In the response= field, enter compliance.
    2. Below response type, select compliance.
    3. Set regional selection to total and no regionid.
    4. Click create.
  5. Click return to go back to the Optimization panel.

Create Design Constraints

  1. Click the dconstraints panel.
  2. In the constraint= field, enter volfrac.
  3. Click response = and select volfrac.
  4. Check the box next to upper bound, then enter 0.3.
  5. Click create.
  6. 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 compliance.
  4. Using the loadsteps selector, select nx_step.
  5. Click create.
  6. Click return twice to exit the Optimization panel.

Create Output Requests

The output control on composite strain and stress results are defined here. OUTPUT,FSTOSZ (free size to size) is used to output a ply-based input deck for size optimization.
  1. From the Analysis page, select the control cards panel.
  2. In the Card Image dialog, click OUTPUT.
  3. In the number_of_outputs, enter 3.
  4. On the third line, set KEYWORD to FSTOSZ and set FREQ to YES.
    With this keyword, OptiStruct automatically generates a sizing model after free-size optimization.

    os3400_ph1_control_cards_output
    Figure 5. Requesting the free-size to size (FSTOSZ) optimization output file for Phase 2
  5. Click return twice to go back to the Analysis page.

Save the Database

  1. From the menu bar, click File > Save As > Model.
  2. In the Save As dialog, enter oht_opti_ph1.hm for the file name and save it to your working directory.

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 oht_opti_ph1 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 oht_opti_ph1.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:
oht_opti_ph1.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 oht_opti_ph1.fem file.
oht_opti_ph1_des.h3d
HyperView binary results file that contain optimization results.
oht_opti_ph1_s#.h3d
HyperView binary results file that contains from linear static analysis, and so on.
oht_opti_ph1_sizing.*.fem
A ply-based sizing optimization input file generated during free-sizing phase. This resulting deck contains PCOMPP, STACK, PLY, and SET cards describing the ply-based composite model, as well as DCOMP, DESVAR, and DVPREL cards defining the optimization data. The * sign represents the final iteration number.
oht_opti_ph1_sizing.*.inc
An ASCII include file contains the same ply-based modeling and optimization data as in the input deck. The * sign represents the final iteration number.

View the Results

View the Element Thickness Results

  1. From the OptiStruct panel, click HyperView.
    HyperView is launched and the session file oht_opti_ph1.mvw is opened, which contains three pages with the results from two H3D files.
    Page 2
    Optimization results in oht_opti_ph1_des.h3d.
    Page 3
    Analysis results of subcase 1 in oht_opti_ph1_s1.h3d.
    Note: If opening these files from standalone HyperMesh, the page numbers will be decremented.
  2. Navigate to the page with the results for oht_opti_ph1_des.h3d.
  3. On the Results toolbar, click resultsContour-16 to open the Contour panel.
  4. Select the plot options.

    os3400_ph1_element_thickness
    Figure 6. Contour panel Plot Options (Free-Size Optimization Results)
  5. In the Results Browser, select the last iteration.

    os3400_ph1_iterations_list
    Figure 7. Selecting the Final Iteration
  6. Click Apply.
  7. On the Standard Views toolbar, click viewAxisOrientationYXTop-24 to view the results in the X-Y plane.
The element thickness results from the free-size optimization are shown in the image below. The regions indicated in red or in colors tending towards red (from the legend) can be interpreted as thicker regions, while those in blue or tending towards blue are thinner regions. The contour plot indicated above is the total thickness distribution that includes contributions from each ply orientation, i.e. a thickness contribution from the 0s, +/-45s and the 90s. It also indicates the shape and layout of plies per orientation as can be seen in the ply thickness plot.

os3400_ph1_free_size_thickness_results
Figure 8. Element Thicknesses Contour Plot After Free-size Optimization

View the Ply Thickness Results

  1. From the Contour panel, set the Result type to Ply Thicknesses (s).
  2. Select the plot options.

    os3400_ph1_contour_panel_settings
    Figure 9. Ply Thicknesses Contour Plot
  3. In the Results Browser, select the last iteration.
  4. Click Apply.
    The thickness distribution of 0 degree super ply is generated. It represents the ply shapes and patch locations of the 0 degree ply bundles.

    os3400_ph1_00deg_superply
    Figure 10. Ply Thickness Contour Plot of the 0 Degree Super-Ply
  5. Create the ply thickness contours for super-ply 2 (45°), ply 3 (-45°), and ply 4 (90°) by selecting Layers 2, 3 and 4, respectively in the Contour panel.
    Due to the balance constraint applied, the thickness distribution of the +45° and the -45° super ply are the same.

    os3400_ph1_45deg_superply
    Figure 11. Ply Thickness Contour Plot of the -45/+45 Degree Super-ply

    os3400_ph1_90deg_superply
    Figure 12. Ply Thickness Contour Plot of the 90 Degree Super-ply

View the Ply Bundles

The optimized 'Super-ply' thickness is subsequently represented as 'Ply Bundles'. Four ply bundles per fiber orientation (Super ply) are output by default, based on an intelligent algorithm in OptiStruct. These ply bundles represent the shape and location of the plies per fiber orientation through element sets. In this case, a total of 16 ply bundles are created after free size optimization converges: plies 1 through 4 represent the ply bundles for 0 degree super-ply; plies 5 through 8 represent ply bundles for 90 degree super-ply; plies 9 through 12 represent ply bundle +45 degree super-ply; and applies 13 through 16 represent ply bundles for -45 degree super-ply.
  1. Go back to the HyperMesh and start a new model.
  2. Import the solver deck oht_opti_ph1_sizing.*.inc, located in the same directory where the file oht_opti_ph1.fem, into the current session.
  3. In the Model Browser, right-click on the Load Collectors folder and select Hide from the context menu.
    The display of all load collectors is turned off.
  4. In the Model Browser, right-click on the Plies folder and select Hide from the context menu.
    The display of all plies is turned off.
  5. In the Model Browser, Plies folder, activate the mesh view icon for each ply individually to review the plies.

    os3400_ph1_ply_review_mb_11300
    Figure 13. Model Browser View Showing Ply 11300 Selected (Laminate 1, Ply 1, Shape 3)

    os3400_ph1_ply_review_view_11300
    Figure 14. Graphics Area View of Ply 11300 (Laminate 1, Ply 1, Shape 3)
The shapes of the plies as indicated through the element set can be used as-is in design Phase 2, or modified easily by updating the element sets in HyperMesh or using ply smoothing to improve the manufacturability. Ply smoothing operations are shown in the next section.

Apply Ply Smoothing using OSSmooth

Ply smoothing is an automated method to further reduce the ply shapes into more manufactural ply shapes. Although ply smoothing significantly improves the ply shapes for manufacturability, often it is still necessary to manually edit the ply shapes after this step.
  1. From the Post page, click the OSSmooth panel.
  2. In the Select model field, select oht_opti_ph1_sizing.35.fem.
  3. Change the mode from Geometry to PLY Shape.
  4. In the output file field, select the original location with the name of oht_opti_ph1_sizing.35.smoothed.fem.
  5. In the smooth iterations field, enter 20.
  6. Under small region, clear the split disconnected and create geometry checkboxes.
  7. In the area ratio field, enter 0.010.
  8. Click OSSmooth to run the analysis to smooth the model.

os3400_ph1_ply_review_ossmooth_11300
Figure 15. View of Ply 11300 after Smoothing Operations (Laminate 1, Ply 1, Shape 3)