RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster...

32
RBF Morph – An Add-on Module for Mesh Morphing in ANSYS Fluent © 2011 ANSYS, Inc. May 14, 2012 1 Gilles Eggenspieler Senior Product Manager

Transcript of RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster...

Page 1: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

RBF Morph – An Add-on Module for

Mesh Morphing in ANSYS Fluent

© 2011 ANSYS, Inc. May 14, 20121

Gilles EggenspielerSenior Product Manager

Page 2: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Morphing & Smoothing

• A mesh morpher is a tool capable of performing mesh modifications in order to achieve arbitrary shape c hanges and related volume smoothing without changing the mesh topology.

• In general, a morphing operation can introduce a re duction of the mesh quality

• A good morpher has to minimize this effect, and maxi mize the possible shape modifications.

• If mesh quality is well preserved, then using the s ame mesh

© 2011 ANSYS, Inc. May 14, 20122

• If mesh quality is well preserved, then using the s ame mesh structure has massive productivity benefits

Page 3: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

RBF Morph Advantages

• Faster and more consistent than remeshing

• Simplifies the parameterization of models

• Cuts out any file i/o associated with traditional remeshing methods

• Fast convergence on new designs from previous results

• Ideal for robust design analysis or optimization

• Truly opens up the realms of design optimisation on large-scale CFD

models where remeshing and file i/o are very expensive

© 2011 ANSYS, Inc. May 14, 20123

models where remeshing and file i/o are very expensive

Page 4: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

• The user-friendly RBF Morph addonmodule is fully integrated within Fluent (GUI, TUI & solving stage) and Workbench

• Mesh-independent RBF fit used for surface mesh morphing and volume mesh smoothing

• Parallel calculation allows to morph large size models (many millions of cells) in a short time

RBF Morph Features

© 2011 ANSYS, Inc. May 14, 20124

short time

• Management of every kind of mesh element type (tetrahedral, hexahedral, polyhedral, etc.)

• Ability to convert morphed mesh surfaces back into CAD

• Multi fit makes the Fluent case truly parametric (only 1 mesh is stored)

• Precision: exact nodal movement and exact feature preservation.

Page 5: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

• A system of radial functions is used to fit a solution for the mesh movement/morphing, from a list of source points and their prescribed displacements

• Radial Basis Function interpolation is used to derive the displacement at any location in the space

How Does RBF-Morph work?

© 2011 ANSYS, Inc. May 14, 20125

• The RBF problem definition is mesh independent.

Page 6: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

How it Works: The Work-Flow

• RBF Morph execution requires three steps:• Step 1 [SERIAL Fluent] setup and definition of the

problem (source points and displacements).• Step 2 [SERIAL Fluent] fitting of the RBF system.• Step 3 [SERIAL or PARALLEL Fluent] morphing of

