Sie sind auf Seite 1von 3

Tip/Trick#: HWProduct: HWVersion: Category: Topic:

768 OptiStruct/HyperMesh HW9.0andGreater Optimization SetupobjectivefunctionforOptimization

SettinguptheobjectivefunctionforaMinmaxoraMaxminoptimization
At times you might need to minimize a maximum value, or maximize a minimum value for several responses. For example, when trying to minimize the maximum von Mises stress among several elements. In such cases, MINMAX or MAXMIN can be used to define the objective function for a minimize maximum or maximize minimum kind of optimization. For these problems, the objective can be defined as: Minimize max,

Or alternatively

Maximize

where Wk are response values, and r k are corresponding reference values, which can be positive or negative depending on responses. Typically, the target value or constraint value of a response can be used as its reference value. The use of reference values allows you to set up general minmax or maxmin problems involving different responses with different magnitudes. MINMAX or MAXMIN references a DOBJREF statement in the bulk data section, which in turn refers to a DRESP1, DRESP2, or DRESP3 response definition. The reference values are defined on the DOBJREF entry.

To define a minmax or maxmin objective use the following steps: Step 1: Create responses 1. On the Analysis page go to optimization responses, or, Select Responses from the Optimization pull-down menu (see Figure 1)

Figure 1: Responses panel 2. Click on response= and enter a name 3. Click the toggle under response type to select a proper response type, for example, static stress responses on several elements in specified comps 4. Optionally, you can also define a region id for the stress response. Using this option with DSCREEN can help reduce the computational cost

Step 2: Create objective reference 1. On the Analysis page go to optimization obj reference (see Figure 2), or, Select Obj reference from the Optimization pull-down menu

Figure 2: Objective Reference panel 2. Click on dobjref = and enter a name 3. Click on response = and select the previously created response 4. Activate and enter reference values for neg reference = and/or pos reference = 5. If required, adjust the toggle to select loadsteps (subcases) 6. Click create 7. You can repeat steps 2 through 6 to define other objective references if required

Step 3: Create minmax/maxmin objective function 1. On the Analysis page go to optimization objective (see Figure 3) or, Select Objective from the Optimization pull-down menu

Figure 3: Objective panel


2. Click on the switch and choose minmax or maxmin 3. Click on the highlighted dobjrefs and select the desired objective references from the list 4. Click create

Notes: 1. Multiple MINMAX and MAXMIN entries are allowed, but a MAXMIN entry cannot appear in the same input file as a MINMAX entry.

Das könnte Ihnen auch gefallen