bbeta ansa as a pre-processor for ls-opt optimization

40
BET A CAE Systems SA b DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany ANSA AS A PRE-PROCESSOR FOR LS-OPT OPTIMIZATION APPLICATIONS Georgios Korbetis

Upload: others

Post on 26-Mar-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

BETACAE Systems SA

b

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany

ANSA AS A PRE-PROCESSOR FOR LS-OPT

OPTIMIZATION APPLICATIONS

Georgios Korbetis

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 2

Summary

Problem Definition

Optimization Run

Morphing Capabilities

Conclusions

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 3

Problem definition

Defining the model for the solver

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 4

Problem definition

Objective function

Constraints

Design Variables

Hole Diameter

SlopeSlope

DepthThickness

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 5

Problem definition

Creating Morphing Boxes

Symmetry Link Boxes

Original Boxes

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 6

Problem definition

Defining Morphing Parameters

depth_middle

depth_side

slope

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 7

Problem definition

Defining Morphing Parameters

depth_middle

depth_side

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 8

Problem definition

Connecting Design Variables with user scripts

Open holes in FE-Model

Specify meshing parameters for the holes

hole_diameter

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 9

Problem definition

Connecting Design Variables with user scripts

Open holes in FE-Model

Specify meshing parameters for the holes

one zone of elements

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 10

Problem definition

Defining thickness as ANSA Parameter

shell_thickness

ANSA Parameter

Design Variable

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 11

Problem definition

Defining Task Manager sequence

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 12

Problem definition

Connecting Design Variables with Morphing Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 13

Problem definition

Connecting Design Variables with ANSA parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 14

Problem definition

Connecting user scripts to Design Variables

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 15

Problem definition

Checking Model Validity

0

0

6

1.2

12

2.4

18

3.6

24

4.8

30

6.0

failed elements

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 16

Problem definition

Improve model quality using scripts and session commands

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 17

Problem definition

Output Design Variables

$ DESIGN VARIABLES

$---------------------------------------------------------------------------------------

$ ID | DESIGN VARIABLE NAME | TYPE | RANGE | CURRENT

VALUE | MIN VALUE --> MAX VALUE | STEP

$---------------------------------------------------------------------------------------

1 DEPTH REAL BOUNDS 10. 0. 50.

2 SLOPE REAL BOUNDS 10. 0. 10.

3 HOLES DIAMETER REAL BOUNDS 0. 0. 20.

4 THICKNESS REAL LIST 1. 1. 1.2 1.4

$--------------------------------------------------------------------------------------

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 18

Problem definition

Connect ANSA to LS-OPT

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 19

Problem definition

Connect ANSA to LS-OPT

$ DESIGN VARIABLES

$---------------------------------------------------------------------------------------

$ ID | DESIGN VARIABLE NAME | TYPE | RANGE | CURRENT

VALUE | MIN VALUE --> MAX VALUE | STEP

$---------------------------------------------------------------------------------------

1 DEPTH REAL BOUNDS 10. 0. 50.

2 SLOPE REAL BOUNDS 10. 0. 10.

3 HOLES DIAMETER REAL BOUNDS 0. 0. 20.

4 THICKNESS REAL LIST 1. 1. 1.2 1.4

$--------------------------------------------------------------------------------------

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany

$ DESIGN VARIABLES

$---------------------------------------------------------------------------------------

$ ID | DESIGN VARIABLE NAME | TYPE | RANGE | CURRENT VALUE | MIN

VALUE --> MAX VALUE | STEP

$---------------------------------------------------------------------------------------

1 DEPTH REAL BOUNDS <<DEPTH>> 0. 50.

2 SLOPE REAL BOUNDS <<SLOPE>> 0. 10.

3 HOLES DIAMETER REAL BOUNDS <<HOLES_DIAMETER>> 0. 20.

4 THICKNESS REAL LIST <<THICKNESS>> 1. 1.2 1.4

$--------------------------------------------------------------------------------------

Optimization Run

slide 20

ANSA

Design

Variables

Modifying Design Variables

depth

