Anda di halaman 1dari 14

Beginn: 11:00 Uhr

HyperWorks Best Practice


www.altairhyperworks.de/BestPractice

Interpretation der
OptiStruct Protokolldatei *.out

zur Kontrolle der Optimierung


Thomas Lehmann
(14.06.2013)

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Agenda

Out file overview (live)


Optimization Parameter and Start Values DVs
Retained Response Table and Response screening
User Requested Response Table

Convergence Criteria and Convergence Plotting


Examples convergence problems
Common optimization error messages

Summary

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Optimization Parameter and Start Values DV


Optimization Parameter Summary (DOPTPRM) and Designvariables

Topology Opti: Start value DV = MATINIT

MATINIT defaults:

0.9

if mass,massfrac, volume or volfrac is objective

0.6

if mass,massfrac, volume or volfrac is not objective and is not constraint

Constraint value

if mass,massfrac, volume or volfrac is constraint

MATINIT = 1.0

is analysis value for density

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Retained Response Table


Retained Responses: Retained responses after screening
Objective responses

Single response (min / max)

Multiple responses (minmax / maxmin)

Constraint responses

Active Constraints

Violated Constraints

Constraints are at their bounds


Constraints are over their bounds

Neither active nor violated

Constraints are under their bounds

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Response screening

Screening

Reduce number of retained responses => reduce computationally expensive sensitivity calculation

Only responses witch dont affect the direction of optimization should be screened out

Auto screening

Automatically and adaptively adjusted in each iteration

Retain the least number of responses necessary for stable convergence

On by default

Not for topology with current version (OS12)

auto screening use the default values of manual screening

Manual screening

For very large problems auto screening may be require too much memory

For topology optimization

Constraints screening

For stable convergence number of retained responses should be higher than the number of active constraints

Objective screening for minmax or maxmin optimization

Use the same treshold and max retained like constraint screening. The bound is in this case the current max or min
value of the vector response

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

User Requested Response Table

Printing objective and screened constraints (default)

*.out: RETAINED RESPONSES TABLE and MOST VIOLATED CONSTRAINTS TABLE

Printing screened out constraints:

*.fem: RESPRINT = ALL or = MASS etc.

*.out: USER-REQUESTED RESPONSES TABLE

Printing unconstraint responses or responses inside equations.

*.fem: DREPORT (Bulk Data Section) and


REPGLB/REPSUB (I/O- / Subcase Section)
*.out: USER-REQUESTED RESPONSES TABLE

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Convergence Criteria

Max number of iterations reached

*.fem: DOPTPRM,DESMAX,n -> default: 30 (without manu) or 80 (with manu)

Relative change in the objective function for two consecutive


iterations less 0.005 (default)
and constraint violations are less than 1% - Feasible Design

*.fem:

DOPTPRM, OBJTOL, n (default: 0.005)

*.out:

2nd satisfied convergence (1 x without manu; 3 x with manu)


FEASIBLE DESIGN (ALL CONSTRAINTS SATISFIED)

Relative change in the objective function for two consecutive


iterations less 0.005 (default)
and constraint violations are more than 1%
and relative change of constraints are less than 0.2% - Infeasible Design

*.out:

INFEASIBLE DESIGN (AT LEAST ONE CONSTRAINT VIOLATED)

Relative change in the design variables

*.out Soft convergence criterion satisfied;

the design did not change during the last iteration > needs 1 Iteration less then regular
convergence

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Plotting Convergence in Hypergraph


*. hgadata

Plotting Response and Designvariables over iterations:

Objectiv

Consraint violations

Constraints

Designvariables

1 phase convergence vs. 3 phase convergence

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Examples convergence problems


Load path cutting

displacement constraints without loads

Local compliance

Low volfrac

Load changing

Topology optimizatin with Gravity or Rotational Force

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Common optimization error messages


Massfrac / volfrac error I

Massfrac / volfrac error II

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Common optimization error messages


When massfrac / volfrac when mass / volume:

massfrac and volumefrac response

Topology and FreeSize Optimization only

Total:

scalar value

by entity:

vector response

massfrac:

Design + Nondesign

Volfrac:

only Design

mass and volume response

All disciplines

Total and sum: scalar value

by entity:

Design + Nondesign

vector response

Example vector response:

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Common optimization error messages


Objective: single value

Stress response is applied to Topology or FreeSize

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Common optimization error messages


Compliance error:

Possible reasons:

Small volfrac, Pressure on topology designspace, large model (e.g. ship)

Debugging tips

Iteration 0:
Start with feasible design e.g. topology opti: MATINIT =1.0
Iteration n:
Look at the last design:
Postprocess *_des.h3d
Look at the last analysis results:
Option 1: Restart from iteration n-1: with only 1 Iteration > *.h3d
Option 2: rerun optimization with output card OUTPUT,H3D,ALL

Copyright 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Summary

Interpretation of an optimization *.out file helps to:

Check optimization setup and parameters

Get desired responses

Check convergence

Check error messages

Anda mungkin juga menyukai