July 11, 2006 Comparison of Exact and Approximate Adjoint for Aerodynamic Shape Optimization ICCFD 4 July 10-14, 2006, Ghent Giampietro Carpentieri and.

Slides:



Advertisements
Similar presentations
Yi Heng Second Order Differentiation Bommerholz – Summer School 2006.
Advertisements

Zhen Lu CPACT University of Newcastle MDC Technology Reduced Hessian Sequential Quadratic Programming(SQP)
Adjoint-based Unsteady Airfoil Design Optimization with Application to Dynamic Stall Karthik Mani Brian Lockwood Dimitri Mavriplis University of Wyoming.
MANE 4240 & CIVL 4240 Introduction to Finite Elements
A Discrete Adjoint-Based Approach for Optimization Problems on 3D Unstructured Meshes Dimitri J. Mavriplis Department of Mechanical Engineering University.
Engineering Optimization
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2013 – 12269: Continuous Solution for Boundary Value Problems.
Point-wise Discretization Errors in Boundary Element Method for Elasticity Problem Bart F. Zalewski Case Western Reserve University Robert L. Mullen Case.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2014 – 35148: Continuous Solution for Boundary Value Problems.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Slide 4b.1 Stiff Structures, Compliant Mechanisms, and MEMS: A short course offered at IISc, Bangalore, India. Aug.-Sep., G. K. Ananthasuresh Lecture.
Inexact SQP Methods for Equality Constrained Optimization Frank Edward Curtis Department of IE/MS, Northwestern University with Richard Byrd and Jorge.
By S Ziaei-Rad Mechanical Engineering Department, IUT.
SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
Engineering Optimization – Concepts and Applications Engineering Optimization Concepts and Applications Fred van Keulen Matthijs Langelaar CLA H21.1
Section 4: Implementation of Finite Element Analysis – Other Elements
Chapter 3 Steady-State Conduction Multiple Dimensions
Coupled Fluid-Structural Solver CFD incompressible flow solver has been coupled with a FEA code to analyze dynamic fluid-structure coupling phenomena CFD.
ECIV 720 A Advanced Structural Mechanics and Analysis
Numerical Optimization
Revision.
1/36 Gridless Method for Solving Moving Boundary Problems Wang Hong Department of Mathematical Information Technology University of Jyväskyklä
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
Theoretical & Industrial Design of Aerofoils P M V Subbarao Professor Mechanical Engineering Department An Objective Invention ……
Advanced Topics in Optimization
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
CSci 6971: Image Registration Lecture 5: Feature-Base Regisration January 27, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,
PETE 603 Lecture Session #29 Thursday, 7/29/ Iterative Solution Methods Older methods, such as PSOR, and LSOR require user supplied iteration.
Ch. 9: Direction Generation Method Based on Linearization Generalized Reduced Gradient Method Mohammad Farhan Habib NetLab, CS, UC Davis July 30, 2010.
A TWO-FLUID NUMERICAL MODEL OF THE LIMPET OWC CG Mingham, L Qian, DM Causon and DM Ingram Centre for Mathematical Modelling and Flow Analysis Manchester.
Applications of Adjoint Methods for Aerodynamic Shape Optimization Arron Melvin Adviser: Luigi Martinelli Princeton University FAA/NASA Joint University.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
1 Numerical Shape Optimisation in Blow Moulding Hans Groot.
Hybrid WENO-FD and RKDG Method for Hyperbolic Conservation Laws
Frank Edward Curtis Northwestern University Joint work with Richard Byrd and Jorge Nocedal February 12, 2007 Inexact Methods for PDE-Constrained Optimization.
Computing a posteriori covariance in variational DA I.Gejadze, F.-X. Le Dimet, V.Shutyaev.
Optimization in Engineering Design Georgia Institute of Technology Systems Realization Laboratory 101 Quasi-Newton Methods.
Aerodynamic Shape Optimization of Laminar Wings A. Hanifi 1,2, O. Amoignon 1 & J. Pralits 1 1 Swedish Defence Research Agency, FOI 2 Linné Flow Centre,
Airfoil Design. Available Approaches Optimization Methods Inverse Design Methods Ad Hoc “Cut and Try Methods”
1 Numerical Shape Optimisation in Blow Moulding Hans Groot.
Department of Mechanical Engineering
CFD Lab - Department of Engineering - University of Liverpool Ken Badcock & Mark Woodgate Department of Engineering University of Liverpool Liverpool L69.
Discontinuous Galerkin Methods Li, Yang FerienAkademie 2008.
Frank Edward Curtis Northwestern University Joint work with Richard Byrd and Jorge Nocedal January 31, 2007 Inexact Methods for PDE-Constrained Optimization.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
11/11/20151 Trusses. 11/11/20152 Element Formulation by Virtual Work u Use virtual work to derive element stiffness matrix based on assumed displacements.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Target Functional-based Adaptation > Daniel Vollmer > Folie 1 Target Functional-based Adaptation Daniel Vollmer TAU Grid Adaptation Workshop.
S ystems Analysis Laboratory Helsinki University of Technology Automated Solution of Realistic Near-Optimal Aircraft Trajectories Using Computational Optimal.
Silesian University of Technology in Gliwice Inverse approach for identification of the shrinkage gap thermal resistance in continuous casting of metals.
Parallel Solution of the Poisson Problem Using MPI
A comparison between PROC NLP and PROC OPTMODEL Optimization Algorithm Chin Hwa Tan December 3, 2008.
MECH4450 Introduction to Finite Element Methods Chapter 9 Advanced Topics II - Nonlinear Problems Error and Convergence.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 24.
CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Adjoint-Based Aerodynamic Shape Optimization on Unstructured Meshes
Derivative-Enhanced Variable Fidelity Kriging Approach Dept. of Mechanical Engineering, University of Wyoming, USA Wataru YAMAZAKI 23 rd, September, 2010.
MECH593 Introduction to Finite Element Methods
1 Development of a Numerical Optimisation Method for Blowing Glass Parison Shapes Hans Groot.
Numerical Analysis – Data Fitting Hanyang University Jong-Il Park.
X1X1 X2X2  Basic Kinematics Real Applications Simple Shear Trivial geometry Proscribed homogenous deformations Linear constitutive.
1 CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS FINITE ELEMENT ANALYSIS AND DESIGN Nam-Ho Kim.
Bounded Nonlinear Optimization to Fit a Model of Acoustic Foams
Boundary Element Analysis of Systems Using Interval Methods
Nodal Methods for Core Neutron Diffusion Calculations
Sahar Sargheini, Alberto Paganini, Ralf Hiptmair, Christian Hafner
High Accuracy Schemes for Inviscid Traffic Models
Computer Animation Algorithms and Techniques
Presentation transcript:

