57
Grid Quality and Resolution Issues from the Drag Prediction Workshop Series The DPW Committee Dimitri Mavriplis : University of Wyoming USA J. Vassberg, E. Tinoco, M. Mani : The Boeing Company USA O. Brodersen, B. Eisfeld: DLR Braunschweig, GERMANY R. Wahls, J. Morrison: NASA Langley Research Center , USA T. Zickhur, D. Levy: Cessna Aircraft Co. USA M. Murayama: Japan Aerospace Exploration Agency, JAPAN

Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

  • Upload
    neviah

  • View
    43

  • Download
    0

Embed Size (px)

DESCRIPTION

Grid Quality and Resolution Issues from the Drag Prediction Workshop Series. The DPW Committee Dimitri Mavriplis : University of Wyoming USA J. Vassberg, E. Tinoco, M. Mani : The Boeing Company USA O. Brodersen, B. Eisfeld: DLR Braunschweig, GERMANY - PowerPoint PPT Presentation

Citation preview

Page 1: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Quality and Resolution Issues from the Drag

Prediction Workshop Series

The DPW Committee

Dimitri Mavriplis : University of Wyoming USAJ. Vassberg, E. Tinoco, M. Mani : The Boeing Company USAO. Brodersen, B. Eisfeld: DLR Braunschweig, GERMANYR. Wahls, J. Morrison: NASA Langley Research Center , USAT. Zickhur, D. Levy: Cessna Aircraft Co. USAM. Murayama: Japan Aerospace Exploration Agency, JAPAN

Page 2: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Motivation

• DPW Series – Assess State-of-art for Transonic Cruise Drag

Prediction using RANS methods• DPW I: Anaheim CA, June 2001• DPW II: Orlando FL, June 2003• DPW III: San Francisco CA, June 2006• DPW IV: June 2009

– Considerable scatter in results particularly for cases with flow separation (off-design)

– Emerging Consensus• Discretization errors are (a) dominant source of error

Page 3: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Motivation

• DPW focused increasingly on assessing discretization/grid induced errors– DPW I: Single grid study– DPW II: Grid convergence study (3 grids)– DPW III: All results examined in context of grid

convergence study (3 or 4 grids)

• Implications– Dominant discretization errors preclude accurate

assessment of other errors• Turbulence/transition modeling

Page 4: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Motivation

• DPW demonstrated grid convergence for some codes mostly for attached flow cases

• Separated flow cases much more difficult to obtain grid independent results

• Scatter often does not decrease with increasing grid resolution

• Contradictory grid convergence results– Different grid families converge to different results

Page 5: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Overview

• Overview of DPW test cases

• DPW Gridding Guidelines

• Discussion of gridding issues– Grid Resolution– Grid Convergence– Grid Quality

• Possible improvements

• Conclusions

Page 6: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

DLRF4-F6 Test Cases (DPW I,II,III)

• Wing-Body Configuration• Transonic Flow• Mach=0.75, Incidence = 0 degrees, Reynolds number=3,000,000

Page 7: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

DPW III Series Cases

• Designed fairing to suppress flow separation (Vassberg et al. AIAA 2005-4730)

Page 8: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

DPW III Series Cases

• 2 closely related simple wing geometries– Well behaved flow– Enhanced grid refinement study (4 grids)

Page 9: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

General Gridding Guidelines• Grid Resolution Guidelines

– BL Region• Y+ < 1.0, 2/3, 4/9, 8/27 (Coarse,Med,Fine,VeryFine)• 2 cell layers constant spacing at wall• Growth rates < 1.25

– Far Field: 100 chords – Local Spacings (Medium grid)

• Chordwise: 0.1% chord at LE/TE• Spanwise spacing: 0.1% semispan at root/tip• Cell size on Fuselage nose, tail: 2.0% chord

– Trailing edge base:• 8,12,16,24 cells across TE Base (Coarse,Med,Fine,Veryfine)

• Grid Convergence Sequences– X3 increase in resolution per refinement– Maintain same family of grids in sequence

Page 10: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Overset Meshes (DPW III)

Page 11: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Overset Meshes (DPW III)

Page 12: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Structured Multi-Block Wing-Body GridsConstructed with Boeing Zeus/Advancing Front Method

Page 13: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Typical Wing Grid H-H Topology

Embedded Blunt Trailing Edge Grid Block

Page 14: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

VGRID : Wing Body (~40M pts)

