You are on page 1of 4

Pareto Optimization Tutorial 1

Pareto Optimization
Tutorial
This worksheet will show users how to use Optimate to setup a Pareto
Optimization study. In this type of study, the user will define the bounds for
the geometry modifications and competing objectives. The MO-SHERPA
algorithm will find the set of designs that are on the Pareto front.
Prerequisites
In order to complete this tutorial users will need:
Basic understanding of STAR-CCM+
Correctly installed version of Optimate add-on
Correctly installed version of HEEDS Optimate
Process
Starting Optimate
1. Start STAR-CCM+
2. Load the pipeMixingBlockage.sim simulation file
3. Start Optimate using the gear icon in the toolbar and select New
Project in the Load Project? dialog box. This action will launch a
blank Optimate project and check out a DOEsuite license until the
server is shut down, at which point the license will be released.
Run Mode Tab
1. Select the Pareto Optimization mode
Variables Tab
1. From the Design Parameters drop down menu, select the depth
parameter. Select the Add button to the right of the drop down box.
This will identify the depth of the pipe blockage as a variable that
Optimate can modify.
Pareto Optimization Tutorial 2

2. From the Design Parameters drop down menu, select the TranslateZ
parameter. Select the Add button to the right of the drop down box.
This will identify the translation of the blockage in the z direction as a
variable that Optimate can modify.
3. Confirm that Minimum, Maximum is selected as the definition mode
for the newly created variables
4. Select the depth variable. Change the Minimum to 0.04 and the
Maximum to 0.14.
5. Select the TranslateZ variable. Change the Minimum to 0.0 and the
Maximum to 0.20.
Outputs Tab
1. Select the InletPressure report. Add the report to the record reports by
selecting the Add button to the right of the reports drop down menu.
2. Select the OutletStDev report. Add the report to the record reports by
selecting the Add button to the right of the reports drop down menu.
3. Identify the residual plot to be exported after each run by selecting it
from the plots drop down menu and selecting the Add button to the
right of the plots drop down menu.
4. Identify the scene named Velocity to be exported after each run by
selecting it from the scenes drop down menu and selecting the Add
button to the right of the scene drop down menu.
5. Select the InletPressure report from the list of Recorded Reports. Set
the recording mode to Objective and confirm that the Goal is set to
minimize.
6. Select the OutletStDev report from the list of Recorded Reports. Set
the recording mode to Objective and confirm that the Goal is set to
minimize.
Assembly Tab
1. Set the Simultaneous Jobs to 2 and the number of Cores per
STAR-CCM+ Job to 2. This will require a computer with at least four
cores. If the local machine has more cores, feel free to increase either of
these settings, but ensure that there are enough tokens available to use
during the run.
2. Set the Number of STAR-CCM+ Runs to 40. This is the minimum
number of jobs needed to run for a Pareto Optimization problem.
3. Set the Check Frequency to 10. This will tell Optimate to check for
completed jobs every ten seconds which is reasonable for this small
Pareto Optimization Tutorial 3

analysis.
4. Select the Browse button to the right of the Image Directory field and
create a new directory named img in the project directory. Select the
Select button to exit the file browser. This will tell Optimate to place
all of the image files in the new directory. Alternatively you can simply
type a relative path into the Image Directory input. If this directory
doesnt exist STAR-CCM+ will create it before exporting the selected
plots and scenes.
5. Ensure that the Save all Simulation and Clear Solution
STAR-CCM+ Run Options are selected.
6. Ensure that the default HEEDS Save Option o f All Designs is
selected.
7. Select Export Project button. This will prompt you to specify the
location and name of the Optimate project file being saved. This file can
be used to reload your project in the future.
8. Select the Build Project button. This will create all the files necessary
for this study and a panel will pop up confirming this has completed.
Run Tab
1. Select the Start Local Job button to start the job on the local machine.
This will close the current server and start submitting jobs in the
background. The output from Optimate will be displayed in the
Output area. STAR-CCM+ servers should be visible in the server list.
2. HEEDS POST can be launched by selecting the Post Process button.
Post-Processing
The results be post-processed in either STAR-CCM+ or HEEDS POST once
the job is complete.
The exported scenes and plots will be available in the img directory that
was created.
HEEDS POST
To launch HEEDS POST, select the Post Process button in the Run Tab.
HEEDS POST can also be launched externally from the start menu,
command prompt or desktop icon.
If HEEDS POST is launched from Optimate, the results file will be
automatically loaded. If launched externally, the following must be
performed to load the results:
Pareto Optimization Tutorial 4

1. Select New from the File Menu
2. Select Import Study from the Home Tab
3. Navigate to the run directory and select the star.hds file
For this analysis, the Pareto front is automatically plotted as OutletStDev
vs. Inlet Pressure. To create 2-D relation plots to show the effect of the
inputs on the outputs:
1. Select the 2-D Relation icon in the General Plots
2. Select depth as the X-axis parameter
3. Select OutletStDev and InletPressure as Y-axis parameter
4. Select Finish
5. Modify the plot to place the pressure values on a secondary axis. This
can be found in the properties menu for the plot as seen below:
6. Repeat the same procedure using TranslateZ as the X-axis parameter

You might also like