Webinar OptiSLang4 Ansys WB

39
1 Webinar optiSLang 4 & ANSYS Workbench Dynardo GmbH

description

optiSLang is an algorithmic toolbox forsensitivity analysis, optimization,robustness evaluation, reliability analysisand robust design optimization (RDO)

Transcript of Webinar OptiSLang4 Ansys WB

Page 1: Webinar OptiSLang4 Ansys WB

1

Webinar

optiSLang 4 & ANSYS Workbench

Dynardo GmbH

Page 2: Webinar OptiSLang4 Ansys WB

2Webinar optiSLang 4 and ANSYS Workbench

Excellence of optiSLang

• optiSLang is an algorithmic toolbox for

sensitivity analysis, optimization,

robustness evaluation, reliability analysis

and robust design optimization (RDO)

• optiSLang is the commercial tool that has

completed the necessary functionality of

stochastic analysis to run real world

industrial applications in CAE-based

robust design optimizations

• optiSLang offers the beginner and

expert users an easy and reliable

application by means of predefined

workflows, algorithmic wizards and

robust default settings

Page 3: Webinar OptiSLang4 Ansys WB

3Webinar optiSLang 4 and ANSYS Workbench

Start

CAE process (FEM, CFD, MBD, Excel, Matlab, etc.)

Robust Design Optimization

Optimization

Sensitivity Study

Single & Multi objective (Pareto) optimization

Robust Design

Variance based Robustness Evaluation

Probability based Robustness Evaluation, (Reliability analysis)

Page 4: Webinar OptiSLang4 Ansys WB

4Webinar optiSLang 4 and ANSYS Workbench

Graphical User Interface

Page 5: Webinar OptiSLang4 Ansys WB

5Webinar optiSLang 4 and ANSYS Workbench

optiSLang 4: Graphical User Interface

Build, Run and Analyze your flow using• Wizards• Comfortable Drag&Drop• Dialogs and Tables• Postprocessing

Page 6: Webinar OptiSLang4 Ansys WB

6Webinar optiSLang 4 and ANSYS Workbench

Nodes

• Input

• Process / Properties

• Output

Connections

• Data flow

• Triggering

Graphical Programming

Page 7: Webinar OptiSLang4 Ansys WB

7Webinar optiSLang 4 and ANSYS Workbench

Process Integration

Page 8: Webinar OptiSLang4 Ansys WB

8Webinar optiSLang 4 and ANSYS Workbench

Process Integration

Parametric model as base for

• User defined optimization (design) space

• Naturally given robustness (random) space

Design variablesEntities that define the design space

Response variablesOutputs from the system

The CAE processGenerates the results according to the inputs

Scattering variablesEntities that define the robustness space

Page 9: Webinar OptiSLang4 Ansys WB

9Webinar optiSLang 4 and ANSYS Workbench

Signals in optiSLang

• Signals are vector outputs having an abscissa (e.g. time axis)

and several output channels (e.g. displacements, velocities)

• Comprehensive library of signal functions enables the user to extract

local and statistical quantities and to analyze differences between

several signal channels e.g. for calibration tasks

• Automatic mapping of non-consistent abscissa discretizations for the

signals of each design and of the reference curves

• Direct access to signal plots in the optiSLang postprocessing and

interactive connection to the statistic/optimization postprocessing

Page 10: Webinar OptiSLang4 Ansys WB

10Webinar optiSLang 4 and ANSYS Workbench

optiSLang 4 Integrations

Direct integrations� Matlab� Excel� Python� SimulationX� Ansys Workbench

Supported connections� Ansys� Abaqus� Adams� …

Arbitary connection ofASCII file based solvers

Page 11: Webinar OptiSLang4 Ansys WB

11Webinar optiSLang 4 and ANSYS Workbench

Full integration of optiSLang in Ansys Workbench

• optiSLang modules Sensitivity, Optimization and

Robustness are directly available in ANSYS Workbench

Page 12: Webinar OptiSLang4 Ansys WB

12Webinar optiSLang 4 and ANSYS Workbench

The Workbench Integration

• The workbench node directly connects to

the workbench project and gets the inputs

and outputs from the parameter set

Page 13: Webinar OptiSLang4 Ansys WB

13Webinar optiSLang 4 and ANSYS Workbench

© Dynardo GmbH

Sensitivity Analysis

Page 14: Webinar OptiSLang4 Ansys WB