Page 15: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

VGRID : Wing Alone (~30M pts)

Page 16: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

DPW Submitted Grids

• Wide variety of grid types and constructions

• Grid topology and type affects local resolution

• Compliance with guidelines not evaluated precisely

• Large data-base of high-quality aero grids made available

Page 17: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

DPW I RESULTS (circa 2001)

• Drag polar for single grid resolution

Page 18: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

DPW II RESULTS (circa 2003)

• Drag vs number of grid points (Wing-body alone)

Page 19: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

DPW III RESULTS (2006)

• Idealized drag vs grid index factor (N-2/3)– Wing-body and Wing-body+fairing

Page 20: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Related Experiences from DPW

• Grid Resolution

• Grid Convergence

• Grid Quality

Page 21: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Resolution

• Always need more– DPW I: ~ 3M pts– DPW III: ~ 40M pts– Interim/Follow-on studies/DPW4: > 100M pts– Grid convergence studies point to need for > 109 pts

• Wide range of scales present in aerodynamics– Highly variable:

• Far field ~100 MAC• Trailing edge ~.01 MAC

– Anisotropic:– Boundary Layer Y+=1: ~ 10-6 MAC

Page 22: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Resolution

• Wide range of scales requires:– Intuition or rule-based grid generation– Anisotropic in Boundary Layer (and spanwise)– Codified in DPW guidelines

• Effect of Grid Resolution is Complex– Direct effect on surface profiles is small– Indirect effect can be large

• Location of separation• Integration of small differences Lift, Drag, Moment

Page 23: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

W1 Grid Convergence Study

• CP at station 5:

Page 24: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

W1 Grid Convergence Study

• CP at station 5:

Page 25: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

W1 Grid Convergence Study

• CP at station 5:

Page 26: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

W1 Grid Convergence Study

• CP at station 5:

Page 27: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Effect of Normal Spacing in BL

• Inadequate resolution under-predicts skin friction– Direct influence on drag prediction– Indirect influence: Wrong separation prediction

Page 28: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Effect of Normal Resolution for High-Lift

(c/o Anderson et. AIAA J. Aircraft, 1995)

• Indirect influence on drag prediction• Easily mistaken for poor flow physics modeling

Page 29: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Resolution

• Separated flow cases more demanding and often contradictory experiences

Page 30: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Resolution• Side-of-Body Separation increases with grid resolution

– Boeing: Overset– Boeing: Unstructured– DLR: Unstructured

• Side-of-Body Separation constant with grid resolution– Boeing: Block Structured– JAXA: Block Structured, Unstructured

• Trailing edge separation grows with grid res:– UW : Unstructured (NSU3D)

• Trailing edge separation constant with grid res:– JAXA: Structured, Unstructured– Boeing: Overset

• Experimentation with much finer grids required to understand behavior…

Page 31: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Convergence

• Increased focus of DPW Series

• For second-order accurate method, error should decrease as O(h2)– Define average cell size h as: N-1/3

• N=number of grid pts

– Drag vs N-2/3 should plot as straight line– Project to y-axis to get continuum value

Page 32: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Importance of Grid Convergence

Agreement on initial grid (DPW I) gets worse (Lee-Rausch et al. AIAA-2003-3400)

Page 33: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Convergence

• Grids must come from same “family”– Self-similar topologically– Same relative variations of resolution

• Achieved through IJK factors for structured grids• Requires global grid spacing factor for unst. grids• Boundary layer growth must be taken into account

• Not clear how well all grids meet these requirements– Most likely represents state-of-art

• Perform grid convergence at fixed Lift or fixed incidence conditions ?

Page 34: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

• Grid convergence for attached flow cases• Inconsistent behavior for separated flow case

– Separation bubble grows with grid resolution

Grid Convergence (Overflow)

Page 35: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

• More consistent grid convergence at fixed CL

Grid Convergence (Wing Alone)

Page 36: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

W1-W2 Grid Convergence Study(NSU3D Unstructured)

•Apparently uniform grid convergence

Page 37: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

W1-W2 Results

• Discrepancy between results on 2 different families of grids (both generated with VGRID)

Page 38: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

W1-W2 Results

• Removing effect of lift-induced drag : Results on both grid families converge consistently

– Consistent grid convergence at fixed CL instead of alpha

Page 39: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Quality

