Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2...

55
Exploring the Design Domain Chapter Four

Transcript of Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2...

Page 1: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

Exploring theDesign Domain

Chapter Four

Page 2: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-2

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

A. Overview

• Exploring the design domain simply means experimenting with different designs.

• It is easy to explore the design domain once you have built a parametric model and an analysis file.

AnalysisFile

Explore theDesign Domain

Optimize theDesign

Initial Design

Parametric Model& Loading

Solution

ParametricResults

Page 3: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-3

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

• The ANSYS optimizer provides several tools to explore the design domain.

Exploring the Design Domain

...Overview

Single Loop

Random

Sweep

Gradient

Factorial

Page 4: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-4

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Overview

• These tools are also a good way to generate a set of initial designs for the Subproblem optimizer. (Subproblem generates N+2 random sets on its own if they are not provided.)

Page 5: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-5

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Overview

Single Loop Tool

• Performs one loop through the analysis file.

• Useful for what-if scenarios such as “What if I eliminate the diagonal members of this truss bridge (set their cross-sectional area to a very small value)?”

H1 H2

A1, A2, A3

Page 6: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-6

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Overview

Random Tool

• Generates random designs by assigning random values to the design variables.

• Useful for starting a subsequent design optimization session with a few “good” designs.

Page 7: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-7

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Overview

Sweep Tool

• Sweeps through the entire range of design variable values for each DV.

• Useful for global sensitivity studies - how a given design responds over the entire range of values of a given DV.

• An existing set must be specified to sweep through.

DV1

DV2

Reference Design

Page 8: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-8

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Overview

Gradient Tool

• Generates designs in the neighborhood of a reference design by changing each DV by a small amount.

• Useful for local sensitivity studies - how a given design responds to small perturbations in DVs.

• This tool is applied automatically at the end of a Subproblem optimization run to see if the optimum design is perhaps still perched on a hillside.

Obj

DV

Page 9: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-9

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Overview

Factorial Tool

• A statistical tool that samples all extreme points in the design domain, i.e, the minimum and maximum of each DV.

• Useful for understanding not only the effect of each DV on the design but also the effect of two-variable and three-variable interactions.

• Also known as design of experiments (since factorial methods are widely used in the interpretation of experimental results).

Design Space

Page 10: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-10

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

B. Procedure

• Once the analysis file is created, the same general sequence of steps applies to all the optimization tools:

1. Establish the initial design (DV, SV and OBJ values)

2. Enter the optimizer and identify the analysis file

3. Identify optimization variables

4. Run the optimization tool

5. Review results

Page 11: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-11

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Procedure

• To illustrate the steps, we will use a half-symmetry model of the truss bridge example.

• Objective is to minimize the total volume, subject to:

– Maximum vertical deflection < 1.0 in

– Maximum member stress < 10,000 psi

• Loading:

– P1 = 20 lb/in

– Gravity, g = 386 in/s2

• Design variables:

– A1, A2, A3, H1, H2H1 H2

A1, A2, A3

P1

Page 12: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-12

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Procedure

Step 1. Establish the Initial Design

• The analysis file contains the initial design - the design with initial values for DVs.

• To establish the initial design:

– First clear the database (or exit and re-enter ANSYS).

– Then use Utility Menu > File > Read Input from…

– Or the /INPUT command:

/input,trussbr,inp

Page 13: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-13

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Procedure

Step 2. Enter optimizer and identify analysis file

• This step simply tells the optimizer the name of the analysis file.

• Use:

– Main Menu > Design Opt > -Analysis File- Assign…

– Or the OPANL command:

/opt

opanl,trussbr,inp

Page 14: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-14

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Procedure

Step 3. Identify optimization variables

• This step designates the appropriate parameters as DVs, SVs, and OBJ.

• Use:

– the Design Opt menus shown on the right...

– or the OPVAR command:

opvar,a1,dv,1,10

opvar,uymax,sv,-1.0

opvar,totvol,obj

etc.

Page 15: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-15

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

...Procedure

Step 4. Run the optimization tool

Step 5. Review results

• We will describe these steps for each tool separately since they are unique to each tool.

Page 16: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-16

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

C. Single Loop Tool

Step 1. Establish the initial design

Step 2. Enter optimizer and identify analysis file

Step 3. Identify optimization variables

Step 4. Run the optimization tool:– Choose Single Loop tool

– Specify desired DV values

– Initiate the run

Step 5. Review results

Page 17: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-17

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Single Loop Tool

Choosing Single Loop Tool:

• Design Opt > Method/Tool…

Choose Single Run.

• Or use the OPTYPE command:

optype,run

Page 18: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-18

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Single Loop Tool

Specifying Desired DV Values:

• Use the Name=Value format, in the Input window or in the Scalar Parameters dialog (Utility Menu > Parameters > Scalar Parameters...).

• The values presumably represent a what-if scenario you want to examine. For example, what if the diagonal members of the bridge are eliminated (a3 set a very small value)?

a1=10

a2=8

a3=0.01 (very small value)

h1=300

h2=400

Page 19: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-19

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Single Loop Tool

Initiating the Run:

• Design Opt > Run…

