A practical discrete-adjoint method for high-fidelity compressible turbulence simulations

Methods and computing hardware advances have enabled accurate predictions of complex compressible turbulence phenomena, such as the generation of jet noise that motivates the present effort. However, limited understanding of underlying physical mechanisms restricts the utility of such predictions since they do not, by themselves, indicate a route to design improvements. Gradient-based optimization using adjoints can circumvent the flow complexity to guide designs, though this is predicated on the availability of a sufficiently accurate solution of the forward and adjoint systems. These are challenging to obtain, since both the chaotic character of the turbulence and the typical use of discretizations near their resolution limits in order to efficiently represent its smaller scales will amplify any approximation errors made in the adjoint formulation. Formulating a practical exact adjoint that avoids such errors is especially challenging if it is to be compatible with state-of-the-art simulation methods used for the turbulent flow itself. Automatic differentiation (AD) can provide code to calculate a nominally exact adjoint, but existing general-purpose AD codes are inefficient to the point of being prohibitive for large-scale turbulence simulations. Here, we analyze the compressible flow equations as discretized using the same high-order workhorse methods used for many high-fidelity compressible turbulence simulations, and formulate a practical space-time discrete-adjoint method without changing the basic discretization. A key step is the definition of a particular discrete analog of the continuous norm that defines our cost functional; our selection leads directly to an efficient Runge-Kutta-like scheme, though it would be just first-order accurate if used outside the adjoint formulation for time integration, with finite-difference spatial operators for the adjoint system. Its computational cost only modestly exceeds that of the flow equations. We confirm that its accuracy is limited by computing precision, and we demonstrate it on the aeroacoustic control of a mixing layer with a challengingly broad range of turbulence scales. For comparison, the error from a corresponding discretization of the continuous-adjoint equations is quantified to potentially explain its limited success in past efforts to control jet noise. The differences are illuminating: the continuous-adjoint is shown to suffer from exponential error growth in (reverse) time even for the best-resolved largest turbulence scales. Implications for jet noise reduction and turbulence control in general are discussed.

[1]  Jason E. Hicken,et al.  Dual consistency and functional accuracy: a finite-difference perspective , 2014, J. Comput. Phys..

[2]  Jonathan B. Freund,et al.  Adjoint-based optimization for understanding and suppressing jet noise , 2011 .

[3]  A. Jameson,et al.  A COMPARISON OF THE CONTINUOUS AND DISCRETE ADJOINT APPROACH TO AUTOMATIC AERODYNAMIC OPTIMIZATION , 2000 .

[4]  William H. Press,et al.  Numerical Recipes 3rd Edition: The Art of Scientific Computing , 2007 .

[5]  Qiqi Wang,et al.  Forward and adjoint sensitivity computation of chaotic dynamical systems , 2012, J. Comput. Phys..

[6]  Jonathan B. Freund,et al.  Compressibility effects in a turbulent annular mixing layer. Part 1. Turbulence and growth rate , 1997, Journal of Fluid Mechanics.

[7]  Sutanu Sarkar,et al.  A study of compressibility effects in the high-speed turbulent shear layer using direct simulation , 2002, Journal of Fluid Mechanics.

[8]  Jason E. Hicken,et al.  Superconvergent Functional Estimates from Summation-By-Parts Finite-Difference Discretizations , 2011, SIAM J. Sci. Comput..

[9]  Magnus Svärd,et al.  A stable high-order finite difference scheme for the compressible Navier-Stokes equations, far-field boundary conditions , 2007, J. Comput. Phys..

[10]  Boris Diskin,et al.  Discrete Adjoint-Based Design for Unsteady Turbulent Flows on Dynamic Overset Unstructured Grids , 2012 .

[11]  F. Thiele,et al.  Adjoint Approaches For Optimal Flow Control , 2010 .

[12]  J. Freund,et al.  A noise-controlled free shear flow , 2005, Journal of Fluid Mechanics.

[13]  J. Alonso,et al.  ADjoint: An Approach for the Rapid Development of Discrete Adjoint Solvers , 2006 .

[14]  E. Tziperman,et al.  Finite Difference of Adjoint or Adjoint of Finite Difference , 1997 .

[15]  Jason E. Hicken,et al.  Summation-by-parts operators and high-order quadrature , 2011, J. Comput. Appl. Math..

[16]  Jonathan B. Freund,et al.  The sound from mixing layers simulated with different ranges of turbulence scales , 2008 .

