development and validation of a density-based implicit...

30
Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm JaeHeung Gill 1 , ByoungYun Kim 1 , JiHong Kim 2 , HoonBum Shin 2 , SungKi Jung 2 and KyuHong Kim 3 1 NEXTFoam Co., Ltd. 2 Korea Aerospace Indutries, LTD. 3 Seoul National University

Upload: others

Post on 01-Aug-2020

11 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

JaeHeung Gill1, ByoungYun Kim1, JiHong Kim2, HoonBum Shin2, SungKi Jung2 and KyuHong Kim3

1 NEXTFoam Co., Ltd.

2 Korea Aerospace Indutries, LTD.

3 Seoul National University

Page 2: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

3Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Outline

1. Background

2. Implicit Finite Volume Discretization

3. LU-SGS Algorithm

4. Results

5. Concluding Remarks

Page 3: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

4Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Outline

1. Background

2. Implicit Finite Volume Discretization

3. LU-SGS Algorithm

4. Results

5. Concluding Remarks

Page 4: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

5Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Background

Based on DensityBasedTurbo by Oliver Borm– Density Based Coupled Algorithm– Explicit Time Integration– Godunov Type Flux Schemes– Multi-Dimensional Slope Limiter– Local Time Stepping– Steady & Transient Solvers

We have focused on steady state solver– Implementation of implicit time integration– Implementation of far-field boundary condition

● Utilizing riemann invariants

Page 5: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

6Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Outline

1. Background

2. Implicit Finite Volume Discretization

3. LU-SGS Algorithm

4. Results

5. Concluding Remarks

Page 6: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

7Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Implicit Finite Volume Discretization

Favre-Averaged Navier-Stokes Equations in Integral Form

∫V∂W∂ t

dV +∮S ( F c− F v ) dS=0

W=[ρρ UρE ] F c=[

(ρU ) f⋅n

(ρ U⊗U + p I ) f⋅n

(ρH U ) f⋅n]

F v=[0τ f⋅n

( τ⋅n ) f⋅n+(ραeff ∇ h ) f⋅n+{(μ+μ tσk )∇ k } f⋅n]

Page 7: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

8Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Implicit Finite Volume Discretization

Spatial Discretization

V i

∂W i

∂ t+ ∑

j∈N (i)( F c , ij− F v , ij ) S ij=0

i

j

j

j

Page 8: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

9Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Implicit Finite Volume Discretization

Time Integration

– Explicit

– Implicit ( Backward Euler)

V i

Δ t i(W i

n+1−W in)+ ∑

j∈N (i)( F c , ij

n − F v ,ijn ) S ij=0

V i

Δ t i(W i

n+1−W i

n)+ ∑j∈N (i)

( F c , ijn+1− F v , ij

n+1)S ij=0

Page 9: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

10Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Implicit Finite Volume Discretization

Linearizing Flux Vector– Linearizing both convective and viscous fluxes using Taylor's series expansion.

Result in

where

F ijn+1≈ F ij

n+( ∂ F∂W )ijΔ W ijn

V i

Δ t iΔ W i

n+ ∑j∈N (i )

( Ac ,ij−Av ,ij )Δ W ijn S ij=−Res i

n

Δ W in=W i

n+1−W i

n

Ac=∂ F c

∂W: Convective Flux Jacobian

Av=∂ F v

∂ W: Viscous Flux Jacobian

Page 10: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

11Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Outline

1. Background

2. Implicit Finite Volume Discretization

3. LU-SGS Algorithm

4. Results

5. Concluding Remarks

Page 11: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

12Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

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

Evaluation of Flux Jacobian– Steger-Warming's Flux Vector Splitting for Convective Flux– Thin Shear Layer Approximation(TSL) for Viscous Flux

V i

Δ t iΔ W i

n+ ∑

j∈N (i)(Ac ,i

+Av ,i

∗)Δ W i

n S ij

+ ∑j∈N (i)

(Ac , j−−Av , j

∗)ΔW j

n S ij=−Resin

Page 12: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

13Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

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

Split off-diagonal term into lower(owner) and upper(neighbor) part

– Block matrix system

V i

Δ t iΔ W i

n+ ∑

j∈N (i)(Ac ,i

+Av ,i

∗)ΔW i

n S ij

+ ∑j∈L (i)

( Ac , j−−Av , j

∗)Δ W j

n S ij

+ ∑j∈U (i )

(Ac , j−−Av , j

∗)Δ W j

n S ij=−Resin

