Webinar OptiSLang4 Ansys WB

Download as pdf or txt
Download as pdf or txt
You are on page 1of 39

Webinar optiSLang 4 & ANSYS Workbench

Dynardo GmbH

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

Webinar optiSLang 4 and ANSYS Workbench

Start

Robust Design Optimization Robust Design


Variance based Robustness Evaluation

Optimization
Sensitivity Study

Probability based Single & Multi objective Robustness Evaluation, (Pareto) optimization (Reliability analysis)
CAE process (FEM, CFD, MBD, Excel, Matlab, etc.)
Webinar optiSLang 4 and ANSYS Workbench 3

Graphical User Interface

Webinar 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

Webinar optiSLang 4 and ANSYS Workbench

Graphical Programming
Nodes Input Process / Properties Output Connections Data flow Triggering

Webinar optiSLang 4 and ANSYS Workbench

Process Integration

Webinar optiSLang 4 and ANSYS Workbench

Process Integration
Parametric model as base for User defined optimization (design) space Naturally given robustness (random) space

Design variables Entities that define the design space

Scattering variables Entities that define the robustness space

The CAE process Generates the results according to the inputs

Response variables Outputs from the system

Webinar 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

Webinar optiSLang 4 and ANSYS Workbench

optiSLang 4 Integrations
Direct integrations Matlab Excel Python SimulationX Ansys Workbench Supported connections Ansys Abaqus Adams

Arbitary connection of ASCII file based solvers

Webinar optiSLang 4 and ANSYS Workbench

10

Full integration of optiSLang in Ansys Workbench


optiSLang modules Sensitivity, Optimization and Robustness are directly available in ANSYS Workbench

Webinar optiSLang 4 and ANSYS Workbench

11

The Workbench Integration


The workbench node directly connects to the workbench project and gets the inputs and outputs from the parameter set

Webinar optiSLang 4 and ANSYS Workbench

12

Dynardo GmbH

Sensitivity Analysis

Webinar optiSLang 4 and ANSYS Workbench

13

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
14

Webinar optiSLang 4 and ANSYS Workbench

Dynardo GmbH

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

Webinar optiSLang 4 and ANSYS Workbench

15

Dynardo GmbH

Multi-Disciplinary Optimization

Webinar optiSLang 4 and ANSYS Workbench

16

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

Validate optimized design in CAE and CAD


Webinar optiSLang 4 and ANSYS Workbench

Define optimization goal and optimize


17

Dynardo GmbH

optiSLang Optimization Algorithms


Gradient-based Methods Adaptive Response Surface Method Nature inspired Optimization

Most efficient method if Attractive method for GA/EA/PSO imitate gradients are accurate a small set of mechanisms of nature to enough continuous variables improve individuals (<20) Consider its restrictions Method of choice if like local optima, only Adaptive RSM with gradient or ARSM fails continuous variables default settings is the Very robust against and noise method of choice numerical noise, nonlinearity, number of variables,
Start

Webinar optiSLang 4 and ANSYS Workbench

18

Dynardo GmbH

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

Webinar optiSLang 4 and ANSYS Workbench

19

Dynardo GmbH

Decision Tree for Optimizer Selection


optiSLang automatically suggests an optimizer depending on the parameter properties, the defined criteria and user specified settings

Webinar optiSLang 4 and ANSYS Workbench

20

Dynardo GmbH

Robustness Analysis

Webinar optiSLang 4 and ANSYS Workbench

21

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 n designs

5) Identify the most important scattering 4) Check the variables explainability of the model

3) Check the variation

Webinar optiSLang 4 and ANSYS Workbench

22

Training Program

Webinar optiSLang 4 and ANSYS Workbench

23

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)
24

Webinar optiSLang 4 and ANSYS Workbench

Examples

Webinar optiSLang 4 and ANSYS Workbench

25

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?

Webinar optiSLang 4 and ANSYS Workbench

26

Optimization of a Hook
Design parameters (at DesignModeler)

DS_Angle (120-150) DS_Thickness (15-25 mm) DS_Depth (15-25 mm)

DS_LowerRadius (45-55 mm)

Webinar optiSLang 4 and ANSYS Workbench

27

Solver: ANSYS Mechanical


Open the ready to use Workbench project hook.wbpz In ANSYS Workbench ANSYS Mechanical is used as solver

1.

Webinar optiSLang 4 and ANSYS Workbench

28

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
29

Webinar optiSLang 4 and ANSYS Workbench

Initial vs. Optimal Design


Initial Design Optimal Design

Mass = 752g Equivalent Stress = 460MPa

Mass = 613g Equivalent Stress = 299MPa

Webinar optiSLang 4 and ANSYS Workbench

30

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

Webinar optiSLang 4 and ANSYS Workbench

31

The Optimization Task


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

Webinar optiSLang 4 and ANSYS Workbench

32

Robustness Analysis

Robustness evaluation at the deterministic optimum

Mass m, damping ratio D, stiffness k and initial kinetic energy as normally distributed random variables

Webinar optiSLang 4 and ANSYS Workbench

33

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

Webinar optiSLang 4 and ANSYS Workbench

34

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

Webinar optiSLang 4 and ANSYS Workbench

35

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

Webinar optiSLang 4 and ANSYS Workbench

36

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

Webinar optiSLang 4 and ANSYS Workbench

37

Results of the Sensitivity Analysis

Webinar optiSLang 4 and ANSYS Workbench

38

Results of the Optimization

Webinar optiSLang 4 and ANSYS Workbench

39

You might also like