14Webinar optiSLang 4 and ANSYS Workbench

© Dynardo GmbH

Scanning the Design Space

Inputs Design of Experiments Solver evaluation Outputs

• Uniform distribution of inputs is represented by Latin Hypercube Sampling

• Minimum number of samples should represent statistical properties, cover the input space optimally and avoid clustering

• For each design all responses are calculated

Page 15: Webinar OptiSLang4 Ansys WB

15Webinar optiSLang 4 and ANSYS Workbench

Metamodel of Optimal Prognosis (MOP)

• Approximation of solver output by fast surrogate model

• Reduction of input space to get best compromise between available

information (samples) and model representation (number of inputs)

• Determination of optimal approximation model

• Assessment of approximation quality

• Evaluation of variable sensitivities

© Dynardo GmbH

Page 16: Webinar OptiSLang4 Ansys WB

16Webinar optiSLang 4 and ANSYS Workbench

© Dynardo GmbH

Multi-Disciplinary Optimization

Page 17: Webinar OptiSLang4 Ansys WB

17Webinar optiSLang 4 and ANSYS Workbench

© Dynardo GmbH

Multidisciplinary Optimization with optiSLang

CAD and CAE Parameter definition

Sensitivity study – identify the most important parameters and check variation/COD of response values

minimize

Define optimization goal and optimize

Validate optimized design in CAE and CAD

Page 18: Webinar OptiSLang4 Ansys WB

18Webinar optiSLang 4 and ANSYS Workbench

© Dynardo GmbH

optiSLang Optimization Algorithms

Gradient-based Methods

• Most efficient method if gradients are accurate enough

• Consider its restrictions like local optima, only continuous variablesand noise

Adaptive Response Surface Method

• Attractive method for a small set of continuous variables (<20)

• Adaptive RSM with default settings is the method of choice

Nature inspired Optimization

• GA/EA/PSO imitate mechanisms of nature to improve individuals

• Method of choice if gradient or ARSM fails

• Very robust against numerical noise, non-linearity, number of variables,…

Start

Page 19: Webinar OptiSLang4 Ansys WB

19Webinar optiSLang 4 and ANSYS Workbench

Pareto Optimization

• Find a set of solutions close to the Pareto-optimal solutions

• Find solutions which are diverse enough to represent the whole front

Strength Pareto Evolutionary Algorithm

• Elitism is applied by using an archive

of non-dominated individuals

• Fitness assignment is based on the

dominance criterion

• Preservation of population diversity

is realized by density estimation

• Suitable start population significantly

improves convergence

© Dynardo GmbH

Page 20: Webinar OptiSLang4 Ansys WB

20Webinar optiSLang 4 and ANSYS Workbench

Decision Tree for Optimizer Selection

• optiSLang automatically suggests an optimizer depending on the

parameter properties, the defined criteria and user specified settings

© Dynardo GmbH

Page 21: Webinar OptiSLang4 Ansys WB

21Webinar optiSLang 4 and ANSYS Workbench

© Dynardo GmbH

Robustness Analysis

Page 22: Webinar OptiSLang4 Ansys WB

22Webinar optiSLang 4 and ANSYS Workbench

© Dynardo GmbH© Dynardo GmbH

Variance based Robustness Analysis

1) Define the robustness space using scatter range, distribution and correlation

2) Scan the robustness space by producing and evaluating ndesigns

3) Check the variation 4) Check the

explainability of the model

5) Identify the most important scattering variables

Page 23: Webinar OptiSLang4 Ansys WB

23Webinar optiSLang 4 and ANSYS Workbench

Training Program

Page 24: Webinar OptiSLang4 Ansys WB

24Webinar optiSLang 4 and ANSYS Workbench

© Dynardo GmbH

Training

optiSLang 4 Basics

• 3 day introduction to process integration (ASCII, Matlab, Excel, Python),

sensitivity, optimization, calibration and robustness analysis

optiSLang inside ANSYS Workbench

• 2 day introduction seminar to parameterization in ANSYS Workbench

and sensitivity analysis and optimization via optiSLang inside ANSYS WB

optiSLang 4 and ANSYS Workbench

• 1 day introduction to the integration of ANSYS Workbench projects in a

optiSLang 4 solver chain, parameterization of signals via APDL output

optiSLang 4 Update

• 1 day update seminar introducing process integration and automation