(D+L+U )ΔW n=−Rn

Page 13: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

14Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

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

Block Matrix Example

1

4

56

3

2

0

13

10

7

1211

8

9

(D0 U1 0 0 0 0 0 0 U 8 0 0 0 0 0L0 D1 0 0 0 0 0 0 0 U 9 0 0 0 00 0 D2 U 3 0 0 0 0 0 U 9 0 0 0 0

0 0 L2 D3 0 0 0 0 0 0 0 U 11 0 00 0 0 0 D4 U 5 0 0 0 0 0 U 11 0 00 0 0 0 L4 D5 0 0 0 0 U 10 0 0 00 0 0 0 0 0 D6 U 7 0 0 U 10 0 0 0

0 0 0 0 0 0 L6 D 7 U 8 0 0 0 0 0L0 0 0 0 0 0 0 L7 D 8 0 0 0 0 U 13

0 L1 L2 0 0 0 0 0 0 D9 0 0 0 U 13

0 0 0 0 0 L5 L6 0 0 0 D10 0 U 12 00 0 0 L3 L4 0 0 0 0 0 0 D11 U 12 00 0 0 0 0 0 0 0 0 0 L10 L11 D12 U 13

0 0 0 0 0 0 0 0 L8 L9 0 0 L12 D13

)D+L+U

Page 14: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

15Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

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

Approximate Factorization

– Factorization error

(D+L)D−1(D+U )ΔW n=−Rn+LD−1U ΔW n

ο(Δ t2) if Δ t≪Δ xο(Δ t) if Δ t≫Δ x

Page 15: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

16Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

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

Invert the matrix in two steps– Forward sweep

(D+L)ΔW∗=−Rn

(D0 0 0 0 0 0 0 0 0 0 0 0 0 0L0 D1 0 0 0 0 0 0 0 0 0 0 0 00 0 D2 0 0 0 0 0 0 0 0 0 0 00 0 L2 D3 0 0 0 0 0 0 0 0 0 00 0 0 0 D4 0 0 0 0 0 0 0 0 00 0 0 0 L4 D5 0 0 0 0 0 0 0 00 0 0 0 0 0 D6 0 0 0 0 0 0 00 0 0 0 0 0 L6 D7 0 0 0 0 0 0L0 0 0 0 0 0 0 L7 D8 0 0 0 0 00 L1 L2 0 0 0 0 0 0 D9 0 0 0 00 0 0 0 0 L5 L6 0 0 0 D10 0 0 00 0 0 L3 L4 0 0 0 0 0 0 D11 0 00 0 0 0 0 0 0 0 0 0 L10 L11 D12 00 0 0 0 0 0 0 0 L8 L9 0 0 L12 D13

)(ΔW 0

ΔW 1∗

ΔW 2∗

ΔW 3∗

ΔW 4∗

ΔW 5∗

ΔW 6∗

ΔW 7∗

ΔW 8∗

ΔW 9∗

ΔW 10∗

ΔW 11∗

ΔW 12∗

ΔW 13∗

) = −[Rn ]

Page 16: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

17Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

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

– Backward sweep

(D+U )ΔW n=DΔW∗

(D0 U 1 0 0 0 0 0 0 U 8 0 0 0 0 00 D1 0 0 0 0 0 0 0 U 9 0 0 0 0

0 0 D2 U 3 0 0 0 0 0 U 9 0 0 0 00 0 0 D3 0 0 0 0 0 0 0 U 11 0 00 0 0 0 D4 U 5 0 0 0 0 0 U 11 0 00 0 0 0 0 D5 0 0 0 0 U 10 0 0 0

0 0 0 0 0 0 D6 U 7 0 0 U 10 0 0 00 0 0 0 0 0 0 D7 U 8 0 0 0 0 00 0 0 0 0 0 0 0 D8 0 0 0 0 U 13

0 0 0 0 0 0 0 0 0 D9 0 0 0 U 13

0 0 0 0 0 0 0 0 0 0 D10 0 U 12 00 0 0 0 0 0 0 0 0 0 0 D11 U 12 00 0 0 0 0 0 0 0 0 0 0 0 D12 U 13

0 0 0 0 0 0 0 0 0 0 0 0 0 D13

)(ΔW 0

n

ΔW 1n

ΔW 2n

ΔW 3n

ΔW 4n

ΔW 5n

ΔW 6n

ΔW 7n

ΔW 8n

ΔW 9n

ΔW 10n

ΔW 11n

ΔW 12n

ΔW 13n

) = [D ΔW∗]

