Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM...

23
1 Aeroelastic Prediction Workshop 2 (AePW-2) Aeroelastic Prediction of the BSCW using an enhanced OpenFoam-based CFD Solver (Work in progress) Amin Fereidooni Anant Grewal Marcel Grzeszczyk National Research Council Canada January 3, 2016

Transcript of Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM...

Page 1: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

1

Aeroelastic Prediction Workshop – 2 (AePW-2)

Aeroelastic Prediction of the BSCW using

an enhanced OpenFoam-based CFD Solver

(Work in progress)

Amin Fereidooni

Anant Grewal

Marcel Grzeszczyk

National Research Council Canada

January 3, 2016

Page 2: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

2

Outline

• Introduction

• OpenFOAM Compressible Solver: rhoCentralFoam

• Enhanced OpenFOAM Coupled Solver

• 2D Simulation: Pitching NACA0012 airfoil

• 3D Simulation: BSCW (case 1 & case 2)

Page 3: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

3

Smart Wing with Integrated Multi-functional Surfaces

(SWIMS)

• NRC’s participation in AePW-2 supported by Aeronautics for 21st century

(Aero21) program through the SWIMS project

• Multi-disciplinary project coordinated by several groups at NRC

• Focuses on the design of an airfoil with a drooped leading edge

• Goals:

• A morphing wing with a continuous surface that adapts to various flight

conditions for generating maximum lift and minimum drag

• Drooped nose deflection δF =15 degrees

• About 5% increase in the chord length

Page 4: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

4

Open Field Operation and Manipulation (OpenFOAM)

• Our group is responsible for performing an aeroelastic analysis on a wing

with a drooped leading edge

• OpenFOAM is going to be the primary CFD simulation tool for the aeroelastic

analysis

• C++ based CFD toolbox

• Simple Structural Dynamic Model: sixDofRigidBodyMotion solver

• CFD compressible solver: rhoCentralFoam

Page 5: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

5

rhoCentralFoam

rhoCentralFoam: segregated solver

Euler equation:

𝜕

𝜕𝑡 Ω

𝑊𝑑Ω+ 𝜕Ω

𝐹𝑐 𝑑𝑆 = 0

𝑊 =

𝜌

𝜌𝑈𝜌𝐸, 𝐹𝑐 =

𝜌𝑈. 𝑛

𝜌𝑈 𝑈. 𝑛 + 𝑝𝑛

𝜌𝐸 + 𝑝 𝑈. 𝑛

Discretized equation:𝑑

𝑑𝑡𝑊𝑖𝑉𝑖 +

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝐹𝑐Δ𝑆 = 0

Page 6: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

6

Kurganov-Tadmor (KT) and Kurganov-Noelle-Petrova (KNP)

• Convective terms

𝑉

𝛻. 𝑢Ψ 𝑑𝑉 = 𝑆

𝑑S. 𝑢Ψ ≈

𝑓

Sf. 𝑢𝑓Ψ𝑓 =

𝑓

𝜙𝑓Ψ𝑓

𝑓

𝜙𝑓Ψ𝑓 =

𝑓

𝑎+𝜙𝑓+ − 𝑎𝑆𝑓 Ψ𝑓

+ + 1 − 𝑎+ 𝜙𝑓− + 𝑎𝑆𝑓 Ψ𝑓

𝑎+ =

𝑎𝑝𝑎𝑝 − 𝑎𝑚

𝐾𝑁𝑃

1

2𝐾𝑇

𝑎𝑆𝑓 =

𝑎𝑚𝑎𝑝𝑎𝑝 − 𝑎𝑚

𝐾𝑁𝑃

−1

2max 𝑎𝑚 , 𝑎𝑝 𝐾𝑇

𝑎𝑝 = max 𝜙𝑓+ + 𝑐𝑓

+S𝑓 , 𝜙𝑓

− + 𝑐𝑓− S𝑓 , 0

𝑎𝑚 = min 𝜙𝑓+ − 𝑐𝑓

+S𝑓 , 𝜙𝑓

− − 𝑐𝑓− S𝑓 , 0

Page 7: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

7

Kurganov-Tadmor (KT) and Kurganov-Noelle-Petrova (KNP)

• Gradient terms

𝑉

𝛻Ψ 𝑑𝑉 = 𝑆

𝑑S Ψ ≈

𝑓

SfΨ𝑓

𝑓

S𝑓Ψ𝑓 =

𝑓

𝑎+S𝑓Ψ𝑓+ + 1 − 𝑎+ S𝑓Ψ𝑓

Page 8: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

8

Coupled CFD Solver Derived from rhoCentralFoam

• Segregated Solver 𝑑

𝑑𝑡𝑊𝑖𝑉𝑖 +

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝐹𝑐Δ𝑆 = 0

• Coupled Solver

𝐹𝑐𝑛+1= 𝐹𝑐

𝑛+𝜕 𝐹𝑐

𝜕𝑊

𝑛

𝑊𝑛+1 −𝑊𝑛 + O ∆𝑊2

𝑑

