Setting Up the Study

After loading the reference simulation into Design Manager, you proceed to set input and output parameters.

For this tutorial, you configure Design Manager to modify the values of the mass flow inlet in order to obtain a performance curve.

For the outputs, you configure Design Manager to save the scenes that show the mass fraction of each mixture inside the pipe, as well as the mass fraction at the outlet. In addition to the scenes, you configure Design Manager to save the plots containing the residuals and the pressure drop, as these plots are useful for assessing solution convergence.

  1. Right-click the Design Studies node and select New.
  2. Rename the Design Study node to Sweep.
  3. Select the Sweep study node.
    Information about the study, including the type of study and the location of the baseline simulation, is displayed in the Properties window.
  4. In the Properties window, set Study Type to Sweep.
    The icon next to the study reflects the type of study performed.
  5. Expand the Simulations > staticMixer_optimized.sim node.
    All the objects that are nested under this node can be used as inputs and outputs by Design Manager.
  6. Define the input parameters for the study:
    1. Select the Design Studies > Sweep > Input Parameters node and click the property customizer () for Parameters.
    2. In the Input Parameters dialog, select Simulation Parameters > Mass Flow Rate and click OK.
      The Mass Flow Rate simulation parameter is added to the study.
    3. Select the Sweep > Input Parameters > Mass Flow Rate > Continuous node and set the following parameters:
      Parameter Setting
      Range [0.1, 3.5] kg/s
      Resolution 10
      The Range defines the upper and lower limit for each design parameter that Design Manager can control during the optimization. The Resolution defines the number of different values to which mass flow rate is set. When you set Resolution, the value of Increment is calculated automatically.
  7. Define the responses for the study:
    1. Select the Design Studies > Sweep > Responses node and click the property customizer () for Response.
    2. In the Responses dialog, select the PressureDrop response, and click OK.
      The PressureDrop report from the reference simulation is added as a response to the study.
  8. Select the data that you want to post-process:
    1. Select the Design Studies > Sweep > Scenes node and click the property customizer () for Scenes.
    2. In the Scenes dialog, select the following scenes and click OK:
      Scene Description
      O2_MassFraction Displays the mass fraction of Oxygen in the pipe. The isosurface in the scene is colored to show the pressure values in the pipe. The fins in the pipe are also displayed.
      N2_MassFraction Displays the mass fraction of Nitrogen along the length of the pipe.
      Outlet_N2_MassFraction Displays the mass fraction of Nitrogen at the outlet.
      The selected scenes from the baseline simulation are added as scenes to the study.
    3. Select the Design Studies > Sweep > Plots node and click the property customizer () for Plots.
    4. Select the PressureDrop Monitor Plot and Residuals plots.
  9. Set up a plot to show pressure drop vs. mass flow rate:
    1. Right-click the Design Studies > Sweep node and select Create Plot > Parameter vs Response.
    2. In the Parameter vs Response Plot Setup dialog, click OK.
      A plot scene opens and a Parameter vs Response Plot is added to the Plots node of the project.
    3. Rename the Parameter vs Response Plot to Performance Plot.
    4. Select the Performance Plot node and set Title to Performance.
    5. Select the Performance Plot > Data Series > Sweep > Line Style node and set Style to Solid.
  10. Save the Design Manager project.