precomputed panel solver for aerodynamics simulation°¢浩然.pdf𝑖: element index h.xie@jaist 13...

57
Precomputed Panel Solver for Aerodynamics Simulation Haoran Xie The University of Tokyo / JAIST H.XIE@JAIST 0

Upload: others

Post on 09-Sep-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Precomputed Panel Solver for Aerodynamics Simulation

Haoran XieThe University of Tokyo / JAIST

H.XIE@JAIST 0

Page 2: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 1

Aerodynamics Simulationfor Graphics and Fabrication

J. Wejchert. SIGGRAPH91 E. Ju, et al., SIGGRAPH14 T. Martin, et al., SIGGRAPH15

Page 3: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 2

Aerodynamics in Graphics

@E.Ju, et al, TOG2013

@N.Umetani, et al, TOG2014 @X.Wei, et al, SCA2013

@T.Martin, et al, TOG2015

@P.Yang, et al, SCA2014

Data-Driven

Heuristic Method

Coupling Based

@J.Tan, et al, TOG2011

Simplified Model Heavy ComputationLow Accuracy

Page 4: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 3

Aerodynamics in Engineering

Grid-Based Singularity-Based

@Chen et al., Sci. China-Phys. Mech. Astron., 2013. @D. Willis, Journal of Aircraft, 2014

Heavy Computation Low Cost and Good Accuracy

Page 5: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 4

Aerodynamics in Engineering

Grid-Based Singularity-Based

@Chen et al., Sci. China-Phys. Mech. Astron., 2013. @D. Willis, Journal of Aircraft, 2014

Heavy Computation Low Cost and Good Accuracy

We extend panel method !

Page 6: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 5

Motivation

CFD tools

@ANSYS Fluent CFD Tutorial

our work

Our goal is to create a fast aerodynamic simulation algorithm, enabling designers to design gliders with interactive feedbacks.

Page 7: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Computational Framework

Aerodynamics Simulation Algorithm Precomputed panel method (x10,000~)

Interactive simulation pipeline

Interactive Glider Design System Assembly-based user interface

Glider design and fabrication

H.XIE@JAIST 6

Page 8: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Computational Framework

Aerodynamics Simulation Algorithm Precomputed panel method (x10,000~)

Interactive simulation pipeline

Interactive Glider Design System Assembly-based user interface

Glider design and fabrication

H.XIE@JAIST 7

Page 9: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 8

Flow Assumptionairflow

trailing edge

leading edge

wake panels

Real Flow:turbulent, unsteady

@Marine Hydrodynamics, MIT Lectures

Potential Flow:inviscid, incompressible

Page 10: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 9

Flow Elements

Source

Sink

Uniform

Basic Elements

Page 11: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 10

Flow Elements

Source

Streamline

Sink

Uniform

Basic Elements Superposition

Doublet

stagnation point

flow around cylinder

Page 12: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 11

Flow Elements

Source

Streamline

Sink

Uniform

Basic Elements Superposition

Doublet

@cfd2012.com/aircraft-design

stagnation point

flow around cylinder

Page 13: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Panel Method

Body Panel Wake Panel Doublet

doublet strength

𝑖

𝑖 : element index

H.XIE@JAIST 12

[Hess and Smith, 1967]

Page 14: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Panel Method [Hess and Smith, 1967]

Body Panel Wake Panel Doublet

doublet strength

𝑖

𝑖 : element index

H.XIE@JAIST 13

Green’s Identity:

(~ doublet strengths U) fixed

velocity potential

(~ body state)

Page 15: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Panel Method Why we still need panel solver nowadays

Fast, Robust, Accurate in aircraft design

Suitable for many applications

H.XIE@JAIST 14

[Journal of Aircraft, 2014]

[AIAA conference, 2010]

[AIAA conference, 2013] [AIAA Journal, 2013]

Page 16: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

15

Computation Issue

※ mesh size: N= 6000

6,000 Matrix

Operation

6,000for each frame:

Standard Panel Method: 400 seconds

Interactive design: 0.01 seconds

6

6?

H.XIE@JAIST

Page 17: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST

16

Body State Doublet

Body State

Doublets

𝓝

N

N

N 6

6

11

𝑫 𝑺U𝑿

※ N: mesh size

Precomputed Precomputed

(6D velocities)Linear !!

× × ×

Page 18: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 17

Doublet Force

1𝑿𝑪𝒙6

6

body state

6forcex = f( U , X ) = 𝑿6

doublet

Precomputed

(※ we compute torque in similar way)

Page 19: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 18

Precomputed Process

Surface

DiscretizationCompute D,S

matrices

Compute

Strength

Compute

Local

Velocity

Compute force&moment

Compute

Body State

O(N)

O(N2)

O(N3)

O(N2)

O(N2)

O(1)

Surface

Discretization

Compute D,Smatrices

Compute

Strength

Compute

Local

Velocity

Compute Cmatrices

Compute

Body State

O(N)

O(N2)

O(N3)

O(N2)

O(N2)

O(1)

Compute force&moment

O(1)

Standard Panel Method O(N3) Precomputed Panel Method O(1)

(N = mesh size)

Precomputation: 120.0s Precomputation:480.0sRuntime: 360.0s Runtime:0.007s

Page 20: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 19

Computation Cost

0

100

200

300

400

500

600 Panel Method Ours

(x2,160) (x50,252) (x27,205) (x41,809) (x68,053)(seconds)

Page 21: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Computational Framework