July 11, 2006 Comparison of Exact and Approximate Adjoint for Aerodynamic Shape Optimization ICCFD 4 July 10-14, 2006, Ghent Giampietro Carpentieri and Michel J.L. van Tooren Delft University of Technology Barry Koren Centre for Mathematics and Computer science, Amsterdam

July 11, 2006 Introduction Flow solver Adjoint solver Gradient computation Shape Optimization

July 11, 2006 Median-dual discretization Control volume for node i On each control volume/node  ( + BC) N nodes, semi-discrete form  Conserved variables vector Residual vector ( ) DUAL OF THE MESHMESH

July 11, 2006 MUSCL reconstruction on each edge Primitive variables reconstruction at edge mid-point: Least-squares or Green-Gauss gradient Numerical flux: Roe’s approximate Riemann solver 2 nd order accuracy: evaluate flux with reconstructed variables Venkatakrishnan’s limiter

July 11, 2006 Adjoint equations Shape parameter Functional ( e.g. lift,drag ) State of system ( e.g. residuals) Gradient/sensitivity computed as: : adjoint variables, obtained from adjoint equation:

July 11, 2006 Discrete Adjoint for MUSCL scheme Reconstructed left and right states Second order fluxes Three vectors of length E, the number of edges (N is number of nodes) Dummy matrix ( E x N ) Diagonal matrices, differentiated flux ( E x E ) Reconstruction matrices ( N x E ) Chain rule + transposition  Dependence residual vector on conservative variables: To compute consider:

July 11, 2006 At each time step linear system is solved iteratively : Time marching flow/adjoint equations Flow equations  Adjoint equations  Backward Euler scheme: Symmetric Gauss-Seidel preconditioner (Matrix-free) is used

July 11, 2006 Geometric sensitivities Mesh coordinates Mesh metrics Boundary deformations Limiter vector Gradient vector To compute consider: Coordinates depend on shape parameter: Residuals depend on coordinates: Each term is computed using source code generated by Automatic Differentiation tool Tapenade Chain rule 

July 11, 2006 Shape parameterization and mesh deformation Chebyschev polynomials used to parameterize shape of airfoil Mesh deformations computed with spring analogy solved by Jacobi iterations. Boundary deformation implies mesh update is stiffness of edge ij, inverse of edge length

July 11, 2006 Shape optimization Objective function, scaled drag coefficient Relative maximum thickness constraint Upper nose radius constraint Lower nose radius constraint Trailing edge angle constraint Lift equality constraint Minimize function with equality and inequality constraints and bounds on variables

July 11, 2006 Optimization Algorithms It is necessary to use constrained minimization techniques ! Unconstrained minimization techniques that treat constraints as penalty terms could be used. However, they are ill-conditioned and inaccurate. Two algorithms used in this work: Sequential Quadratic Programming (SQP) Search direction found by solving sub-problem with quadratic objective and linearized constraints. Line search is performed using Lagrangian function. Hessian of Lagrangian updated by BFGS (or other) formulas. Sequential Linear Programming (SLP) Method of centers is used. Hypersphere fitting into linearized design space found by solving Linear Programming sub-problem. Design updated by moving in the center of the sphere. No second order information is collected.