𝑑𝑡𝑊𝑖𝑉𝑖 +

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝜕 𝐹𝑐

𝜕𝑊

𝑛

Δ𝑆∆𝑊 = −

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝐹𝑐𝑛Δ𝑆

Page 9: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

9

Lower-Upper Symmetric Gauss –Seidel (LU-SGS)

• Approximation

𝐷 + 𝐿 + 𝑈 𝑥 = 𝑏𝐷 + 𝐿 + 𝑈 ≈ 𝐷 + 𝐿 𝐷−1 𝐷 + 𝑈 = 𝐷 + 𝑈 + 𝐿 + 𝐿𝐷−1𝑈

• Two-step process:

Forward Sweep: 𝐷𝑥1 = 𝑏 − 𝐿𝑥1

Backward Sweep: 𝐷𝑥 = 𝑏 − 𝐿𝑥1 − 𝑈𝑥

Page 10: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

10

Dual Time Stepping

𝑑

𝑑𝑡𝑊𝑖𝑉𝑖 +

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝜕 𝐹𝑐

𝜕𝑊

𝑛

Δ𝑆∆𝑊 = −

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝐹𝑐𝑛Δ𝑆

• First Order

𝑉𝑖𝑛+1

∆𝑡+𝑉𝑖𝑛+1

∆𝑡∗+

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝜕 𝐹𝑐

𝜕𝑊

𝑛

Δ𝑆 ∆𝑊𝑖𝑘

=𝑉𝑖𝑛+1

∆𝑡𝑊𝑖𝑘+𝑉𝑖𝑛

∆𝑡𝑊𝑖𝑛−

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝐹𝑐𝑛Δ𝑆

• Second Order

3

2

𝑉𝑖𝑛+1

∆𝑡+𝑉𝑖𝑛+1

∆𝑡∗+

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝜕 𝐹𝑐

𝜕𝑊

𝑛

Δ𝑆 ∆𝑊𝑖𝑘

= −3

2

𝑉𝑖𝑛+1

∆𝑡𝑊𝑖𝑘+ 2𝑉𝑖𝑛

∆𝑡𝑊𝑖𝑛−1

2

𝑉𝑖𝑛−1

∆𝑡𝑊𝑖𝑛−1−

𝐹𝑎𝑐𝑒𝑠(𝑖)

𝐹𝑐𝑛Δ𝑆

Page 11: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

11

2D Simulation: Pitching NACA0012 Airfoil

• Pitching angle 𝛼 = 3.16° + 4.59° sin 2𝜋 × 5 𝑡

• Reduced frequency 𝑘 =𝜔𝑐

2𝑈∞= 0.081

• Mach number 𝑀 = 0.6

Page 12: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

12

3D Simulation: BSCW (Case 1)

Lower Surface Upper Surface

• Steady State

• All the results: Coarse Mesh, Euler solution

• Pressure Coefficient at the 60% Spanwise Location

• Max courant number: 10 and 100

Page 13: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

13

3D Simulation: BSCW (Case 1)

Lower Surface Upper Surface

• Steady State

• Pressure Coefficient at the 95% Spanwise Location

Page 14: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

14

3D Simulation: BSCW (Case 1)

Lower Surface Upper Surface

• Forced Case

• FRF magnitude at the 60% Spanwise Location

• Time steps: ∆𝑇 = 5 × 10−4, number of dual time steps: 200

Page 15: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

15

3D Simulation: BSCW (Case 1)

Lower Surface Upper Surface

• Forced Case

• FRF Phase at the 60% Spanwise Location

Page 16: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

16

3D Simulation: BSCW (Case 1)

Lower Surface Upper Surface

• Forced Case

• FRF magnitude at the 95% Spanwise Location

Page 17: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

17

3D Simulation: BSCW (Case 1)

Lower Surface Upper Surface

• Forced Case

• FRF Phase at the 95% Spanwise Location

Page 18: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

18

3D Simulation: BSCW (Case 2)

Lower Surface Upper Surface

• Steady State

• Coarse Mesh

• Pressure Coefficient at the 60% Spanwise Location

• Max courant number: 10 and 100

Page 19: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

19

3D Simulation: BSCW (Case 2)

Lower Surface Upper Surface

• Steady State

• Coarse Mesh

• Pressure Coefficient at the 95% Spanwise Location

• Max courant number: 10 and 100

Page 20: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

20

3D Simulation: BSCW (Case 2)

• Flutter case

• Coarse Mesh

• How did we start the dynamic case?

Δ𝑇 = 5 × 10−3

Page 21: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

21

3D Simulation: BSCW (Case 2)

• Flutter case

• Coarse Mesh

Page 22: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

22

Future Work

• Complete Case 2 flutter analysis for inviscid case

• Further code development to consider viscous flux Jacobian

• Re-run cases 1, 2 with viscous forces

• Attempt URANS simulations for case 3

Page 23: Aeroelastic Prediction of the BSCW using an enhanced ...2 Outline • Introduction • OpenFOAM Compressible Solver: rhoCentralFoam • Enhanced OpenFOAM Coupled Solver • 2D Simulation:

23

THANK YOU