optislang inside ansys

32
1 optiSLang inside ANSYS © Dynardo GmbH © 2013 "optiSLang inside ANSYS Workbench" – efficient, easy, and safe to use Robust Design Optimization (RDO) Dynardo GmbH

Upload: raees-swati

Post on 08-Apr-2016

75 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Optislang Inside Ansys

1

optiSLang inside ANSYS © Dynardo GmbH © 2013

"optiSLang inside ANSYS Workbench" – efficient, easy, and safe to use Robust Design Optimization (RDO)

Dynardo GmbH

Page 2: Optislang Inside Ansys

2

Optimization and Robust Design toolbox for arbitrary CAE-processes - for sensitivity study, optimization, robustness evaluation, reliability analysis and robust design optimization having > 10 parameter, design failure, noise at result values, strong non-linearities, ..

Entry Solution: ANSYS DesignXplorer

- for Design Exploration, Optimization and RDO for small problems (recommended up to 5..10 variables)

High End Solution

RDO inside ANSYS Workbench ANSYS User Conferences © Dynardo GmbH © October 2012

Page 3: Optislang Inside Ansys

3

optiSLang inside ANSYS © Dynardo GmbH © 2013

Excellence of optiSLang • optiSLang is an algorithmic toolbox for

sensitivity analysis, optimization, robustness evaluation, reliability analysis and robust design optimization

• optiSLang is the commercial tool that has completed the necessary functionality of sensitivity analysis, optimization and stochastic analysis to run real world industrial applications in CAE-based robust design optimizations

• optiSLang offers the beginner and expert users easy and safe to use predefined workflows of best practice

• Since 2009 interfacing via optiPlug support ANSYS workbench-optiSLang applications

Page 4: Optislang Inside Ansys

4

Parameter Manager

Parameter & Responses

optiPlug - ANSYS Workbench optiSLang Interface

OptiSLang-Plugin:

just click to write all necessary files for

optiSLang coupling

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 5: Optislang Inside Ansys

5

Safe to use. automate best practice to „black box“ flows minimize the risk to miss better designs (optimization) minimize the risk to estimate misleading measures for robustness,

safety and reliability offer easy to use measurements of prognosis quality

That task requires sophisticated technology with carefully balance between number of solver calls and safety to reach the RDO goal. Technology takes care that “non expert” can use it!

optiSLang Flows of best Praxis

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 6: Optislang Inside Ansys

6

optiSLang inside ANSYS © Dynardo GmbH © 2013

Modules Sensitivity+MOP, Optimization and Robustness+MOP provide „best practise“ optiSLang functionality

optiSLang inside ANSYS Workbench v14

Page 7: Optislang Inside Ansys

7

ANSYS Workbench parametric set up of complex simulations

optiSLang inside ANSYS Workbench

optiSLang inside ANSYS © Dynardo GmbH © 2013

Easy to use:

minimize user input offer best practise

defaults for modules offer pre defined post

processing modes

Page 8: Optislang Inside Ansys

8

What do we mean with that? “classic” DOE+RSM technology ask user to reduce number of

variables, choose a suitable DOE with a suitable regression function and check the quality of the resulting response surface (RS) and the “optima” on the RS.

optiSLang provides a automatic flow to reduce variables and generate

the best possible response surface for every response with a given number of solver calls [Meta model of optimal Prognosis (MoP)] and checks MoP Prognosis quality and “optima” in real space.

optiSLang inside ANSYS Workbench Easy and safe to use!

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 9: Optislang Inside Ansys

9

Sensitivity Analysis

(Design Exploration)

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 10: Optislang Inside Ansys

10

Sensitivity Analysis

© Dynardo GmbH 2013

Page 11: Optislang Inside Ansys

11

Sensitivity Module Minimal required user input:

Definition of parameter variation

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 12: Optislang Inside Ansys

12

The Meta Model of optimal Prognosis (MOP) is automatically created out of the DOE-Sampling Minimal required user input: non Additional features:

supports removing designs out of DOE Post Processing

Sensitivity Module

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 13: Optislang Inside Ansys

13

Optimization

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 14: Optislang Inside Ansys

14

4) Run an ARSM, gradient based or biological based optimization Algorithms

1) Start with a sensitivity study using the LHS Sampling

Sensitivity Analysis and Optimization

3) Use MOP+gradient solver for fast Design Improvement

Understand the Problem using

CoP/MoP

Search for Optima

Scan the whole Design Space

optiSLang

2) Identify the important parameters and responses

- understand the problem - reduce the problem

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 15: Optislang Inside Ansys

15

Optimization using MOP After sensitivity analysis optimization using MOP is supported. Minimum required user input:

drop the optimization module onto MOP

defining objective and constraints

“Optima” which are based on meta models need to be verified! Proof optima:

Automatic verification with real ANSYS call

Check differences in post processing

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 16: Optislang Inside Ansys

16

optiSLang inside ANSYS © Dynardo GmbH © 2013

Optimization Algorithms Gradient-based Response surface method

Nature inspired optimization algorithms: - Genetic algorithms, - Evolutionary strategies - Particle Swarm Optimization

Start

Pareto Optimization

Adaptive RSM

Page 17: Optislang Inside Ansys

17

When to use which Algorithm

Gradient-Based

Algorithms

Evolutionary Algorithm