• Distinguish grid quality from grid resolution– Relative distribution of resolution– Topology– Element type/shape– Aspect ratio– Orthogonality (BL, hybrid)

• Grid quality is (should be) constant for self-similar family of grids used for grid convergence study

Page 40: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Two Unstructured Grid Topologies

65 million pt grid72 million pt grid

High Resolution grids for DLR-F6 (DPW II) using NSU3D solver

Page 41: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Convergence on Topology #1

• Drag is grid converging• Sensitivity to dissipation decreases as expected

Page 42: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

65M pt mesh Results

• 10% drop in CL at AoA=0o: closer to experiment• Drop in CD: further from experiment• Same trends at Mach=0.3• Little sensitivity to dissipation

Page 43: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Grid Convergence• Grid convergence apparent using self-similar family of grids

• Large discrepancies possible across grid families– Sensitive areas

• Separation, Trailing edge• Pathological cases ?

• Would grid families converge to same result limit of infinite resolution ?– i.e. Do we have consistency ?– Due to element types ?, Aspect ratio ?

• Possible ways forward:– Higher order discretizations– Adjoint-based error estimation

Page 44: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

hp-adaptive DG Li Wang and Dimitri Mavriplis

Adjoint-Based Spatial Error Estimation + AMRAdjoint-Based Spatial Error Estimation + AMR

Adjoint Solution : Green’s Function for Objective (Lift)

Change in Lift for Point sources of Mass/Momentum

Error in objective ~ Adjoint . Residual (approx. solution)

Predicts objective value for new solution (on finer mesh)

Cell-wise indicator of error in objective (only)

Page 45: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

hp-adaptive DG Li Wang and Dimitri Mavriplis

hh-refinement for target functional of lift-refinement for target functional of lift

Fixed discretization order of p = 1

Final h-adapted mesh (8387 elements) Close-up view of the final h-adapted mesh

Page 46: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

hp-adaptive DG Li Wang and Dimitri Mavriplis

Comparison between h-refinement and uniform mesh refinement

Error convergence history vs. degrees of freedom

Functional Values and Corrected Values

hh-refinement for target functional of lift-refinement for target functional of lift

Page 47: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Complex Geometry: Vehicle Stage Separation(CART3D/inviscid)

Top View

Side View

• Initial mesh contains only 13k cells

• Final meshes contain between 8M to 20M cells

Initial Mesh

Page 48: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Pressure Contours

M∞=4.5, α=0°

Page 49: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

• Minimal refinement of inter-stage region

• Gap is highly refined

• Overall, excellent convergence of functional and error estimate

Cutaway view of inter-stage

Page 50: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Unsteady Problems

Total error in solution

Temporal error

(discretization/resolution)

Spatial error

(discretization/resolution)

Flow

Algebraic error

Mesh Other Flow Mesh Other Flow Mesh Other

•Solution of time-dependent adjoint: backwards integration in time•Disciplinary adjoint inner product with disciplinary residual

Page 51: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

•Interaction of isentropic vortex with slowly pitching NACA0012

•Mach number = 0.4225

•Reduced frequency = 0.001

•Center of pitch is quarter chord

•Functional is

Time-integrated functional

8,600 elements

Page 52: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Unsteady Adjoint Error Estimation

Density contours of initial condition

Page 53: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Comparison of adapted temporal domain

Temporal Error Adaptation

Page 54: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Algebraic Error Adaptation

Adapted Flow/Mesh convergence tolerances:

Page 55: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Adjoint-Based Refinement Results

•Error in Lift versus CPU TimeUniform cost is only finest solution costAdaptive cost is all solutions (+ adjoint cost)Corrected value provides further improvement

Page 56: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Conclusions• Grid related issues are dominant error source in drag

prediction

• Grid and solver interaction is complex

• Drive toward much higher resolution

• Grid quality difficult to assess

• Inconsistent grid convergence results point to possible inconsistent errors : O(1)

• All these issues much more prevalent for separated flows

Page 57: Grid Quality and Resolution Issues from the Drag Prediction Workshop Series

Conclusions• A posteriori error estimation

– Criteria for adaptive meshing– Gradient based– Adjoint based for specific outputs

• Looks promising– Extends to temporal, algebraic error from different disciplines– Combine spatial, temporal, algebraic…– Still a linearization about current solution– Slow to production– Inconsistent errors not resolvable with AMR

• A priori error estimation– Grid quality metrics– Approximation error of test functions