LS-DYNA

LS-OPT

Responses

LS-OPT

Objective

Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 21

Optimization Run

ANSA

Design

Variables

subframe.keymodel_report.txt

Runs the task manager sequence

Output LSDYNA file and model report

LS-DYNA

LS-OPT

Responses

LS-OPT

Objective

Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 22

Optimization Run

LS-DYNA

ANSA

Design

Variables

subframe.key

LSDYNA

output files

Invoke solver

LS-DYNA

LS-OPT

Responses

LS-OPT

Objective

Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 23

Optimization Run

ANSA

Design

Variables

Extract responses using LS-OPT functionality

Max_stress.txt

LS-DYNA

output files

LS-DYNA

LS-OPT

Responses

LS-OPT

Objective

Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 24

Optimization Run

ANSA

Design

Variables

Calculate objective function and constraints

LS-DYNA

LS-OPT

Responses

LS-OPT

Objective

Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 25

Optimization Run

ANSA

Design

Variables

The optimization algorithm calculates new values for the design variables

Optimal solution

The process is repeated until the optimal solution is found

LS-DYNA LS-OPT

LS-OPT

Responses

Objective

Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 26

Morphing Capabilities

Direct Morphing

Apply different algorithms of morphing

Define complicated shapes from basic geometry

cubic p=0

cubic p=0.66

cubic p=1

linear

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 27

Morphing Capabilities

Direct Morphing

Apply different algorithms of morphing

Define complicated shapes from basic geometry

cubic (p=0)cubic (p=1)linear + +

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 28

Morphing Capabilities

Deformation Morphing Parameter

Combining many morphing processes in one Parameter

Connect any morphing application to Task Manager

Manual Morphing

Direct Morphing

Morphing Parameters

Edge fitting

Deformation Parameter

Deformed shape

Initial shape

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 29

Morphing Capabilities

Deformation Morphing Parameter

Combining many morphing processes in one Parameter

Connect any morphing application to Task Manager

Parameter value = 00.20.40.60.81.0

Initial shape Deformed shape

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 30

Creating Features

Length

Width

Depth

Creating simple features like ribs and beads using Direct Morphing

Modifying feature dimensions with Morphing Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 31

Creating Features

Creating simple features like ribs and beads using Direct Morphing

Modifying feature dimensions with Morphing Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 32

Edge Fitting

Fitting FE-Model on different shapes using target curves

Handling the shaping with Morphing Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany

Edge Fitting

slide 33

Fitting FE-Model on different shapes using target curves

Handling the shaping with Morphing Parameters

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 34

Spotweld Distance: 50mmSpotweld Distance: 30mm

Spotweld Diameter: 6mmSpotweld Diameter: 4mm

Spotweld Optimization

Spotweld optimization is possible through ANSA functionality

As Design Variables can be set Connection parameters:

Spotweld distance

Number of spotwelds

Spotweld diameter

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 35

Type: RBE3-HEXA-RBE3Type: NASTRAN CWELD

Spotweld Optimization

Spotweld optimization is possible through ANSA functionality

As Design Variables can be set :

Connection properties and materials

Application of different types of spotwelds to the Connections

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany

Batch Mesh and Optimization

slide 36

The batch mesh parameters and quality criteria can be used as Design Variables in

the optimization loop

Such Variables can be:

Element length

Treatment of holes and fillets

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany

Composite Material Optimization

slide 37

Using the ANSA Laminate Tool for composite optimization

Changing fabric orientation

Changing layer thickness

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 38

METAPost for optimization

METAPost can provide a fast and easy way to extract constraints and objective

parameters from solvers result files

Support of binary or ascii result files

Calculations to extract the desired results

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 39

Conclusions

The set up of shape and property optimization for LSOPT is possible in the

ANSA pre-processor

The Morphing Tool provides a powerful functionality for shaping FE model which

is the key for the shape optimization

The pre-processing of the optimization problem can be automated by the Task

Manager

DYNAmore Optimization Week - June 2 - 6, 2008 - Stuttgart, Germany slide 40

THANK YOU

THANK YOU