the surface and volume mesh (available also in the

© 2011 ANSYS, Inc. May 14, 20126

the surface and volume mesh (available also in the CFD solution stage).

Page 7: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

RBF-Morph is Integrated with Fluent

© 2011 ANSYS, Inc. May 14, 20127

Page 8: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

RBF-Morph 1.3 Features

• RBF Morph allows exact prescription of surface movements which opens up several interesting capabilities, including:

© 2011 ANSYS, Inc. May 14, 20128

including:

• FEM deformed shape (static )

• FSI based on modal FEM analysis

• Target surfaces (STL)

Page 9: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Morphing a simple wind tunnel

• A bluff body (a perfect cube with edges of 1m) is immersed in a virtual wind tunnel

• The effect of cube attitude

© 2011 ANSYS, Inc. May 14, 20129

• The effect of cube attitude angle is explored using mesh morphing

Page 10: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Rotating the Cube – RBF Morph Setup

• Rigid movement is applied ( rotation about the vertical axis ) to all nodes on the cube.

• Rigid movement is applied ( null ) to all nodes on the tunnel, the inlet and the outlet.

© 2011 ANSYS, Inc. May 14, 201210

the inlet and the outlet. • All the areas without a

prescribed motion are left deformable by default: the ground and all the volume mesh.

• Cube can be rotated past 180 degrees without corruption of the volume mesh!

Page 11: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Internal flow example

© 2011 ANSYS, Inc. May 14, 201211

Here, a pipe is projected onto a previously defined STL shape

Page 12: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Internal Flow Example (2)

© 2011 ANSYS, Inc. May 14, 201212

courtesy of MIRA

Here, two cylinders are used to deform a duct to complex shapes

Page 13: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Compressor Blade Example

© 2011 ANSYS, Inc. May 14, 201213

Page 14: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

External flow example

© 2011 ANSYS, Inc. May 14, 201214

courtesy of Ignazio Maria

Viola

Ship sail rotation

Page 15: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

External Flow Example (2)

© 2011 ANSYS, Inc. May 14, 201215

Page 16: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

External Flow Example (3)

© 2011 ANSYS, Inc. May 14, 201216

Page 17: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

External Flow Example (4)

© 2011 ANSYS, Inc. May 14, 201217

Page 18: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

• Volvo XC60 vehicle model

– Four shape parameters

– RBF Morph to define shape parameters

– ANSYS DesignXplorer

• To drive shape parameters

External Aerodynamics

© 2011 ANSYS, Inc. May 14, 201218

To drive shape parameters

• To create DOE

• To perform Goal Driven Optimization

• Ideal Aerodynamics Optimization Process

– Capacity

– Automatic

– Fast

– Accurate

Page 19: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

• Volume Mesh – TGrid

• Cell Count : 50.2 Million Cells

• Prism Layers : 10 (First Aspect Ratio 10, Growth 1.1)

• Prism Count : 24.4 Million Cells

• Skewness < 0.9

Step #1 : Baseline Model

Prism Layers

© 2011 ANSYS, Inc. May 14, 201219

Cut Plane Y=0

Cut Plane Z = 1.4 m

Page 20: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

• Boundary Conditions

– Inlet : Velocity Inlet 100 kmph

– Outlet : Pressure Outlet, 0 Pa (Gage)

– Side walls : Wall, no-slip

– Top wall : Wall, no-slip

• Solver Settings

– Steady, PBCS, Green Gauss Node

Step #2 : CFD Setup

© 2011 ANSYS, Inc. May 14, 201220

– Steady, PBCS, Green Gauss Node Based Gradient

– Fluid : Incompressible air,

– Density = 1.225 kg/m3,

– Turbulence : Realizable K-epsilon, Non-equilibrium wall treatment

– Discretization :

• Pressure – Standard

• Momentum, TKE, TDR – 2nd Order

• Solution Controls

– Courant Number = 200

– ERFMomentum, Pressure = 0.75

– URFs Density = 1.0, Body Forces = 1.0TKE, TDR = 0.8TR = 1.0

Page 21: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Step #3 : RBF-MorphNote: a separate webinar

looks at Fluent MMO in

more detail, but this

example used RBF-Morph

© 2011 ANSYS, Inc. May 14, 201221

Boat Tail Angle (P2) Roof Drop Angle (P3)

Green House (P4) Front Spoiler Angle (P5)

Page 22: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Step #3 : RBF-Morph

© 2011 ANSYS, Inc. May 14, 201222

Axis about which selected surface set gets morphedEncapsulation RegionSurface set selection

Page 23: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Step #3 : RBF-Morph

• Fully integrated within FLUENT and Workbench

• Easy to use

• Parallel => rapidly morph large size models

• Mesh independent solution works with all element types (tetrahedral, hexahedral, polyhedral, etc.)

• Superposition of multiple RBF-solutions makes the FLUENT case truly parametric (only 1 mesh is stored )

© 2011 ANSYS, Inc. May 14, 201223

FLUENT case truly parametric (only 1 mesh is stored )

• RBF-solution can also be applied on the CAD

• Precision: exact nodal movement and exact feature preservation.

Page 24: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Step #4 : Setup DesignXplorer

© 2011 ANSYS, Inc. May 14, 201224

DOE: Central Composite Design, Face

Centered, Enhanced

Page 25: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Step #5 : Running Simulations

768 Cores 384 Cores 288 Cores 240 Cores 144 Cores

Task Time (Seconds) Time (Seconds)Time

(Seconds)

Time

(Seconds)

Time

(Seconds)

Baseline Case (i.e. Design Point 1)

Read volume mesh of baseline

case into the CFD solver and

apply solver settings

225 340 365 481 228

CFD Solution 6979 11153 14409 17256 27246

© 2011 ANSYS, Inc. May 14, 201225

CFD Solution 6979 11153 14409 17256 27246

Writing CFD data file 681 538 558 600 532

Each Subsequent Design Point

Morph vehicle shape 84 59 65 69 100

CFD Solution 1284 1754 2208 2630 4100

Writing CFD data file 734 559 572 621 532

Total Run Time (Wall Clock)

Needed for All 50 Design

Points (Hours)

30.80 35.63 42.98 50.28 72.19

Page 26: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Results :

© 2011 ANSYS, Inc. May 14, 201226

Page 27: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Optimization

© 2011 ANSYS, Inc. May 14, 201227

Page 28: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Design Boat Tail Angle Long Roof Angle Green House Front Spoiler Drag Force (N)

• Flow Results Discussion

– Design point 1, 9, 19 & 25

– Velocity contours

– Iso-surface of total pressure = 0.0

Results :

© 2011 ANSYS, Inc. May 14, 201228

Design

Points

Boat Tail Angle

(P2)

Long Roof Angle

(P3)

Green House

(P4)

Front Spoiler

Angle (P5)

Drag Force (N)

(P1)

1 0.000 0.000 0.000 0.000 388.01

9 0.000 1.500 0.000 1.900 393.01

19 1.850 -2.300 -0.700 0.000 372.30

25 -1.850 1.500 -0.700 0.000 397.33

Page 29: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Design Point #1

© 2011 ANSYS, Inc. May 14, 201229

Page 30: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Design Point #19

© 2011 ANSYS, Inc. May 14, 201230

Page 31: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

Design Point #25

© 2011 ANSYS, Inc. May 14, 201231

Page 32: RBF Morph - An Add-on Module for Mesh Morphing in ANSYS Fluent · RBF Morph Advantages • Faster and more consistent than remeshing • Simplifies the parameterization of models

• A CFD model can be accurately moulded in a parametric manner within ANSYS Fluent using the RBF Morph Addon Module

• Such parametric CFD model can be easily coupled with automatic optimization tools to steer the solu tion to an optimal design that can then be exported into the preferred CAD platform (using STEP)

Conclusions

© 2011 ANSYS, Inc. May 14, 201232

• The proposed approach dramatically reduces the man time required for shape optimisation set-up, thus widening the CFD calculation capability

• Reference: M.E. Biancolini, Mesh morphing and smoothing by means of Radial Basis Functions (RBF): a practical example using Fluent and RBF Morph in Handbook of Research on Computational Science and Engineering: Theory and Practice (http://www.cse-book.com/).