Configure the Structural Simulation

Configure a step to simulate a compression test on the water bottle.

The structural simulation that you imported previously consists of a load applied to the top of an empty bottle. The load simulates situations in the supply chain distribution (such as stacking or packaging) that could induce buckling.

In the previous task, you set up the Automation Script adapter to change the midsection of the water bottle. In this task, you use a Structural Simulation adapter to select publications from the bottle model to be varied by a design of experiments (DOE). Later, when you run the simulation process, the app simulates a bottle that has different values for these parameters for each iteration.

  1. In the upper-right corner of the simulation activity, click the arrow to expand the simulation activity.
  2. From the Simulation Applications section of the action bar, click Structural Simulation , and drop it to the right of the Automation Script adapter in the same activity.
  3. In the process diagram, click the Structural Simulation adapter to open it's shortcut toolbar, and then click to open the adapter's editor.
  4. Click the Run tab.
  5. In the Simulation section, change the simulation type to Parameter.
  6. Create an object parameter for the structural simulation.
    1. Click to search for the physics simulation object.
    2. In the top bar, search for and select MyNameBottleCompressionTest A.1.
      The Create New Parameter dialog box appears and the selected simulation object appears in the Object Selection field.
    3. In the Create New Parameter dialog box, enter Structural Simulation for the parameter's name.
    4. Accept all other default values and click OK.
      Optimization Process Composer creates an object parameter for the structural simulation. In the simulation process, you can refer to this parameter.
    5. In the Simulation section, confirm that Structural Simulation is selected.
  7. In the Performance section, enter 8 for the number of Cores to use when running the simulation.
  8. From the Mode options, select Iterative run with the Branch and save full results option to save the simulation data.

    You can now view lightweight, 3D results in the Results Analytics app.

  9. In the Duplication and Deletion section, enter ${Run_Number} for the Copy prefix.

    The run number represents the iteration in the DOE that drives the simulation process. The app prepends the run number to the name of each model when each iteration of the process runs.

  10. Create a parameter for the structural results.
    1. From Capture copy in object parameter, click to create a parameter.
    2. Enter Structural Result for the parameter's name.
    3. Accept all other defaults, and click OK.
    4. From the Capture copy in object parameter options, confirm that Structural Result is selected.
  11. For the Field plot prefix, place your pointer before the default text, and enter ${Run_Number}.

    Each time the simulation process runs, the app prepends the iteration number to the names of the field plots.

  12. Similarly, for the History plot name, place your pointer before the default text, and enter ${Run_Number}.
  13. Expand the Advanced section, and select Run in dedicated session from the Execution mode options.
  14. Click the Input tab.
  15. In the tree, expand Model > PlasticBottleStructural > Publications, and select the following publications:

    • NumberOfRibsBottomSection
    • RadiusTopSection

    Selecting these publications creates activity parameters, which allows you to map them to the DOE adapter that you add later. The DOE adapter creates designs that have different numbers of ribs on the bottom section of the bottle. The image below shows the lower portion of two bottles that have different values for NumberOfRibsBottomSection.

    In addition, the DOE varies the radius of the top of the bottle. The image below shows the top portion of two bottles that have different values for RadiusTopSection.



  16. Click the Output tab.
  17. In the tree, expand Result > Result of Structural Analysis Case.1 > Sensors > Von Mises Stress.1, and select Result Manager\Result Of Structural Analysis Case.1\Von Mises Stress.1\Maximum.
    Selecting this sensor creates an activity parameter, allowing you to map it to the DOE that you create later. Mapping parameters between activities allows them to update as each activity runs.
  18. Click OK.
  19. Double-click the name of the activity, and rename it to Structural.