• Or use the OPEXE command:

opexe

• This creates a new design set, with new values for the state variables and objective function.

Page 20: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-20

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Single Loop Tool

Page 21: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-21

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Single Loop Tool

Step 5. Review Results

• One way is to simply list the design set and check values of the state variables and objective function:

– Design Opt > -Design Sets- List…

– Or use the OPLIST command:

oplist

Page 22: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-22

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Single Loop Tool

– OPLIST for the truss bridge example shows that the design (set number 3) is infeasible because of high compressive stress in the middle (SCMID) and high tensile stress in the left region (STLEFT).

Page 23: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-23

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Single Loop Tool

• Another way to review results of a single loop run is to use POST1 (the General Postprocessor):

– Deformed shape

– Stress contours

– etc.

Page 24: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-24

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Single Loop Tool

• ANSYS allows you to run any number of single loops.

• Each design is given a new set number, and all design sets are stored in the optimization database (jobname.opt by default).

• You can use OPSEL or Design Opt > -Design Sets- Select/Delete…to keep only the feasible designs.

• One possible application of the single loop is to run several single loops and use the design sets as a starting point for design optimization.

Page 25: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-25

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

D. Random Tool

• Generates designs by assigning random values to DVs.

• Procedure is as follows:

Step 1. Establish the initial design

Step 2. Enter optimizer and identify analysis file

Step 3. Identify optimization variables

Step 4. Run the optimization tool

– Specify run-time controls

– Choose Random tool

– Save the optimization database

– Initiate the run

Step 5. Review Results

Page 26: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-26

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Random Tool

Run-time Controls:

• Optimization database file name (OPDATA command). Defaults to jobname.opt.

• How to read the analysis file (OPLOOP). Default is to read from the beginning and to ignore DV parameter definitions.

• Printout controls (OPPRNT). Default is to suppress details.

• Save-best-design option (OPKEEP). Allows you to save the best design as it occurs. Default is OFF.

• Use the commands above or Design Opt > Controls…

Page 27: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-27

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Random Tool

Choosing Random Tool:

• Requires two pieces of information:

– Number of random designs to be generated (NITR)

– Number of feasible designs after which to stop (NFEAS). Default is to run all NITR iterations.

• Use OPTYPE and OPRAND commands:optype,random

oprand,nitr,nfeas

Page 28: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-28

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Random Tool

• Or

Design Opt > Method/Tool...

Page 29: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-29

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Random Tool

Saving the Opt Database:

• Allows you to resume the optimization database in its current state if needed.

• Specify a file name different from the default name of jobname.opt, since the default name gets updated each iteration.

• Design Opt > -Opt Database- Save…

• Or the OPSAVE command:

opsave,trussbr,opt0

Page 30: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-30

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Random Tool

Initiating the Run:

• Design Opt > Run…

• Or use the OPEXE command:

opexe

• Up to NITR designs are generated. NITR is the number of random designs requested on the OPRAND command.

Page 31: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-31

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Random Tool

Step 5. Review Results

• Typically consists of listing the random design sets:

– Design Opt > -Design Sets- List…

– Or use the OPLIST command:

oplist

Page 32: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-32

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Random Tool

• The Random tool is useful as a precursor to a design optimization session: you can generate random designs, select only the feasible ones, and use them as a starting point for the optimizer.

• Next, we will see how to use the Sweep tool.

Page 33: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-33

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

E. Sweep Tool

• The Sweep tool uses a specified design as a reference point and increments each DV through its entire range while holding the others constant.

• Gives an idea of the global sensitivity of a response quantity to a design variable.

Page 34: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-34

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Sweep Tool

• Procedure is as follows:

Step 1. Establish the initial design

Step 2. Enter optimizer and identify analysis file

Step 3. Identify optimization variables

Step 4. Run the optimization tool

– Specify run-time controls (as before)

– Choose Sweep tool

– Save the optimization database (as before)

– Initiate the run (as before)

Step 5. Review Results

Page 35: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-35

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Sweep Tool

Choosing Sweep Tool:

• Requires two pieces of information:

– The reference design set number DSET. While each DV is swept, the other DVs are held at values specified by DSET. If only one design exists (such as the initial design), then that design is used as the reference point.

– Number of sweeps per DV (NSPS). NSPS = 2 generates two designs per DV - one each at the minimum and maximum values.

Page 36: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-36

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Sweep Tool

• Use

– Design Opt > Method/Tool…

– Or OPTYPE and OPSWEEP commands:

optype,sweep

opsweep,dset,nsps

• Creates NSPS*N designs, where NSPS is the number of sweep points per design variable and N is the number of design variables.

Page 37: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-37

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Sweep Tool

Step 5. Reviewing Results

• Results from the Sweep tool indicate how each DV affects the design - global sensitivity.

– For example, what happens to UYMAX (vertical deflection) if A3 (area of diagonal members) is incremented from MIN to MAX?

• You can use graphs or tabular listings for this purpose.

Page 38: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-38

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Sweep Tool

• Graphs:

– Design Opt > Tool Results > -Graph- Sweeps...

– Or the OPLSW command:

