1 / 59

Accurate numerical solution of Euler equations by optimal control of dissipation

Explore the use of optimal control to enhance accuracy and reduce numerical dissipation in solving Euler equations. Learn about the theory, results, and applications of this innovative approach.

dmoncrief
Download Presentation

Accurate numerical solution of Euler equations by optimal control of dissipation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Accurate numerical solution of Euler equations by optimal control of dissipation SM Deshpande EMU, JNCASR, Bangalore smd@jncasr.ac.in Omesh Reshi L & T, Mumbai N Anil Dept. of Aerospace Engg. IISc, Bangalore French-Indian workshop on “Numerical Simulation, Control and Design for Aeronautical and Space Applications”. INRIA, Sophia Antipolis, France, Nov 29-Dec 01, 2006.

  2. OUTLINE • Introduction to KFVS • Basic theory of m-KFVS • Numerical Results • Optimal control of dissipation • A numerical test case • Conclusions

  3. INTRODUCTION TO KFVS Consider the 1D Euler equations which are moments of the 1D Boltzmann equation in the Euler limit where F - Maxwellian velocity distribution function

  4. INTRODUCTION TO KFVS The Euler equations can be written as is the moment function vector The inner product is defined as

  5. INTRODUCTION TO KFVS Using CIR splitting, 1D Boltzmann equation gives Taking moments, we get KFVS Euler equations The split fluxes are given by

  6. INTRODUCTION TO KFVS Consider the CIR split Boltzmann equation Using suitable finite difference approximations The mpde analysis gives KFVS – first order accurate and dissipative !

  7. INTRODUCTION TO KFVS • Numerical dissipation can be reduced by using • higher order upwind schemes • In the case of 1D, second order scheme requires • 5 points in the stencil • Is it possible to develop a scheme which requires • only 3 point stencil but still gives results better • than first order and close to second order ?

  8. BASIC THEORY OF MKFVS MCIR Splitting The modified CIR splitting is defined as The mpde based on MCIR splitting is given by

  9. BASIC THEORY OF MKFVS … Taking moments we get mpde at Euler level The modified split fluxes are given by • By tuning we can control dissipation and • order of accuracy

  10. BASIC THEORY OF MKFVS … Mathematical models for : Consider the mpde When

  11. BASIC THEORY OF MKFVS … = Numerical kinematic viscosity When • Particles with contribute maximum to • Particles with contribute very little to

  12. BASIC THEORY OF MKFVS … The choice • Low velocity particles for which - Contribute very little to • High velocity particles for which - Contribute max. to

  13. BASIC THEORY OF MKFVS … Another choice • Low velocity particles for which - Contribute max. to • High velocity particles for which - Contribute very little to

  14. BASIC THEORY OF MKFVS … Consider the steady 1D Boltzmann equation with a BGK model for the collision term Using the the solution is given by Assuming to be constant over

  15. BASIC THEORY OF MKFVS … • The low velocity molecules are almost always lost • While high velocity molecules are lost negligibly, • i.e., they travel over without any collision • The choice is consistent with the earlier argument • but doesn’t have closed form expressions for the split fluxes • The second choice leads to much simpler formulae • for split fluxes

  16. BASIC THEORY OF MKFVS … For the modified split fluxes are given by • - full flux, - kfvs fluxes, non - dimensional parameter • mkfvs fluxes are simpler and similar to kfvs fluxes • Takes almost the same amount of time as kfvs fluxes • Smooth for all Mach number range • Continuous and differentible functions

  17. BASIC THEORY OF MKFVS … Dissipation Analysis : The mpde for 1D Euler equations based on mkfvs is given by The dissipation matrix is given by

  18. BASIC THEORY OF MKFVS … Dissipation Analysis : The numerical kinematic viscosity is given by • Here are the eigenvalues of the matrix D • For large values of the eigenvalues

  19. BASIC THEORY OF MKFVS … Max of the matrix D for increase in

  20. NUMERICAL RESULTS 1D inviscid test cases: • Convergent Divergent nozzle problem • Shock tube problem 2D inviscid test cases: • Subsonic flow past Williams airfoil • Transonic flow past NACA 0012 airfoil • Supersonic flow past NACA 0012 airfoil

  21. NUMERICAL RESULTS … Convergent – divergent nozzle

  22. NUMERICAL RESULTS … Convergent – divergent nozzle test case: • Governing equations are quasi-one-dimensional • Steady flow • Number of grid points : 60 • Computations are performed with

  23. NUMERICAL RESULTS … Non-dimensional pressure along the nozzle using Non-dimensional value along the nozzle using

  24. NUMERICAL RESULTS … Variation of density along the shock tube. No. of points = 500

  25. NUMERICAL RESULTS … Non-dimensional value along the shock tube

  26. NUMERICAL RESULTS … Variation of density for higher values of

  27. NUMERICAL RESULTS … Role of in numerical simulations: • Increase of enhances accuracy • has been used to suppress wiggles

  28. NUMERICAL RESULTS … Features of 2D cell centred FVM solver based on m-KFVS • m-KFVS fluxes for flux evaluation • modified kinetic wall and outer boundary conditions • Local time stepping • LUSGS for convergence acceleration

  29. NUMERICAL RESULTS … Subsonic flow past Williams airfoil M = 0.15 aoa = 0.0 Grid points = 50000

  30. NUMERICAL RESULTS … m-KFVS KFVS Entropy contours of m-KFVS method are compared with KFVS and q-KFVS q-KFVS

  31. NUMERICAL RESULTS … KFVS m-KFVS Pressure contours of m-KFVS method are compared with KFVS and q-KFVS q-KFVS

  32. NUMERICAL RESULTS … Cp – distribution: kfvs, m-kfvs and exact Flap Main airfoil

  33. NUMERICAL RESULTS … Transonic flow past NACA 0012 airfoil M = 0.85 aoa = 1.0 320x120 structured grid

  34. NUMERICAL RESULTS … KFVS m-KFVS Pressure contours of m-KFVS method are compared with KFVS and q-KFVS q-KFVS

  35. NUMERICAL RESULTS … Cp-Plot of m-KFVS are compared with KFVS and q-KFVS

  36. NUMERICAL RESULTS … Pressure distribution on unstructured grid Cp-Plot of m-KFVS are compared with KFVS and q-KFVS

  37. NUMERICAL RESULTS … Supersonic flow past NACA 0012 airfoil M = 1.2, aoa = 0.0 320x120 structured grid

  38. NUMERICAL RESULTS … m-KFVS KFVS Pressure contours of m-KFVS method are compared with KFVS and q-KFVS q-KFVS

  39. NUMERICAL RESULTS … Comments on m-KFVS: • It gives results as accurate as second • order accurate q-KFVS • It does not have spurious wiggles near • shock, which are present in q-KFVS

  40. OPTIMAL CONTROL OF DISSIPATION • Consider the 2D subsonic flow past NACA 0012 airfoil • Accurate capture of suction peak depends on numerical • entropy generated by the scheme • The low dissipative m-KFVS method captures the suction • peak more accurately compared to KFVS • Further, by optimal control of dissipation parameter , • we can get even better accuracy Optimisation Problem : Cost function = Sum of squares of entropy at cells

  41. OPTIMAL CONTROL OF DISSIPATION Discrete adjoint approach Minimise: The cost function I The discrete form of the cost function is given by where - Vector of conserved variables - Dissipation control variables vector - Number of cells in the computational domain

  42. OPTIMAL CONTROL OF DISSIPATION Subject to:The governing state equations Where are the fluxes along coordinate directions Few observations: • The cost function doesn’t explicitly depend on • It depends on through its dependence on solution • The number of design variables = N = Number of cells

  43. OPTIMAL CONTROL OF DISSIPATION The first variation in the cost function is given by The first variation in the state equation is given by

  44. OPTIMAL CONTROL OF DISSIPATION At any cell i the first variation is given by The above equation can be written in expanded notation

  45. OPTIMAL CONTROL OF DISSIPATION Introducing the vector of adjoint variables, and using the state equation as a constraint Collecting all the terms which are coefficients of and equating them to zero we get the adjoint euqtion for cell i where is the adjoint residual for the cell

  46. OPTIMAL CONTROL OF DISSIPATION Further expanding Introducing a pseudo time stepping We have used TAPENADE to compute the gradients

  47. OPTIMAL CONTROL OF DISSIPATION The adjoint variables are then substituted in the equation for cost function variation Again TAPENADE is used to compute the gradient

  48. OPTIMAL CONTROL OF DISSIPATION One of the early and simplest methods is steepest descent method in which Using the above method the cost function will decrease Now better methods are available. We have here used the above steepest descent method as a first step The values of can be updated using

  49. A NUMERICAL TEST CASE Comments on the m-KFVS-AD solver • Non-linear m-KFVS solver written in C++ • m-KFVS-AD solver written in FORTRAN 77 • TAPENADE is used to get the subroutines, • which are used to compute the gradients • in the AD solver

  50. A NUMERICAL TEST CASE Subsonic flow past NACA 0012 Airfoil • M = 0.63, aoa = 2.0o • Unstructured grid with 4733 points • Non-linear solver – 2D cell centred FVM • based on m-KFVS

More Related