[17]  Sanjiva K. Lele,et al.  Compressibility Effects on Turbulence , 1994 .

[18]  Jonathan B. Freund,et al.  Adjoint-based Control of the Noise from a Turbulent Mixing Layer , 2006 .

[19]  Mingjun Wei Jet Noise Control by Adjoint-Based Optimization , 2004 .

[20]  T. Pulliam,et al.  A diagonal form of an implicit approximate-factorization algorithm , 1981 .

[21]  Luis Santos,et al.  Aerodynamic shape optimization using the adjoint method , 2007 .

[22]  Randall Ray Kleinman On the turbulence-generated sound and control of compressible mixing layers , 2010 .

[23]  Juan J. Alonso,et al.  A hybrid adjoint approach applied to turbulent flow simulations , 2013 .

[24]  M. Giles,et al.  Algorithm Developments for Discrete Adjoint Methods , 2003 .

[25]  Dimitri J. Mavriplis,et al.  Unsteady Discrete Adjoint Formulation for High-order Discontinuous Galerkin Discretizations in Time-dependent Flow Problems , 2010 .

[26]  Rolf Rannacher,et al.  A Feed-Back Approach to Error Control in Finite Element Methods: Basic Analysis and Examples , 1996 .

[27]  A. Jameson,et al.  STUDIES OF THE CONTINUOUS AND DISCRETE ADJOINT APPROACHES TO VISCOUS AUTOMATIC AERODYNAMIC SHAPE OPTIMIZATION , 2001 .

[28]  Meng Wang,et al.  COMPUTATIONAL PREDICTION OF FLOW-GENERATED SOUND , 2006 .

[29]  A. Griewank,et al.  Automatic differentiation of algorithms : theory, implementation, and application , 1994 .

[30]  Jonathan B. Freund,et al.  Adjoint-based control of loud events in a turbulent jet , 2014, Journal of Fluid Mechanics.

[31]  Joaquim R. R. A. Martins,et al.  High-Fidelity Aerostructural Design Optimization of a Supersonic Business Jet , 2002 .

[32]  Peter J. Schmid,et al.  Efficient evaluation of the direct and adjoint linearized dynamics from compressible flow solvers , 2012, J. Comput. Phys..

[33]  Stefan Ulbrich,et al.  A Discrete Adjoint Approach for the Optimization of Unsteady Turbulent Flows , 2013 .

[34]  Roger Temam,et al.  DNS-based predictive control of turbulence: an optimal benchmark for feedback algorithms , 2001, Journal of Fluid Mechanics.

[35]  Jacqueline H. Chen,et al.  Direct numerical simulation of turbulent combustion: fundamental insights towards predictive models , 2005 .

[36]  Parviz Moin,et al.  Numerical simulation of a Mach 1.92 turbulent jet and its sound field , 2000 .

[37]  W. Press,et al.  Numerical Recipes: The Art of Scientific Computing , 1987 .

[38]  Xiaolin Zhong,et al.  High-Order Finite-Difference Schemes for Numerical Simulation of Hypersonic Boundary-Layer Transition , 1998 .

[39]  J. Nordström,et al.  Summation by Parts Operators for Finite Difference Approximations of Second-Derivatives with Variable Coefficients , 2004, Journal of Scientific Computing.

[40]  Jan Nordström,et al.  Summation-by-parts in time , 2013, J. Comput. Phys..

[41]  Frank Thiele,et al.  A Discrete Adjoint Approach for Unsteady Optimal Flow Control , 2013 .

[42]  P. Luchini,et al.  Adjoint Equations in Stability Analysis , 2014, 2404.17304.

[43]  D. Hill,et al.  Adjoint systems and their role in the receptivity problem for boundary layers , 1995, Journal of Fluid Mechanics.

[44]  M. Allen,et al.  Sensitivity analysis of the climate of a chaotic system , 2000 .

[45]  A. Jameson,et al.  Aerodynamic shape optimization techniques based on control theory , 1998 .

[46]  B. Diskin,et al.  Adjoint-based Methodology for Time-Dependent Optimization , 2008 .

[47]  K. Duraisamy,et al.  Adjoint Based Techniques for Uncertainty Quantification in Turbulent Flows with Combustion , 2012 .

[48]  T. Colonius,et al.  Computational aeroacoustics: progress on nonlinear problems of sound generation , 2004 .

[49]  David W. Zingg,et al.  A General Framework for the Optimal Control of Unsteady Flows with Applications , 2007 .