oplsw,uymax,a1,a2,a3

Page 39: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-39

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Sweep Tool

• Tabular listings:

– Design Opt > Tool Results > Print...

– Or the OPRSW command:

oprsw,all

– Prints a table of normalized values of response variables versus normalized DV values.

Page 40: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-40

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

F. Gradient Tool

• The Gradient tool uses a specified design as a reference point and slightly perturbs each DV to determine local sensitivities.

• Useful as a follow-on to design optimization, to test the sensitivity of the optimum design to small DV changes.

Page 41: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-41

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Gradient Tool

• Procedure is as follows:

Step 1. Establish the initial design

Step 2. Enter optimizer and identify analysis file

Step 3. Identify optimization variables

Step 4. Run the optimization tool

– Specify run-time controls (as before)

– Choose Gradient tool

– Save the optimization database (as before)

– Initiate the run (as before)

Step 5. Review Results

Page 42: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-42

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Gradient Tool

Choosing Gradient Tool:

• Requires two pieces of information:

– The reference design set number DSET. DV values of this design set are slightly perturbed to measure the gradient. If only one design exists (such as the initial design), then that design is used as the reference point.

– Amount of perturbation DELTA, specified as a percent forward difference. Each DV is changed by the amount

± DELTA*(MAX-MIN)/100

Page 43: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-43

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Gradient Tool

• Use

– Design Opt > Method/Tool…

– Or OPTYPE and OPGRAD commands:

optype,sweep

opgrad,dset,delta

• Creates N designs, where N is the number of design variables.

Page 44: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-44

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Gradient Tool

Step 5. Reviewing Results

• Results from the Gradient tool indicate how a small change in a DV affects the design - i.e, local sensitivity.

– For example, what happens to UYMAX if mid-span height H2 is perturbed by ±1%?

• You can use graphs or tabular listings for this purpose. Both outputs are based on a ±1% change in DVs.

Page 45: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-45

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Gradient Tool

• Graphs:

– Design Opt > Tool Results > -Graph- Gradient...

– Or the OPLGR command:

oplsw,uymax,a1,a2,a3

Page 46: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-46

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Gradient Tool

• Tabular listings:

– Design Opt > Tool Results > Print...

– Or the OPRGR command:

oprgr,all

Page 47: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-47

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

G. Factorial Tool

• This tool samples the extremes of the design domain - the minimum and maximum values of all DVs.

• Full factorial and fractional factorial runs are available.

– Full factorial creates 2n designs, where n is the number of DVs.

– Fractional factorial creates fraction*2n designs, where fraction may be 1/2, 1/4, 1/8, 1/16, 1/32, or 1/64.

– For example, if there are two design variables A and B, a full factorial run would create 4 designs:

Amin Bmin Amin Bmax

Amax Bmin Amax Bmax

Page 48: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-48

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Factorial Tool

• Procedure is as follows:

Step 1. Establish the initial design

Step 2. Enter optimizer and identify analysis file

Step 3. Identify optimization variables

Step 4. Run the optimization tool

– Specify run-time controls (as before)

– Choose Factorial tool

– Save the optimization database (as before)

– Initiate the run (as before)

Step 5. Review Results

Page 49: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-49

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Factorial Tool

Choosing Factorial Tool:

• Specify full or fractional factorial: full, 1/2, 1/4, etc.

• Use

– Design Opt > Method/Tool…

– Or OPTYPE and OPFACT commands:

optype,fact

opfact,type

• Creates Fraction*2**N Design Sets

Page 50: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-50

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Factorial Tool

Step 5. Reviewing Results

• Results from the Factorial tool can be used to review the following:

– Main effects, i.e, the overall effect of each DV on the design.

– Two-variable interaction effects, i.e, how much the effect of one DV on the design depends on the value of another DV.

– Three-variable interaction effects.

• You can use bar charts or tabular listings for this purpose.

Page 51: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-51

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Factorial Tool

• Bar Charts:

– Design Opt > Tool Results > -Graph- Factorial...

– Or the OPLFA command:

oplfa,name,effect

Page 52: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-52

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Factorial Tool

• This bar chart shows the main effects for SCLEFT (maximum compressive stress in the left region of the truss bridge).

A1 and H1 (DV numbers 1 and 4) have the most effect, and H2 (DV 5) has virtually no effect on SCLEFT.

Page 53: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-53

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Factorial Tool

• Two-factor DV interactions for SCLEFT:

Page 54: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-54

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain - Procedure

...Factorial Tool

• Tabular listings:

– Design Opt > Tool Results > Print...

– Or the OPRFA command:

oprfa,all

Page 55: Exploring the Design Domain Chapter Four. Training Manual January 30, 2001 Inventory #001449 4-2 Exploring the Design Domain A. Overview Exploring the.

January 30, 2001

Inventory #001449

4-55

DES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7D

ES

IGN

OP

TIM

IZA

TIO

N 5

.7

Training Manual

Exploring the Design Domain

H. Workshop

• In this workshop, we will perform Sweep and Gradient studies on the hexagonal steel plate from previous workshop exercises.

• See your Design Optimization Workshop Supplement for details.