Page 17: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

18Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Outline

1. Background

2. Implicit Finite Volume Discretization

3. LU-SGS Algorithm

4. Results

5. Concluding Remarks

Page 18: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

19Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Inviscid Flow(2D)

Transonic Flow over a Bump in Channel– 65 X 17 grid

– M∞ = 0.675

From Ni, 1982

Current

Residual history

Current(maxCo = 500)

Explicit(maxCo = 2)

Page 19: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

20Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Inviscid Flow(2D)

Oblique Shock Reflection on a Plane Wall– Uniform triangular grid

– M∞ = 2.9

commercial

Page 20: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

21Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Viscous Turbulent Flow(2D)

Transonic Flow Over RAE2822 Airfoil– 36,000 cells Hybrid(quad + tri) grid

– M∞ = 0.675

– komegaSST turbulence model

0 0.2 0.4 0.6 0.8 1

-1.5

-1

-0.5

0

0.5

1

1.5EXP

OpenFOAM

Commercial

WIND V5

WIND v1

NPARC

x/c

-Cp

Page 21: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

22Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Viscous Turbulent Flow(3D)

Transonic Flow over ONERA M6 Wing– M

∞ = 0.8395, p

∞=315980pa, T

∞=255.56K

– AoA = 3.06– Hex(NASA) and hybrid mesh

OpenFOAMOpenFOAM

Commercial code Commercial code

Page 22: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

23Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Viscous Turbulent Flow(3D)

Transonic Flow over ONERA M6 Wing

Page 23: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

24Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Viscous Turbulent Flow(3D)

Transonic Flow over ONERA M6 Wing

0 0.2 0.4 0.6 0.8 1

-1

-0.5

0

0.5

1

1.5y/b=0.2

Wind

OpenFOAM

x/l

-Cp

0 0.2 0.4 0.6 0.8 1

-1

-0.5

0

0.5

1

1.5y/b=0.44

Wind

OpenFOAM

x/l

-Cp

Page 24: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

25Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Viscous Turbulent Flow(3D)

Transonic Flow over ONERA M6 Wing

0 0.2 0.4 0.6 0.8 1

-1

-0.5

0

0.5

1

1.5y/b=0.65

Wind

OpenFOAM

x/l

-Cp

0 0.2 0.4 0.6 0.8 1

-1

-0.5

0

0.5

1

1.5y/b=0.9

Wind

OpenFOAM

x/l

-Cp

Page 25: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

26Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Viscous Turbulent Flow(3D)

Transonic Flow around DLR F4 Wing-Body– M

∞ = 0.75, p

∞=116577pa, T

∞=300K

– AoA = 0.49– Hybrid mesh from AIAA DPW II ( 5,200,000 cells )

OpenFOAM

Commercial Code

Page 26: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

27Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Viscous Turbulent Flow(3D)

Transonic Flow around DLR F4 Wing-Body

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

-1

-0.5

0

0.5

1

1.5y/b=0.239

Wind TunnelOF-ImplicitCommercial

x/c

-Cp

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

-1

-0.5

0

0.5

1

1.5y/b=0.377

Wind TunnelOF-ImplicitCommercial

x/c

-Cp

Page 27: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

28Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Results – Viscous Turbulent Flow(3D)

Transonic Flow around DLR F4 Wing-Body

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

-1

-0.5

0

0.5

1

1.5y/b=0.514

Wind TunnelOF-ImplicitCommercial

x/c

-Cp

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

-1

-0.5

0

0.5

1

1.5y/b=0.847

Wind TunnelOF-ImplicitCommercial

x/c

-Cp

Page 28: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

29Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Outline

1. Background

2. Implicit Finite Volume Discretization

3. LU-SGS Algorithm

4. Results

5. Concluding Remarks

Page 29: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

30Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm

Concluding Remarks

Summary– Implicit LU-SGS algorithm and new boundary condition have been

implemented – The numerical results obtained indicate that implicit algorithm leads to an

increase in performance over the explicit counter part– Solution was comparable to commercial code

Future works– More efficient version of LU-SGS– Low mach number preconditioning– Multigrid

Page 30: Development and Validation of a Density-Based Implicit ...nextfoam.co.kr/proc/DownloadProc.php?fName=... · Results – Viscous Turbulent Flow(3D) Transonic Flow over ONERA M6 Wing

Development and Validation of a Density-Based Implicit Solver Using LU-SGS Algorithm 31

Thank you …Thank you …

… for your attention!