Unstructured Mesh Related Issues In Computational Fluid Dynamics (CFD) – Based Analysis And Design Dimitri J. Mavriplis ICASE NASA Langley Research Center.

Slides:



Advertisements
Similar presentations
Fast Adaptive Hybrid Mesh Generation Based on Quad-tree Decomposition
Advertisements

Steady-state heat conduction on triangulated planar domain May, 2002
Parameterizing a Geometry using the COMSOL Moving Mesh Feature
A Discrete Adjoint-Based Approach for Optimization Problems on 3D Unstructured Meshes Dimitri J. Mavriplis Department of Mechanical Engineering University.
1 Lecture 7 - Meshing Applied Computational Fluid Dynamics Instructor: André Bakker © André Bakker ( ) © Fluent Inc. (2002)
Unstructured Mesh Discretizations and Solvers for Computational Aerodynamics Dimitri J. Mavriplis University of Wyoming.
Advanced CFD Analysis of Aerodynamics Using CFX
Results from the 3 rd Drag Prediction Workshop using the NSU3D Unstructured Mesh Solver Dimitri J. Mavriplis University of Wyoming.
Parallelizing stencil computations Based on slides from David Culler, Jim Demmel, Bob Lucas, Horst Simon, Kathy Yelick, et al., UCB CS267.
CAD Import, Partitioning & Meshing J.Cugnoni LMAF / EPFL 2009.
A Bezier Based Approach to Unstructured Moving Meshes ALADDIN and Sangria Gary Miller David Cardoze Todd Phillips Noel Walkington Mark Olah Miklos Bergou.
A Bezier Based Approach to Unstructured Moving Meshes ALADDIN and Sangria Gary Miller David Cardoze Todd Phillips Noel Walkington Mark Olah Miklos Bergou.
Developments on Shape Optimization at CIMNE October Advanced modelling techniques for aerospace SMEs.
Coupled Fluid-Structural Solver CFD incompressible flow solver has been coupled with a FEA code to analyze dynamic fluid-structure coupling phenomena CFD.
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
Steady Aeroelastic Computations to Predict the Flying Shape of Sails Sriram Antony Jameson Dept. of Aeronautics and Astronautics Stanford University First.
Parallel Mesh Refinement with Optimal Load Balancing Jean-Francois Remacle, Joseph E. Flaherty and Mark. S. Shephard Scientific Computation Research Center.
Network and Grid Computing –Modeling, Algorithms, and Software Mo Mu Joint work with Xiao Hong Zhu, Falcon Siu.
Chamber Dynamic Response Modeling Zoran Dragojlovic.
1/36 Gridless Method for Solving Moving Boundary Problems Wang Hong Department of Mathematical Information Technology University of Jyväskyklä
MCE 561 Computational Methods in Solid Mechanics
Applications of Adjoint Methods for Aerodynamic Shape Optimization Arron Melvin Adviser: Luigi Martinelli Princeton University FAA/NASA Joint University.
1 CFD Analysis Process. 2 1.Formulate the Flow Problem 2.Model the Geometry 3.Model the Flow (Computational) Domain 4.Generate the Grid 5.Specify the.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
Cornell University, September 17,2002 Ithaca New York, USA The Development of Unstructured Grid Methods For Computational Aerodynamics Dimitri J. Mavriplis.
1 Part III: Airfoil Data Philippe Giguère Graduate Research Assistant Steady-State Aerodynamics Codes for HAWTs Selig, Tangler, and Giguère August 2, 1999.
Grid Generation.
Hybrid WENO-FD and RKDG Method for Hyperbolic Conservation Laws
Computational Aerodynamics Using Unstructured Meshes
1 Data Structures for Scientific Computing Orion Sky Lawlor charm.cs.uiuc.edu 2003/12/17.
Chapter 3 Meshing Methods for 3D Geometries
ANSYS, Inc. Proprietary © 2004 ANSYS, Inc. Chapter 6 ANSYS CFX 9.0.
IPE 2003 Tuscaloosa, Alabama1 An Inverse BEM/GA Approach to Determining Heat Transfer Coefficient Distributions Within Film Cooling Holes/Slots Mahmood.
Wind Energy Program School of Aerospace Engineering Georgia Institute of Technology Computational Studies of Horizontal Axis Wind Turbines PRINCIPAL INVESTIGATOR:
Mesh Generation 58:110 Computer-Aided Engineering Reference: Lecture Notes on Delaunay Mesh Generation, J. Shewchuk (1999)
Revisiting the Least-Squares Procedure for Gradient Reconstruction on Unstructured Meshes Dimitri J. Mavriplis National Institute of Aerospace Hampton,
© Fluent Inc. 10/14/ Introductory GAMBIT Notes GAMBIT v2.0 Jan 2002 Fluent User Services Center Volume Meshing and the Sizing.
Discontinuous Galerkin Methods and Strand Mesh Generation
High-Order Spatial and Temporal Methods for Simulation and Sensitivity Analysis of High-Speed Flows PI Dimitri J. Mavriplis University of Wyoming Co-PI.
Model Construction: interpolation techniques 1392.
Grid Resolution Study of a Drag Prediction Workshop Configuration using the NSU3D Unstructured Mesh Solver Dimitri J. Mavriplis Department of Mechanical.
1 1 What does Performance Across the Software Stack mean?  High level view: Providing performance for physics simulations meaningful to applications 
Adaptive Meshing Control to Improve Petascale Compass Simulations Xiao-Juan Luo and Mark S Shephard Scientific Computation Research Center (SCOREC) Interoperable.
Remarks on the TAU grid adaptation Thomas Gerhold.
Geometry Modeling & Grid Generation
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Data Structures and Algorithms in Parallel Computing Lecture 7.
Multi-Physics Adjoints and Solution Verification
Presented by Adaptive Hybrid Mesh Refinement for Multiphysics Applications Ahmed Khamayseh and Valmor de Almeida Computer Science and Mathematics Division.
TR&D 2: NUMERICAL TOOLS FOR MODELING IN CELL BIOLOGY Software development: Jim Schaff Fei Gao Frank Morgan Math & Physics: Boris Slepchenko Diana Resasco.
MULTIFUNCTIONAL COLLABORATIVE MODELING AND ANALYSIS METHODS IN ENGINEERING SCIENCE Jonathan B. Ransom NASA Langley Research Center Mail Stop 240, Hampton,
Derivative-Enhanced Variable Fidelity Kriging Approach Dept. of Mechanical Engineering, University of Wyoming, USA Wataru YAMAZAKI 23 rd, September, 2010.
1 Data Structures for Scientific Computing Orion Sky Lawlor /04/14.
DLR Institute of Aerodynamics and Flow Technology 1 Simulation of Missiles with Grid Fins using an Unstructured Navier-Stokes solver coupled to a Semi-Experimental.
AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 0 AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES Serhat Hosder, Bernard.
A Fully Conservative 2D Model over Evolving Geometries Ricardo Canelas Master degree student IST Teton Dam 1976.
CAD Import Partitioning & Meshing
By Arseniy Kotov CAL POLY San Luis Obispo, Aerospace Engineering Intern at Applied Modeling & Simulation Branch Mentors: Susan Cliff, Emre Sozer, Jeff.
Application of Compact- Reconstruction WENO Schemes to the Navier-Stokes Equations Alfred Gessow Rotorcraft Center Aerospace Engineering Department University.
NON-PROPRIETARY DATA NASA SBIR/STTR Technologies A Mesh Adaptation and Shape Optimization on Unstructured Meshes PI: William M. Eppard CRM SOLUTIONS,
Lecture 7 - Meshing Applied Computational Fluid Dynamics
Drag Prediction Using NSU3D (Unstructured Multigrid NS Solver)
DPW-4 Results For NSU3D on LaRC Grids
Convergence in Computational Science
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINITIES
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES
Dimitri J. Mavriplis ICASE NASA Langley Research Center
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES
Comparison of CFEM and DG methods
Presentation transcript:

Unstructured Mesh Related Issues In Computational Fluid Dynamics (CFD) – Based Analysis And Design Dimitri J. Mavriplis ICASE NASA Langley Research Center Hampton, VA USA 11 th International Meshing Roundtable September 15-18, 2002 Ithaca New York, USA

Overview History and current state of unstructured grid technology of CFD –Influence of grid generation technology –Influence of solver technology Examples of unstructured mesh CFD capabilities Areas of current research –Adaptive mesh refinement –Moving meshes –Overlapping meshes –Requirements for design methods –Implications for higher-order accurate Discretizations

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA CFD Perspective on Meshing Technology CFD initiated in structured grid context –Transfinite interpolation –Elliptic grid generation –Hyperbolic grid generation Smooth, orthogonal structured grids Relatively simple geometries

CFD Perspective on Meshing Technology Evolved to Sophisticated Multiblock and Overlapping Structured Grid Techniques for Complex Geometries Overlapping grid system on space shuttle (Slotnick, Kandula and Buning 1994)

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA CFD Perspective on Meshing Technology Unstructured meshes initially confined to FE community –CFD Discretizations based on directional splitting –Line relaxation (ADI) solvers –Structured Multigrid solvers Sparse matrix methods not competitive –Memory limitations –Non-linear nature of problems

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Current State of Unstructured Mesh CFD Technology Method of choice for many commercial CFD vendors –Fluent, StarCD, CFD++, … Advantages –Complex geometries  –Adaptivity –Parallelizability Enabling factors –Maturing grid generation technology –Better Discretizations and solvers

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Maturing Unstructured Grid Generation Technology ( ) Isotropic tetrahedral grid generation –Delaunay point insertion algorithms –Surface recovery –Advancing front techniques –Octree methods Mature technology –Numerous available commercial packages –Remaining issues Grid quality Robustness Links to CAD

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Maturing Unstructured Grid Generation Technology ( ) Anisotropic unstructured grid generation –External aerodynamics Boundary layers, wakes: O(10**4) –Mapped Delaunay triangulations –Min-max triangulations –Hybrid methods  Advancing layers Mixed prismatic – tetrahedral meshes

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Anisotropic Unstructured Grid Generation Hybrid methods –Semi-structured nature –Less mature: issues Concave regions Neighboring boundaries Conflicting resolution Conflicting Stretchings VGRIDns Advancing Layers c/o S. Pirzadeh, NASA Langley

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Enabling CFD Solver Developments (1990 – 2000) Edge-based data structure –Building block for all element types –Reduces memory requirements –Minimizes indirect addressing / gather-scatter –Graph of grid = Discretization stencil Implications for solvers, Partitioners