Aerodynamics Simulation Algorithm Precomputed panel method (x10,000~)

Interactive simulation pipeline

Interactive Glider Design System Assembly-based user interface

Glider design and fabrication

H.XIE@JAIST 20

Page 22: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 21

Full Simulation pipeline

Geometry Preprocessing Aerodynamics Precomputation

pre-computation runtime

Page 23: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 22

Geometry Preprocessing

mesh segmentation

wing recognition

wake-panel generation

input

Page 24: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 23

Wing Recognition

0.05 0.18 0.21 0.04

0.290.46

0.47

?

Mesh Segmentation:→ convex shape decomposition

Extracting wing parts: → bottom-up clustering process

Oriented Bounding Box[O. Kaick et al, TOG2014]

Page 25: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 24

Wake Panel

wake panels

trailing edge

positive surfacetrailing edgenegative surface

Page 26: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 25

Full Simulation Pipeline

Geometry Preprocessing Aerodynamics Precomputation

pre-computation runtime

Page 27: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 26

Aerodynamics Precomputation

precomputed

doublet strength

precomputed

body stateprecomputed

body stateforce + torque

Page 28: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 27

Full Simulation Pipeline

Geometry Preprocessing Aerodynamics Precomputation

pre-computation runtime

Page 29: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 28

RIGD BODY Simulation

Kinematic Equations:

Dynamics Equations:

[Kobilarov et al, TOG2009]

Quadratic to body state!

Page 30: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Computational Framework

Aerodynamics Simulation Algorithm Precomputed panel method (x10,000~)

Interactive simulation pipeline

Interactive Glider Design System Assembly-based user interface

Glider design and fabrication

H.XIE@JAIST 29

Page 31: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 30

Page 32: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Computational Framework

Aerodynamics Simulation Algorithm Precomputed panel method (x10,000~)

Interactive simulation pipeline

Interactive Glider Design System Assembly-based user interface

Glider design and fabrication

H.XIE@JAIST 31

Page 33: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 32

Glider Design

assembling&editingPrecomputed

rotation scaling translation

𝑈 = 𝑷𝟏𝑅 𝑘𝑷𝟐𝑅 + 𝑷𝟏 𝑇 𝑋

Doublet Matrix

Body State

Page 34: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 33

Glider Fabrication

launching device

launching hook

added mass

Fabricated Gliders

Page 35: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 34

launching

Page 36: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

ResultsAerodynamics validation and glider design.

H.XIE@JAIST 35

Page 37: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Results

Aerodynamics Simulation Algorithm Aerodynamics validation

Simulation comparison

Interactive Glider Design System Glider design (stable & unstable)

Bird glider design

H.XIE@JAIST 36

Page 38: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST

Validation: Sphere

theoretical value

105 meshes

440 meshes

956 meshes

Pressure Distribution:Flow around a sphere

1m

37

Page 39: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 38

Validation: AirfoilPressure Distribution:Flow around an airfoil

NACA0012 Airfoil

wind tunnel data

Location

section A

section B

section C

AB

C 1m

4m

Page 40: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 39

Validation: GliderPressure Distribution:Flow around a gliderLift Force

Coefficients

Drag Force Coefficients

our model

wind tunnel data

Angle of Attack (degree)-5 0 5 10 15

1

0.5

0Coeff

icie

nts

77.6 cm

137.0 cm

Page 41: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 40

Influence of AoA

Wind Tunnel Visualization

Boundary layer separation @UAF Physics 211

Page 42: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 41

Validation: GliderPressure Distribution:Flow around a gliderLift Force

Coefficients

Drag Force Coefficients

our model

wind tunnel data

Angle of Attack (degree)-5 0 5 10 15

1

0.5

0Coeff

icie

nts

77.6 cm

137.0 cm

Page 43: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 42

Validation: Comparison

@wikipedia

no tail design

small tail design

big tail design

not stable, tumbling a lot

not stable, tumbling few

stable, no tumbling

Source distribution | Pressure Distribution | Fabrication Results

Saqqara Bird: about 2,200 years old, excavated in 1898 from a tomb in Saqqara, Egypt.

Page 44: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 43

Comparison

Page 45: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

Results

Aerodynamics Simulation Algorithm Aerodynamics validation

Simulation comparison

Interactive Glider Design System Glider design (stable & unstable)

Bird glider design

H.XIE@JAIST 44

Page 46: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 45

Glider DesignSingle-wing gliders Tandem-wing gliders

✔ ✔

Page 47: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 46

Glider Design

45°

30°

our simulation captured trajectory

unstable

Page 48: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 47

experiments

unstable

Page 49: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 48

Glider Design

45°

30°

our simulation captured trajectory

stable

Page 50: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 49

experimentsstable

Page 51: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 50

Page 52: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 51

Bird Glider

assembly parts

A normal glider fuselage with bird wings

Page 53: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 52

Page 54: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST

Conclusion

Interactive Glider DesignPrecomputed Panel Solver

53

Page 55: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST

Limitations

We assume forward flight. It cannot handle flying in other directions.

We assume potential flow, so cannot handle unstable turbulences

Mesh segmentation can be wrong, leading to inaccurate simulation.

54

Page 56: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 55

Future Work

Page 57: Precomputed Panel Solver for Aerodynamics Simulation°¢浩然.pdf𝑖: element index H.XIE@JAIST 13 Green’s Identity: (~ doublet strengths U) fixed velocity potential (~ body state)

H.XIE@JAIST 56

Thank You!Q&A