July 11, 2006 Exact and approximate Discrete Adjoint Edge-based assembly Exact Discrete Adjoint Approximations

July 11, 2006 Edge-based assembly Matrix-vector products with transposed residual Jacobians are assembled directly on edges similarly to the residuals assembly: Two loops on the edges

July 11, 2006 Differentiation of flux and reconstruction Roe’s flux Jacobian  Reconstruction matrix  Five matrices (M) come from differentiation of. Reconstruction contribution amounts to two transformation matrices and a diagonal matrix which contains limiter and gradient derivatives. EXACT ADJOINT !

July 11, 2006 Approximations Approximation 1  neglect differentiation of limiter Approximation 2  neglect differentiation of Roe matrix Differentiation of limiter is complicated due to construction phase (muldi-dimensional limiter) Differentiation of Roe matrix is very difficult, symbolic differentiation is used. For both approximations, compared to exact adjoint, a relative error of % in computed gradient is found.

July 11, 2006 Approximations Approximation 3  neglect reconstruction operator Ignoring reconstruction operator makes implementation of adjoint trivial. Only simple loop on edges is required. Error in computed gradient increases to 10-30%. Two loops on the edges One loop on the edges

July 11, 2006 Optimization test cases NACA64A410 (SQP) RAE2822 (SQP) NACA0012 (SLP)

July 11, 2006 NACA64A410  =0, Mach =0.75 Pressure contours Drag (scaled) vs gradient iterations Initial values Lift Relative max thickness Upper nose radius Lower nose radius Trailing edge angle

July 11, 2006 NACA64A410  =0, Mach =0.75 EXACT ( 19 gradients )APPROX 1 ( 17 gradients ) APPROX 2 ( 34 gradients )APPROX 3 ( stalled )

July 11, 2006 NACA64A410  =0, Mach =0.75 LiftThicknessNose U.Nose L.TE Angle EXACT -9.9x10 -6 < APPROX 1 4.6x10 -7 < APPROX 2 7.3x10 -6 < x Constraint values show that airfoils satisfy design problem accurately Lift constraint h = -9.9x10 -6 means that final Lift coefficient is: CL = (1 + h) CL 0 = ( x10 -6 ) CL 0 Thickness constraint is always critical

July 11, 2006 MESH 2 : nodesMESH 1 : nodes NACA64A410  =0, Mach =0.75 CHECK IF MESH 1 IS CAPABLE OF CAPTURING WEAK SHOCK Mach number distributions do not change on second mesh EXACT APPROX 1 APPROX 2

July 11, 2006 NACA64A410  =0, Mach =0.75 Mach number Three airfoils have differences in geometry of order 10 -3

July 11, 2006 RAE2822  =2, Mach =0.73 Lift Relative max thickness Upper nose radius Lower nose radius Trailing edge angle Pressure contoursDrag (scaled) vs gradient iterations Initial values

July 11, 2006 RAE2822  =2, Mach =0.73 EXACT ( 15 gradients )APPROX 1 ( 20 gradients ) APPROX 2 ( 10 gradients )APPROX 3 ( stalled)

July 11, 2006 RAE2822  =2, Mach =0.73 LiftThicknessNose U.Nose L.TE Angle EXACT -1.3x10 -6 < APPROX x10 -6 < x10 -8 APPROX x10 -7 < < Constraint values show that airfoils satisfy design problem accurately Thickness and trailing edge angle constraints are critical for the 3 airfoils

July 11, 2006 RAE2822  =2, Mach =0.73 Differences in geometry of order of 10 -3

July 11, 2006 NACA0012  =2, Mach =0.75 Lift Relative max thickness Upper nose radius Lower nose radius Trailing edge angle Pressure contours Drag (scaled) vs gradient iterations

July 11, 2006 NACA0012  =2, Mach =0.75 EXACT, APPROX 1, APPROX 2 APPROX 3 LiftThicknessNose U.Nose L.TE Angle EXACT -4.8x APPROX 1 1.5x APPROX 2 3.6x

July 11, 2006 NACA0012  =2, Mach =0.75 Differences in y-coordinates are of order only

July 11, 2006 Conclusions and future work Adjoint codes with approximation in the differentiation of fluxes and reconstruction operator, approximations 1 and 2, can be effective for shape optimization; When approximations are used, at least with SQP algorithm, the optimization can converge to different airfoils. The SLP algorithm has appeared to be insensitive to the approximations and converged to a unique airfoil; When the reconstruction operator is ignored, approximation 3, the adjoint code is not effective. The optimization with SQP and SLP algorithms stall and shock-waves are not removed completely from the airfoil.

July 11, 2006 Thank you for your interest