Enabling CFD Solver Developments (1990 –2000) Multigrid solvers –Multigrid techniques enable optimal O(N) solution complexity –Based on sequence of coarse and fine meshes –Originally developed for structured grids

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Enabling CFD Solver Developments (1990 –2000) Agglomeration Multigrid solvers for unstructured meshes –Coarse level meshes constructed by agglomerating fine grid cells/equations

Agglomeration Multigrid Automated Graph-Based Coarsening Algorithm Coarse Levels are Graphs Coarse Level Operator by Galerkin Projection Grid independent convergence rates (order of magnitude improvement)

Enabling CFD Solver Developments Line solvers for Anisotropic problems –Lines constructed in mesh using weighted graph algorithm –Strong connections assigned large graph weight –(Block) Tridiagonal line solver similar to structured grids

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Enabling CFD Solver Developments (1990 –2000) Graph-based Partitioners for parallel load balancing –Metis, Chaco, Jostle Edge-data structure  graph of grid Agglomeration Multigrid levels = graphs Excellent load balancing up to 1000’s of processors –Homogeneous data-structures –(Versus multi-block / overlapping structured grids)

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Practical Examples VGRIDns tetrahedral grid generator NSU3D Multigrid flow solver –Large scale massively parallel case –Fast turnaround medium size problem

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA NASA Langley Energy Efficient Transport Complex geometry –Wing-body, slat, double slotted flaps, cutouts Experimental data from Langley 14x22ft wind tunnel –Mach = 0.2, Reynolds=1.6 million –Range of incidences: -4 to 24 degrees

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Initial Mesh Generation (VGRIDns) S. Pirzadeh, NASA Langley Combined advancing layers- advancing front –Advancing layers: thin elements at walls –Advancing front: isotropic elements elsewhere Automatic switching from AL to AF based on: –Cell aspect ratio –Proximity of boundaries of other fronts –Variable height for advancing layers Background Cartesian grid for smooth spacing control Spanwise stretching –Factor of 3 reduction in grid size

VGRID Tetrahedral Mesh 3.1 million vertices, 18.2 million tets, 115,489 surface pts Normal spacing: 1.35E-06 chords, growth factor=1.3

