18
Automated High Fidelity Simulation David Darmofal, Bob Haimes Garrett Barter, Laslo Diosady, Krzysztof Fidkowski James Modisette, Todd Oliver, Mike Park Massachusetts Institute of Technology Department of Aeronautics and Astronautics October 28, 2008 Project X (MIT) AHFS October 28, 2008 1 / 14

Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Automated High Fidelity Simulation

David Darmofal, Bob HaimesGarrett Barter, Laslo Diosady, Krzysztof Fidkowski

James Modisette, Todd Oliver, Mike Park

Massachusetts Institute of TechnologyDepartment of Aeronautics and Astronautics

October 28, 2008

Project X (MIT) AHFS October 28, 2008 1 / 14

Page 2: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Computational Fluid Dynamics (CFD)

CFD in aerospace engineeringNumerous codes in private and public sectorActively used in design and analysisSupplements or replaces expensive wind-tunnel testsReduces design cycle timeMeshing relies on expert judgment

Typical Design ProcessError

Estimate,AdaptiveIndicator

SolutionFlow

MeshComputational

Discrete

Geometry(CAD)

Aided DesignComputer-

Weeks Hours/Days

Project X (MIT) AHFS October 28, 2008 2 / 14

Page 3: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Drag Prediction Workshops I & II

DescriptionGeometries: DLR-F4 WB andDLR-F6 WB / WBNPCase: M! = 0.75, CL = 0.5,Re = 3! 106, fully turbulentGrids: " 3! 106 (DPW I)," 1# 10! 106 nodes (DPW II)" 25 participants, " 20 codes

http://aaac.larc.nasa.gov/tsab/cfdlarc/aiaa-dpw/

Results [Levy et al , 2003; Hemsch and Morrison, 2004]Code-to-code scatter very large: $ 40 drag counts ignoringoutliers (DPW I)No discernible reduction in scatter with grid refinement (DPW II)Asymptotic rates not achieved with grid refinement (DPW II)Project X (MIT) AHFS October 28, 2008 3 / 14

Page 4: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Further Results

Mavriplis demonstrated uniformrefinement of different meshtopologies (UW versus CESSNAtopology) apparently convergingto different lift (CL) estimateseven with meshes having manymore elements (N) than typicallyused in practice.

Mavriplis, 2007“The range of scales inherent in computational aerodynamicsproblems... make it unfeasible to fully resolve all regions of thecomputational domain through successive global refinements of anarbitrarily constructed initial grid...”

Project X (MIT) AHFS October 28, 2008 4 / 14

Page 5: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Next-Generation CFD

Project XResearch initiative at Aerospace Computational Design Laboratoryaimed at developing the next generation CFD capability.Goal:

Engineering accuracy in a reasonable amount of time and in anautomated manner.

Outcome:Desired outcome: let engineers be engineers not meshingexperts.

Enabling Features:Solution-based adaptivityHigher-order discretizationDirect interface to Computer-Aided Design (CAD) modelsProject X (MIT) AHFS October 28, 2008 5 / 14

Page 6: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Enabling Feature: Output-Based Adaptation

CD = 565.7 countsHow accurate is this value?Where is more resolution necessary to improve the accuracy?

Project X (MIT) AHFS October 28, 2008 6 / 14

Page 7: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Output Error Estimation: The Adjoint

Given a governing equation with a source term (g), a solution (u)and a functional output, (J ),

% · F(u) = g(x), J (u(g))

The adjoint, !, is a Green’s function relating the output sensitivityto the source term,

J (u(g)) # J (u(0)) =

!!

!g(x)

For error estimation and adaptation, g is the truncation error.For gradient-based design optimization, g is the residualperturbation due to design variable perturbation.

Project X (MIT) AHFS October 28, 2008 7 / 14

Page 8: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Output Error Estimation: The Adjoint

The adjoint, !, is a Green’s function relating the output sensitivityto the source term,

J (u(g)) # J (u(0)) =

!!

!g(x)

Project X (MIT) AHFS October 28, 2008 7 / 14

Page 9: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Adaptive Algorithm

Idea: refine elements with high error; coarsen elements with low error

Iteration 0

Iteration 2

Iteration 4

Solve primal and dual equations oncurrent mesh.Estimate output error and elementcontributions.Find desired mesh size in eachexisting element using an a priorioutput error estimate to relateelement error to size request:h! = h!("!)

Adapt mesh

Project X (MIT) AHFS October 28, 2008 8 / 14

Page 10: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Examples of Output-based Adaptation

High-lift, multi-element airfoilSonic boom applicationNozzle Guide Vane missile (NASA Ames)

Project X (MIT) AHFS October 28, 2008 9 / 14

Page 11: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

RANS drag adaptation example: EET Airfoil

Initial Mesh (11063 elements)

Final Mesh (11620 elements), p = 3 solution

Project X (MIT) AHFS October 28, 2008 10 / 14

Page 12: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

EET Airfoil Results (p = 3)

Mach Number

Eddy Viscosity

Pressure Distribution

−0.2 0 0.2 0.4 0.6 0.8 1 1.2

−1

0

1

2

3

4

5

6

x/c

−cp

Outputs on final meshc! = 3.51—agrees well with experiment and other computationscd = 436 counts—error estimate = 3 counts

Project X (MIT) AHFS October 28, 2008 11 / 14

Page 13: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Supersonic flowFarfield pressure adaptation

NACA 0012, M! = 2, Re = 104, # = 0"

Adaptation on" x1x0

(p# p!)dx ona line location 20 chords aboveairfoilInterpolation orders p = 1–3.

Project X (MIT) AHFS October 28, 2008 12 / 14

Page 14: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Supersonic flowFarfield pressure adaptation

Initial (all p) Final p = 1 Final p = 3

Project X (MIT) AHFS October 28, 2008 13 / 14

Page 15: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Supersonic flowFarfield pressure adaptation

Pressure signal convergence for p = 2

10 15 20 25 30 35 40−0.1

−0.05

0

0.05

0.1

0.15

0.2

x

Δ p

/ p ∞

Adapt Iter 1Adapt Iter 2Adapt Iter 3Adapt Iter 7

Project X (MIT) AHFS October 28, 2008 13 / 14

Page 16: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

NGV Missile

Functional: Axial force

• Initial mesh: ~5k cells

• Supersonic flow: M! = 2, !"="0°

• Power boundary conditions applied at

plenum face

Nozzle cutaway

Near-body view of initial mesh

Fins and nozzle guide vanes

Page 17: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

NGV Missile

Nozzle cutaway (6 adaptations, Mach contours)

Page 18: Automated High Fidelity Simulationweb.mit.edu/ehliu/Public/CSGF/AHFS_Overview.pdf · Supersonic flow Farfield pressure adaptation NACA 0012, M ∞ = 2, Re = 104, α = 0 Adaptation

Future Work

Applications in other areas in particular internal flowsExtensions to unsteady flows

Project X (MIT) AHFS October 28, 2008 14 / 14