with optiSLang 4 (for optiSLang 3 users)

Page 25: Webinar OptiSLang4 Ansys WB

25Webinar optiSLang 4 and ANSYS Workbench

Examples

Page 26: Webinar OptiSLang4 Ansys WB

26Webinar optiSLang 4 and ANSYS Workbench

Optimization of a Hook

How to change the hook, so that

• The v.-Mises stress will not exceed 300MPa,

• The mass will be as minimal as possible and

• Certain geometry parameters will be in predefined bounds?

Page 27: Webinar OptiSLang4 Ansys WB

27Webinar optiSLang 4 and ANSYS Workbench

DS_Angle (120-150°)

DS_Thickness (15-25 mm)

DS_LowerRadius (45-55 mm)

DS_Depth (15-25 mm)

Optimization of a Hook

Design parameters (at DesignModeler)

Page 28: Webinar OptiSLang4 Ansys WB

28Webinar optiSLang 4 and ANSYS Workbench

Solver: ANSYS® Mechanical

• Open the ready to use Workbench project hook.wbpz

• In ANSYS Workbench ANSYS Mechanical is used as solver

1.

Page 29: Webinar OptiSLang4 Ansys WB

29Webinar optiSLang 4 and ANSYS Workbench

Results of the Sensitivity Analysis

• The approximation quality is excellent for both output variables

• The influence of the angle and the lower radius is relatively small

Page 30: Webinar OptiSLang4 Ansys WB

30Webinar optiSLang 4 and ANSYS Workbench

Initial vs. Optimal Design

Initial Design Optimal Design

Mass = 752g Mass = 613g

Equivalent Stress = 460MPa Equivalent Stress = 299MPa

Page 31: Webinar OptiSLang4 Ansys WB

31Webinar optiSLang 4 and ANSYS Workbench

Damped Oscillator

• Single degree-of-freedom system

excited with initial kinetic energy

• Equation of motion of free vibration:

• Un-damped and damped eigen-frequency

• Time-dependent displacement function

Page 32: Webinar OptiSLang4 Ansys WB

32Webinar optiSLang 4 and ANSYS Workbench

• Optimization goal: Minimize maximum

amplitude after 5s free vibration:

• Restricted damped eigen-frequency

as optimization constraint:

• Mass and stiffness as optimization

variables, damping ratio and

kinetic energy as constant

The Optimization Task

Page 33: Webinar OptiSLang4 Ansys WB

33Webinar optiSLang 4 and ANSYS Workbench

• Robustness evaluation at

the deterministic optimum

• Mass m, damping ratio D, stiffness k and initial kinetic energy as

normally distributed random variables

Robustness Analysis

Page 34: Webinar OptiSLang4 Ansys WB

34Webinar optiSLang 4 and ANSYS Workbench

Solver: MS Excel

• Open the ready to use Workbench project via the start menu:

� All Programs/optiSLang/Ansys Workbench/Examples/oscillator.wbpz

• In ANSYS Workbench Microsoft Office Excel is used as a solver

Page 35: Webinar OptiSLang4 Ansys WB

35Webinar optiSLang 4 and ANSYS Workbench

Cantilever Beam

• Finite Element model in ANSYS Workbench

• Elastic material behavior

• Cantilever beam is deformed by a predefined external displacement

• Reaction forces at deformed beam end are monitored depending on

deformation and written to text output file via APDL

Page 36: Webinar OptiSLang4 Ansys WB

36Webinar optiSLang 4 and ANSYS Workbench

Problem Definition

• Identification of the geometry

parameters that a given

reference force displacement

function is achieved

• Parameter bounds:

Thickness 0.8 – 1.2 mm

Radius 32.0 – 37.0 mm

Depth 2.5 – 3.5 mm

Height 5.0 – 15.0 mm

• Objective function is the sum of squared errors between the reference

and the calculated force values

Page 37: Webinar OptiSLang4 Ansys WB

37Webinar optiSLang 4 and ANSYS Workbench

The Solver Chain

• The solver chain contains the workbench node and an additional text

output node to read the APDL output file

• The reference is obtained by another text output node

Page 38: Webinar OptiSLang4 Ansys WB

38Webinar optiSLang 4 and ANSYS Workbench

Results of the Sensitivity Analysis

Page 39: Webinar OptiSLang4 Ansys WB

39Webinar optiSLang 4 and ANSYS Workbench

Results of the Optimization