Prism Merging Operation Combine Tetrahedra triplets in advancing-layers region into prisms –Prisms entail lower complexity for solver VGRIDns identifies originating boundary point for ALR vertices –Used to identify candidate elements –Pyramids required as transitional elements

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Prism Merging Operation Initial mesh: 18.2M Tetrahedra Merged mesh: 3.9M prisms, 6.6M Tets, 47K pyramids –64% of Tetrahedra merged

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Global Mesh Refinement High-resolution meshes require large parallel machines Parallel mesh generation difficult –Complicated logic –Access to commercial preprocessing, CAD tools Current approach –Generate coarse (O(10**6) vertices on workstation –Refine on supercomputer

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Global Mesh Refinement Refinement achieved by element subdivision Global refinement: 8:1 increase in resolution In-Situ approach obviates large file transfers Initial mesh: 3.1 million vertices –3.9M prisms, 6.6M Tets, 47K pyramids Refined mesh: 24.7 million vertices –31M prisms, 53M Tets, 281K pyramids –Refinement operation: 10 Gbytes, 30 minutes sequentially

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA NSU3D Unstructured Mesh Navier-Stokes Solver Mixed element grids –Tetrahedra, prisms, pyramids, hexahedra Edge data-structure Line solver in BL regions near walls Agglomeration Multigrid acceleration Newton Krylov (GMRES) acceleration option Spalart-Allmaras 1 equation turbulence model

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Parallel Implementation Domain decomposition with OpenMP/MPI communication –OpenMP on shared memory architectures –MPI on distributed memory architectures –Hybrid capability for clusters of SMPs Weighted graph partitioning (Metis) (Chaco) Coarse and fine MG levels partitioned independently

Computed Pressure Contours on Coarse Grid Mach=0.2, Incidence=10 degrees, Re=1.6M

Computed Versus Experimental Results Good drag prediction Discrepancies near stall

Multigrid Convergence History Mesh independent property of Multigrid GMRES effective but requires extra memory

Parallel Scalability Good overall Multigrid scalability –Increased communication due to coarse grid levels –Single grid solution impractical (>100 times slower) 1 hour soution time on 1450 PEs

AIAA Drag Prediction Workshop (2001) Transonic wing-body configuration Typical cases required for design study –Matrix of mach and CL values –Grid resolution study Follow on with engine effects (2003)

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Cases Run Baseline grid: 1.6 million points –Full drag polars for Mach=0.5,0.6,0.7,0.75,0.76,0.77,0.78,0.8 –Total = 72 cases Medium grid: 3 million points –Full drag polar for each mach number –Total = 48 cases Fine grid: 13 million points –Drag polar at mach=0.75 –Total = 7 cases

Sample Solution (1.65M Pts) Mach=0.75, CL=0.6, Re=3M 2.5 hours on 16 Pentium IV 1.7GHz

Drag Polar at Mach = 0.75 Grid resolution study Good comparison with experimental data

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Cases Run on ICASE Cluster 120 Cases (excluding finest grid) About 1 week to compute all cases

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Current and Future Issues Adaptive mesh refinement Moving geometry and mesh motion Moving geometry and overlapping meshes Requirements for gradient-based design Implications for higher-order Discretizations

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Adaptive Meshing Potential for large savings through optimized mesh resolution –Well suited for problems with large range of scales –Possibility of error estimation / control –Requires tight CAD coupling (surface pts) Mechanics of mesh adaptation Refinement criteria and error estimation

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Mechanics of Adaptive Meshing Various well know isotropic mesh methods –Mesh movement Spring analogy Linear elasticity –Local Remeshing –Delaunay point insertion/Retriangulation –Edge-face swapping –Element subdivision Mixed elements (non-simplicial) Anisotropic subdivision required in transition regions

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Subdivision Types for Tetrahedra

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Subdivision Types for Prisms

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Subdivision Types for Pyramids

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Subdivision Types for Hexahedra

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Adaptive Tetrahedral Mesh by Subdivision

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Adaptive Hexahedral Mesh by Subdivision

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Adaptive Hybrid Mesh by Subdivision

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Anisotropic Adaptation Methods Large potential savings for 1 or 2D features –Directional subdivision Assumes element faces to line up with flow features Combine with mesh motion –Mapping techniques Hessian based Grid quality

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Refinement Criteria Weakest link of adaptive meshing methods –Obvious for strong features –Difficult for non-local (ie. Convective) features eg. Wakes –Analysis assumes in asymptotic error convergence region Gradient based criteria Empirical criteria Effect of variable discretization error in design studies, parameter sweeps

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Adjoint-based Error Prediction Compute sensitivity of global cost function to local spatial grid resolution Key on important output, ignore other features –Error in engineering output, not discretization error e.g. Lift, drag, or sonic boom … Captures non-local behavior of error –Global effect of local resolution Requires solution of adjoint equations –Adjoint techniques used for design optimization

Adjoint-based Mesh Adaptation Criteria Reproduced from Venditti and Darmofal (MIT, 2002)

Adjoint-based Mesh Adaptation Criteria Reproduced from Venditti and Darmofal (MIT, 2002)

Adjoint-based Mesh Adaptation Criteria Reproduced from Venditti and Darmofal (MIT, 2002)

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Overlapping Unstructured Meshes Alternative to moving mesh for large scale relative geometry motion Multiple overlapping meshes treated as single data-structure –Dynamic determination of active/inactive/ghost cells Advantages for parallel computing –Obviates dynamic load rebalancing required with mesh motion techniques –Intergrid communication must be dynamically recomputed and rebalanced Concept of Rendez-vous grid (Plimpton and Hendrickson)

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Overlapping Unstructured Meshes Simple 2D transient example

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Gradient-based Design Optimization Minimize Cost Function F with respect to design variables v, subject to constraint R(w) = 0 –F = drag, weight, cost –v = shape parameters –w = Flow variables –R(w) = 0  Governing Flow Equations Gradient Based Methods approach minimum along direction :

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Grid Related Issues for Gradient-based Design Parametrization of CAD surfaces Consistency across disciplines –eg. CFD, structures,… Surface grid motion Interior grid motion Grid sensitivities Automation / Parallelization

Preliminary Design Geometry X34 CAD Model 23,555 curves and surfaces c/o J. Samareh, NASA Langley

Launch Vehicle Shape Parameterization c/o J. Samareh, NASA Langley

Sensitivity Analysis Manual differentiation Automatic differentiation tools (e.g., ADIFOR and ADIC) Complex variables Finite-difference approximations analysis code field grid generator geometry modeler (CAD) surface grid generator v design variables (e.g., span, camber) objective function (e.g., Stress, C D ) c/o J. Samareh, NASA Langley

Finite-Difference Approximation Error for Sensitivity Derivatives Parameterized HSCT Model c/o J. Samareh, NASA Langley

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Grid Sensitivities Ideally should be available from grid/cad software –Analytical formulation most desirable –Burden on grid / CAD software –Discontinous operations present extra challenges Face-edge swapping Point addition / removal Mesh regeneration

High-Order Accurate Discretizations Uniform X2 refinement of 3D mesh: –Work increase = factor of 8 –2 nd order accurate method: accuracy increase = 4 –4 th order accurate method: accuracy increase = 16 For smooth solutions Potential for large efficiency gains –Spectral element methods –Discontinuous Galerkin (DG) –Streamwise Upwind Petrov Galerkin (SUPG)

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Higher-Order Accurate Discretizations Transfers burden from grid generation to Discretization

Spectral Element Solution of Maxwell’s Equations J. Hesthaven and T. Warburton (Brown University)

High-Order Discretizations Require more complete surface definition Curved surface elements –Additional element points –Surface definition (for high p)

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Combined H-P Refinement Adaptive meshing (h-ref) yields constant factor improvement –After error equidistribution, no further benefit Order refinement (p-ref) yields asymptotic improvement –Only for smooth functions –Ineffective for inadequate h-resolution of feature –Cannot treat shocks H-P refinement optimal (exponential convergence) –Requires accurate CAD surface representation

11th International Meshing Roundtable September 15-18,2002 Ithaca New York, USA Conclusions Unstructured mesh CFD has come of age –Combined advances in grid and solver technology –Inviscid flow analysis (isotropic grids) mature –Viscous flow analysis competitive Complex geometry handling facilitated Adaptive meshing potential not fully exploited Additional considerations in future –Design methodologies –New discretizations –New solution techniques –H-P Refinement