Pareto Optimization

Adaptive Response Surface

global Response Surface

Optimization Algorithms:

Sensitivity Analysis allows best choice!

Which one is the best?

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 18: Optislang Inside Ansys

18

optiSLang inside ANSYS © Dynardo GmbH © 2013

Optimization Wizzard

optiSLang helps you to select a suitable optimization algorithm. Support the underlying (automatic) selection process with some additional information about the solver and the problem itself.

Exampel for using MOP and best_design_Sensitivity:

1. Set the analysis status as “Preoptimized” (best design from Sensitivity)

2. Set the constraint violations to “Seldom”

3. Set failed designs to “None” (MOP gives always response values)

4. Set solver noise to “None” (MOP gives a smooth surface)

Page 19: Optislang Inside Ansys

19

optiSLang inside ANSYS © Dynardo GmbH © 2013

Optimization Wizzard using MOP

Suggested algorithm is NLPQL

Start point is automatically selected

Press “Next”

1.

3. 2.

Page 20: Optislang Inside Ansys

20

Optimization with real design calls

After sensitivity und optimization on MOP the user can continue with gradient-based, NOA-based optimization or ARSM optimization. Minimum required user input:

drag & drop the optimization module define objectives and constraints

Use of wizard to choose adequate optimizer

Gradient based optimizer module NOA: Nature inspired optimization

containing evolutionary, genetic, particle swarm optimization

ARSM: Adaptive Response Surface Method

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 21: Optislang Inside Ansys

21

Robustness Design Optimization

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 22: Optislang Inside Ansys

22

Robustness = Sensitivity of Uncertainties

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 23: Optislang Inside Ansys

23

Robustness Evaluation

Minimum required user input: definition of input variation /scatter definition of robustness criteria number of samples for ALHS

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 24: Optislang Inside Ansys

24

Robust Design Optimization

Pareto Optimization

Adaptive Response Surface

Evolutionary Algorithm

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 25: Optislang Inside Ansys

25

Update Functionality optiSLang inside ANSYS v14.5

optiSLang inside ANSYS © Dynardo GmbH © 2013

Page 26: Optislang Inside Ansys

26

optiSLang saves every design which was successfully calculated

using update at optiSLang container continue or reset can be chosen

using continue optiSLang only send unsolved designs

Continue crashed session option inside ANSYS

optiSLang inside ANSYS © Dynardo GmbH © 2013

ANSYS Conference & 30th CADFEM Users Meeting, Kassel, October 24.-26, 2012

Page 27: Optislang Inside Ansys

27

Recalculate failed designs

• Due to different reasons design evaluations may fail

• With “Recalculate Failed Design Points” you can start them again

optiSLang inside ANSYS © Dynardo GmbH © 2013

ANSYS Conference & 30th CADFEM Users Meeting, Kassel, October 24.-26, 2012

Page 28: Optislang Inside Ansys

28

Interrupt, save, send & continue • Stop your analysis

• At the end of the day

• If licenses are not available

• …

• Save the Workbench project

• Continue later

• saves every successful design run!

• external optimization using MOP possible!

optiSLang inside ANSYS © Dynardo GmbH © 2013

ANSYS Conference & 30th CADFEM Users Meeting, Kassel, October 24.-26, 2012

Page 29: Optislang Inside Ansys

29

Parallel evaluation using Ansys RSM • ANSYS RSM is the powerful tool to distribute jobs

• optiSLang can fill the Workbench design table with a predefined number of designs

• ANSYS RSM organizes distribution of jobs

• If ANSYS RSM is installed you only need to:

• Choose RSM Mode

• Set max. number of parallel jobs

optiSLang inside ANSYS © Dynardo GmbH © 2013

ANSYS Conference & 30th CADFEM Users Meeting, Kassel, October 24.-26, 2012

Page 30: Optislang Inside Ansys

30

Update via Python scripting • ANSYS initialize per default an update mechanism, which updates a complete ANSYS Workbench project

• Mechanism can be overridden via python file

• optiSLang provides this feature for optiSLang design evaluations

• user has full access to his ANSYS model update

optiSLang inside ANSYS © Dynardo GmbH © 2013

ANSYS Conference & 30th CADFEM Users Meeting, Kassel, October 24.-26, 2012

Page 31: Optislang Inside Ansys

31

optiSLang inside ANSYS © Dynardo GmbH © 2013

ANSYS HPC Parametric Pack optiSLang inside Ansys Workbench v14.5

optiSLang Algorithm Settings • Select “Use RSM Mode” to enable parallel design point submission

• Set the “Preferred Number of Design Points in Parallel” to the intended RSM job size

Page 32: Optislang Inside Ansys

32

Flow simulation of LCD manufacturing process

Problem Description • Identify model inflow parameter to match outflow • Identified output velocities have to be in 10% error

ranges comparing with reference values • Input parameter: 10 pressure areas (100 design points) Detail:

Pressure-Based solver, K-Epsilon Model with Standard Wall Functions 78.800 nodes, 66.900 hexahedral elements Hardware: - Workstation with dual Intel® Xeon® E5645 (2,4 GHz,

12 Cores), 96 GB - all jobs running 1 core Licensing Solution • 1 Ansys Fluent • 2 Ansys HPC Parametric Packs Result/Benefit • ~6,2x speedup over sequential execution