Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape...

20
15 th German LS-DYNA Forum Shape optimization for CFD analysis using LS-OPT, ANSA and LS-DYNA ICFD Facundo Del Pin (LSTC) Katharina Witowski (DYNAmore GmbH) Bamberg, 16.10.2018

Transcript of Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape...

Page 1: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

15th German LS-DYNA Forum

Shape optimization for CFD analysis using LS-OPT, ANSA and LS-DYNA ICFD

Facundo Del Pin (LSTC)Katharina Witowski (DYNAmore GmbH)

Bamberg, 16.10.2018

Page 2: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ Problem description■ Setup in ANSA■ Setup in LS-OPT■ Results

Overview

Page 3: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ CFD model

■ External aerodynamics of a ground vehicle■ Reynolds Number ~ 1.0e7■ RANS turbulence model using realizable K-e■ Objective: fuel efficiency maximize down force and minimize drag force,

more relevance to drag force Optimization objective function

max(down force / drag force^2)

Problem description

Page 4: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ 2 Morphing Parameters■ TP: top point■ BP: bottom point

Parameters

Page 5: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ ANSA doesn‘t support LS-DYNA CFD input files■ Manual modifications:■ *MESH_SURFACE_ELEMENT *ELEMENT_SHELL (3D)■ *MESH_SURFACE_ELEMENT *ELEMENT_BEAM (2D)■ *MESH_SURFACE_NODE *NODE

Model modifications

Page 6: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

Setup in ANSA

1. Morphing Boxes

3. Optimization Task Interface to LS-OPT

2. Morphing parameters

Page 7: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ LS-OPT main GUI■ Metamodel-based optimization

■ Optimization 1: Metamodel type linear■ Optimization 2: Metamodel type RBF (Radial Basis Functions)

■ Strategy sequential with domain reduction, 5 iterations

Setup in LS-OPT

Page 8: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ Stage python■ ANSA generates structural LS-DYNA input file■ Python script converts to CFD input file■ *ELEMENT_SHELL *MESH_SURFACE_ELEMENT■ *ELEMENT_BEAM *MESH_SURFACE_ELEMENT■ *NODE *MESH_SURFACE_NODE

Setup in LS-OPT

Page 9: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ CFD responses extracted using GENEX

■ Objective

Setup in LS-OPT

Page 10: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ Convergence: Optimization History

Results (linear metamodel)

Subregion bounds

Optimal value

Computed optimum

Predicted optimum

Page 11: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ Metamodel accuracy■ Surface plot with points

■ Points are close to surface■ Error measures (only for responses)

■ RMS error■ SPRESS predictive capability!

Results (linear metamodel)

Page 12: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ Sensitivities

Results (linear metamodel)

Page 13: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ Convergence: Optimization History

Results (RBF)

tp

bp

LD

Subregion bounds

Optimal value

Iteration

Computed optimum

Predicted optimum

converged? GSA bp not

significant

Page 14: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

Results (RBF)

tp bp

bp

tp

LD

LD■ Metamodel with predicted and computed optimum

3D Surface plot and 2D interpolator plot

Page 15: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

Results (RBF)■ Metamodel accuracy■ Surface plot with points

■ Points are close to surface■ Error measures (only for responses)

■ RMS error■ SPRESS predictive capability!

tpbp

LD

computedcomputed

pred

icte

d

pred

icte

d

Page 16: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

Results (RBF)

tp

LD

■ Simulation results: Scatter plot

Optimumfound by SRSM

Point with highestobjective function value

Page 17: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ Optimal design

Results (RBF)

Initial design Optimal design (6.1)

„Best“ design (5.2)

bp 0.0 0.022 0.062tp 0.0 0.105 0.132LD predicted - 0.00376 0.00366LD computed 0.00094 0.00364 0.00384

Page 18: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

■ Optimal design

Results (RBF)

Page 19: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

More Information on the LSTC Product Suite■ Livermore Software Technology Corp. (LSTC)

www.lstc.com

■ LS-DYNA■ Support / Tutorials / Examples / FAQ

www.dynasupport.com■ More Examples

www.dynaexamples.com■ Conference Papers

www.dynalook.com■ European Master Distributor

www.dynamore.de

■ LS-PrePost■ Support / Tutorials / Download

www.lstc.com/lspp

■ LS-OPT / LS-TaSC■ Support / Tutorials / Examples

www.lsoptsupport.com

[THUMS® www.dynamore.de]

Page 20: Shape optimization for CFD analysis using LS -OPT, ANSA ......15th German LS -DYNA Forum. Shape optimization for CFD analysis using LS -OPT, ANSA and LS-DYNA ICFD. Facundo Del Pin

Thank you for your attention!

Your LS-DYNA distributor and more