SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
Department of Mechanical Engineering, The University of British Columbia


 A Higher Order Accurate Unstructured Finite Volume
   Higher-Order                        Finite-Volume
Newton-Krylov Algorithm for Inviscid Compressible Flows

                            Amir Nejat

                    Knowledge Diffusion Network




        ١٣٨۶ ‫داﻧﺸﮑﺪﻩ ﻣﻬﻨﺪﺳﯽ هﻮاﻓﻀﺎ، داﻧﺸﮕﺎﻩ ﺻﻨﻌﺘﯽ ﺷﺮﻳﻒ، ٩٢ﻣﻬﺮﻣﺎﻩ‬
Aircraft Design & Fuel Efficiency




                  η : Fuel consumption per seat per mile
                  η 777 < η 767   15%


                  η 787 < η 777   20%
Design Process

                                    Mission Specification


                                        Initial Design
                  Experience


                                      Multi-Disciplinary
Multi-Physics Numerical
                                       Optimization
      PDE S l
           Solvers



                                      Optimized Design

Opening: Design Process CFD
CFD




   1-Mesh
   Complex Geometry
   Adaptation and Refinement
   2-Accuracy
   Discretization (Truncation) error
   Modeling error
   3-Convergence
   3C
   Stability
   Residual dropping order
   Time & Cost

Background: CFD CFD Algorithm
CFD - Overall Algorithm

                                                 Mesh generation package
  Geometry & Solution domain


 Physics & Fluid flow equations
                                                      Meshed domain
                                                                                  Residual
  Boundary & Initial conditions

                                         Discretization of the fluid flow equations
                                          & Flux Computation and Integration



          Implicit method
                                              L
                                              Large system of li
                                                       t    f linear equations
                                                                         ti
                              Jacobian matrix
                                                                                  Fluid flow
                                                         Sparse
                            Preconditioning
                                                      matrix solver
                                                                                  simulation
Background: CFD Algorithm Motivation
Motivation
                                                             ∂U      ∂U
                                                                Δx +    Δy + O( Δ )2
      Second-order methods: U 2 nd −order= U ( xc , yc ) +
                                                             ∂x      ∂y
                                ∂ 2U Δx 2 ∂ 2U        ∂ 2U Δy 2
      Truncation error: O( Δ ) = 2              ΔxΔy + 2
                                         +
                                  2

                                ∂x 2       ∂x∂y       ∂y 2
       The 2nd-order truncation error acts like a diffusive term and causes
       two significant numerical problems:
       1-It smears sharp gradients and spoils total pressure conservation (isentropic flows).
       2-It produces parasitic error by adding extra diffusion to viscous regions.


       Higher-order: More accurate simulation

      Existing research shows higher-order structured discretization technique for a
      given level of accuracy is more efficient.

      Higher-order:
      Higher order: Can be more efficient !?

Background: Motivation Literature Review
Literature Review

                Qualitative Illustration of Research on Solver Development

                         Structured   Structured-Implicit   Unstructured   Unstructured-Implicit

          Second-order
                         ♣♣♣♣♣♣♣♣♣           ♣♣♣♣             ♣♣♣♣♣♣                ♣♣♣

          Higher-order
                             ♣♣♣              ♣♣                 ♣                   ?




    Trend:
            1- Increasing the efficiency using convergence acceleration techniques
               such as implicit methods (Newton-Krylov).

            2- Enhancing the accuracy using higher-order discretization scheme.



Background: Literature Review Contribution
Objective


        • Developing an Efficient Higher-Order Accurate
         Unstructured Finite Volume Algorithm for Inviscid
                     Compressible Fluid Flow.




Objective: Contribution Model Problem
Model Problem
            The unsteady (2D) Euler equations which model compressible inviscid
            fluid flows, are conservation equations for mass, momentum, and energy.

            Aerodynamic application: lift, wave drag and induced drag



                                      d
                                         ∫ Udv + ∫ FdA = 0               (1)
                                      dt cv      cs


                                ⎡ρ⎤            ρun
                                         ⎡              ⎤
                                ⎢ ρu ⎥   ⎢ ρuu + Pn ⎥ˆx
                             U =⎢ ⎥ , F =⎢              ⎥
                                               n                         (2)
                                ⎢ ρv ⎥   ⎢ ρvun + Pn y ⎥
                                                    ˆ
                                ⎢⎥       ⎢              ⎥
                                           ( E + P )un ⎦
                                ⎣E⎦      ⎣


                       u n = un x + vn y , E = P /( γ − 1 ) + ρ (u 2 + v 2 ) / 2
                              ˆ      ˆ


Theory: Model Problem Implicit Time Advance
Implicit Time Advance
    Applying implicit time integration and linearization of the governing
    equations in time leads to implicit time advance formula:
                                                U n +1 − U n
                         dU
                                                             + R n +1 ) = 0
                             + R( U ) ) = 0 ⇒ (
                        (                                                     (3)
                                                     Δt
                          dt

                                                          ∂R n n+1
                                        n +1
                                               = Rn + (      ) (U −U n )
                                    R                                         (4)
                                                          ∂U

                                        ∂R
                               I
                                           )δU = − R , δU = U n+1 − U n
                                                              n
                                    +
                           (                                                  (5)
                               Δt       ∂U

                                                U: Solution Vector
                                                R: Residual Vector
                                               ∂R/∂U: Jacobian matrix

    Eq. 5 is a system of linear equations arising from discretization of
    governing equations over unstructured domain.


Theory: Implicit Time Advance Linear System Solver
Linear System Solver
    GMRES (Generalized Minimal Residual, Saad 1986)
     *GMRES algorithm, among other Krylov techniques, only needs matrix vector
           d t ( ti f
      products (matrix-free i limplementation).
                                        t ti )
     *It is developed for non-symmetric matrices.
     *It predicts the best solution update if the linearization is carried out accurately.



  To enhance the convergence performance of the GMRES solver, it is necessary to
  apply preconditioning:

                                             −1
                      Ax = b − > ( AM             ) Mx = b ,   A≈M
                      M = LU
                      M ≅ ILU ( n )


  M is an approximation to matrix A which has simpler structure.
  ILU: Incomplete Lower-Upper factorization
             p             pp

Technique: Linear System Solver Reconstruction
Reconstruction


     Defining the Kth-order polynomial for each control
•
     volume.
     Finding the polynomial coefficients using the averages of
•
     the neighboring control volumes.
•    This polynomial is constructed based on some constraints
     such as mean constraint.
                       t it
        h

                                   ∂U      ∂U
                                      Δx +    Δy +
               = U ( xc , yc ) +
         (K)
    UR
                                   ∂x      ∂y
    ∂ 2U Δx 2 ∂ 2U        ∂ 2U Δy 2
                    ΔxΔy + 2
             +                      +
    ∂x 2 2     ∂x∂y       ∂y 2
    ∂ 3U Δx 3 ∂ 3U Δx 2 Δy ∂ 3U ΔxΔy 2 ∂ 3U Δy 3
             +2           +           +3         + ...             ∫U R         ( x , y ) = U CV
                                                                          (K)
                                                             (6)                                   (7)
    ∂x 6      ∂x ∂y 2       ∂x∂y       ∂y 6
        3                        2
                                   2                               CV




      Technique: Reconstruction            Monotonicity
Monotonicity



                                         Limiting




                                         Limiting
                                                g




Technique: Monotonicity Higher-Order Limiter
Higher-Order Limiter




     PHi h -O d = Const + [(1 − σ)φ + σ][Linear part] + σ[Higher - Order part]
                  Const.                                                         (8)
      High Order

                        σ = [ 1 − tanh( ( φ0 − φ )S ) ] / 2, φ0 = 0.8, S = 20.   (9)

                                         φ < φ0 : σ → 0.0
                                         φ ≥ φ0 : σ = 1.0
Technique: Higher-Order Limiter Flux Evaluation
Flux Evaluation
 • Discretization scheme :
      Solution reconstruction: Kth-order accurate least-square
      reconstruction procedure (Ollivier-Gooch 1997)
            t ti          d    (Olli i G h 1997).
      Flux formulation: Roe’s flux difference splitting (1981).
                                     1                         1~
                   F (U L ,U R ) =     ( F (U L ) + F (U R )) − A         (U R − U L )   (10)
                                                               2 ( L, R )
                                     2
                                       ~ ~ ~~                  ~
                                                      ~
                                       A = X −1 Λ X , Λ = Diag λ


      Integration scheme : Gauss quadrature integration technique
 •
      with the proper number of p
               pp               points.

             ∫ F .nds
      Ri =                    (11)
             CVi




                          Gauss quadrature for interior control volumes.
Technique: Flux Evaluation 1st-Order Jacobian Matrix
1st-Order Jacobian Matrix




                                   ∑ F nds = ∑ F ( U ,U
                            Ri =       ˆ                                ˆ
                                                                     )( nl )i ,N k
                                           i               i    Nk                   (12)
                                   faces



                                                  ∂F ( U i ,U N k )
                                          ∂Ri
                           J ( i, Nk ) =        =                     ˆ
                                                                    ( nl )i ,N k     (13-1)
                                         ∂U N k       ∂U N k

                                                ∂F ( U i ,U N k )
                                        ∂Ri
                                             =∑
                           J ( i ,i ) =                             ˆ
                                                                  ( nl )i ,N k       (13-2)
                                        ∂U i         ∂U i


Technique: 1st-Order Jacobian Matrix Solution Strategy
Solution Strategy




Strategy: Solution Strategy Solution Procedure
Solution Procedure
       Start up Process :
   •
       Before switching to Newton-GMERS Iteration, several pre-implicit
       iterations have been performed in the form of defect correction, using
       Eq. (5).
                                                ∂R
                                            I
                                                   )δU = − R
                                              +
                                        (                                         (5)
                                            Δt ∂U
                  ∂R
                     (First Order)
                  ∂U
                  Resultant system is solved by GMRES - ILU(1) linear solver.

       Newton-GMRES (matrix-free) iteration :
   •
       At this stage, infinite time step is taken, and GMRES-ILU(4) is used to
                  g,                   p         ,              ()
       solve the linear system at each Newton iteration.

                                                           R( U + εv ) − R( U )
                                                   ∂R
               ∂R
                                                      .v ≅
                  )δU = − R                                                       (13)
           (                  (12)
                                                                   ε
                                                   ∂U
               ∂U
Procedure: Solution Procedure Results
Results
                    Supersonic Vortex, Annulus-Meshes
                      p              ,




                                              427 CVs               1703 CVs




       108 CV
           CVs




                                                6811 CVs            27389 CVs




Results: Supersonic Vortex Mach Contours Density Error Error Convergence Error versus CPU Time
Mach Contours-Supersonic Vortex, M=2.0
Density Error-Supersonic Vortex, M=2.0
Error Convergence-Supersonic Vortex, M=2.0
Density Error versus CPU Time / Supersonic Vortex,
                            M 2.0
                            M=2.0




Results: Error versus CPU Time Subsonic flow over NACA 0012 Airfoil Subsonic Convergence
Subsonic Flow over NACA 0012, M=0.63, AoA=2.0 deg.




4958CV                                                        2nd-Order




3rd-Order
    Order                                                     4th-Order
                                                                  Order
Convergence history-Subsonic Case




                 Order Resid. Eval.   Time (Sec)   Work Units Newton Itr. Newton Work Units

                  2nd       126         26.88        349.1         3         136.1-39%
                  3rd       147         36.03        248.5         4         141.2-57%
                  4th       247         90.54
                                        90 54        289.3
                                                     289 3         7         239.2-83%
                                                                             239 2-83%


Results: Subsonic Convergence Transonic flow over NACA 0012 Airfoil Transonic Convergence
Transonic Flow over NACA 0012, M=0.80, AoA=1.25 deg.




4958CV                                                   3rd-Order




φ Limiter                                                σ Limiter
Convergence history-Transonic Case




                 Order Resid. Eval.   Time (Sec)   Work Units Newton Itr. Newton Work Units

                  2nd       197          65.6         279          4           91-33%
                  3rd       241         106.7         281          5          119-42%
                  4th       450         311.4
                                        311 4         590         10          221-37%


Results: Transonic Convergence Transonic Mach Profile
Mach Profile-Transonic case




                              Order                   CL            CD

                               2nd                  0.337593      0.0220572

                               3rd                  0.339392      0.0222634

                               4th                  0.345111      0.0224720

                 AGARD / Structured (7488:192*39)    0.3474        0.0221


Results: Transonic Mach Profile Research Summary and Conclusion
Research Summary and Conclusion
•    An ILU preconditioned GMRES algorithm (matrix-free) has been used for
     efficient higher-order computation of solution of Euler equations.
•    A start-up procedure is implemented using defect correction pre-iterations
     before switching to Newton iterations.
•    As an over all performance assessment (including the start up phase) the third
                                                              start-up
     order solution is about 1.3 to 1.5 times, and the fourth order solution is about
     3.5-5 times, more expensive than the second order solution with the developed
     solver technology.
                     gy
•    A modified Venkatakrishnan Limiter was implemented to address the
     convergence hampering issue, and to improve the accuracy of the limited
     reconstruction.
      eco s uc o .
•    Using a good initial solution state, start up process and effective
     preconditioning are determining factors in Newton-GMRES solver
     performance
     performance.
•    The possibility of benefits of higher-order discretization has been shown.



    Closing: Research Summary and Conclusion   Recommended Future Work
Recommended Future Work

•   Improving the start-up procedure.


•   Applying a more accurate preconditioning.
     pp y g                  p             g


•   E h i the robustness of the reconstruction f di
    Enhancing th bt       f th        t ti for discontinuities (limiting).
                                                     ti iti (li iti )


•   Extension to 3D.


•   Extension to viscous flows.



Closing: Recommended Future Work End
End




Thank You for Your Attention

Weitere ähnliche Inhalte

Was ist angesagt?

Expert Lecture on GPS at UIET, CSJM, Kanpur
Expert Lecture on GPS at UIET, CSJM, KanpurExpert Lecture on GPS at UIET, CSJM, Kanpur
Expert Lecture on GPS at UIET, CSJM, Kanpur
Suddhasheel GHOSH, PhD
 
Lecture6
Lecture6Lecture6
Lecture6
voracle
 

Was ist angesagt? (17)

Vibrational Rotational Spectrum of HCl and DCl
Vibrational Rotational Spectrum of HCl and DClVibrational Rotational Spectrum of HCl and DCl
Vibrational Rotational Spectrum of HCl and DCl
 
Chapter 06
Chapter 06Chapter 06
Chapter 06
 
Cosmin Crucean: Perturbative QED on de Sitter Universe.
Cosmin Crucean: Perturbative QED on de Sitter Universe.Cosmin Crucean: Perturbative QED on de Sitter Universe.
Cosmin Crucean: Perturbative QED on de Sitter Universe.
 
Fdtd
FdtdFdtd
Fdtd
 
Slides euria-2
Slides euria-2Slides euria-2
Slides euria-2
 
2018 MUMS Fall Course - Mathematical surrogate and reduced-order models - Ral...
2018 MUMS Fall Course - Mathematical surrogate and reduced-order models - Ral...2018 MUMS Fall Course - Mathematical surrogate and reduced-order models - Ral...
2018 MUMS Fall Course - Mathematical surrogate and reduced-order models - Ral...
 
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
Low Complexity Regularization of Inverse Problems - Course #3 Proximal Splitt...
 
Signal Processing Course : Inverse Problems Regularization
Signal Processing Course : Inverse Problems RegularizationSignal Processing Course : Inverse Problems Regularization
Signal Processing Course : Inverse Problems Regularization
 
Paris2012 session1
Paris2012 session1Paris2012 session1
Paris2012 session1
 
Low Complexity Regularization of Inverse Problems - Course #1 Inverse Problems
Low Complexity Regularization of Inverse Problems - Course #1 Inverse ProblemsLow Complexity Regularization of Inverse Problems - Course #1 Inverse Problems
Low Complexity Regularization of Inverse Problems - Course #1 Inverse Problems
 
Signal Processing Course : Convex Optimization
Signal Processing Course : Convex OptimizationSignal Processing Course : Convex Optimization
Signal Processing Course : Convex Optimization
 
Slides euria-1
Slides euria-1Slides euria-1
Slides euria-1
 
Iceaa07 Foils
Iceaa07 FoilsIceaa07 Foils
Iceaa07 Foils
 
Automatic Bayesian method for Numerical Integration
Automatic Bayesian method for Numerical Integration Automatic Bayesian method for Numerical Integration
Automatic Bayesian method for Numerical Integration
 
Expert Lecture on GPS at UIET, CSJM, Kanpur
Expert Lecture on GPS at UIET, CSJM, KanpurExpert Lecture on GPS at UIET, CSJM, Kanpur
Expert Lecture on GPS at UIET, CSJM, Kanpur
 
Lecture6
Lecture6Lecture6
Lecture6
 
4 matched filters and ambiguity functions for radar signals-2
4 matched filters and ambiguity functions for radar signals-24 matched filters and ambiguity functions for radar signals-2
4 matched filters and ambiguity functions for radar signals-2
 

Ähnlich wie Dr. Amir Nejat

Molecular models, threads and you
Molecular models, threads and youMolecular models, threads and you
Molecular models, threads and you
Jiahao Chen
 
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
Alex (Oleksiy) Varfolomiyev
 
Munich07 Foils
Munich07 FoilsMunich07 Foils
Munich07 Foils
Antonini
 

Ähnlich wie Dr. Amir Nejat (20)

Molecular models, threads and you
Molecular models, threads and youMolecular models, threads and you
Molecular models, threads and you
 
Shuwang Li Moving Interface Modeling and Computation
Shuwang Li Moving Interface Modeling and ComputationShuwang Li Moving Interface Modeling and Computation
Shuwang Li Moving Interface Modeling and Computation
 
Further Advanced Methods from Mathematical Optimization
Further Advanced Methods from Mathematical OptimizationFurther Advanced Methods from Mathematical Optimization
Further Advanced Methods from Mathematical Optimization
 
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
A non-stiff numerical method for 3D interfacial flow of inviscid fluids.
 
My presentation at University of Nottingham "Fast low-rank methods for solvin...
My presentation at University of Nottingham "Fast low-rank methods for solvin...My presentation at University of Nottingham "Fast low-rank methods for solvin...
My presentation at University of Nottingham "Fast low-rank methods for solvin...
 
Regression Theory
Regression TheoryRegression Theory
Regression Theory
 
Fluids en
Fluids enFluids en
Fluids en
 
Conference ppt
Conference pptConference ppt
Conference ppt
 
Aerodynamic and Acoustic Parameters of a Coandã Flow – a Numerical Investigation
Aerodynamic and Acoustic Parameters of a Coandã Flow – a Numerical InvestigationAerodynamic and Acoustic Parameters of a Coandã Flow – a Numerical Investigation
Aerodynamic and Acoustic Parameters of a Coandã Flow – a Numerical Investigation
 
Power Market and Models Convergence ?
Power Market and Models Convergence ?Power Market and Models Convergence ?
Power Market and Models Convergence ?
 
Munich07 Foils
Munich07 FoilsMunich07 Foils
Munich07 Foils
 
Lecture 2: Stochastic Hydrology
Lecture 2: Stochastic Hydrology Lecture 2: Stochastic Hydrology
Lecture 2: Stochastic Hydrology
 
Data sparse approximation of the Karhunen-Loeve expansion
Data sparse approximation of the Karhunen-Loeve expansionData sparse approximation of the Karhunen-Loeve expansion
Data sparse approximation of the Karhunen-Loeve expansion
 
Optimization of Technological Process to Decrease Dimensions of Circuits XOR,...
Optimization of Technological Process to Decrease Dimensions of Circuits XOR,...Optimization of Technological Process to Decrease Dimensions of Circuits XOR,...
Optimization of Technological Process to Decrease Dimensions of Circuits XOR,...
 
On Approach to Increase Integration Rate of Elements of a Switched-capacitor ...
On Approach to Increase Integration Rate of Elements of a Switched-capacitor ...On Approach to Increase Integration Rate of Elements of a Switched-capacitor ...
On Approach to Increase Integration Rate of Elements of a Switched-capacitor ...
 
Prediction of Financial Processes
Prediction of Financial ProcessesPrediction of Financial Processes
Prediction of Financial Processes
 
Lecture 5: Stochastic Hydrology
Lecture 5: Stochastic Hydrology Lecture 5: Stochastic Hydrology
Lecture 5: Stochastic Hydrology
 
Smoothed Particle Galerkin Method Formulation.pdf
Smoothed Particle Galerkin Method Formulation.pdfSmoothed Particle Galerkin Method Formulation.pdf
Smoothed Particle Galerkin Method Formulation.pdf
 
Meteocast: a real time nowcasting system
Meteocast: a real time nowcasting systemMeteocast: a real time nowcasting system
Meteocast: a real time nowcasting system
 
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
 

Mehr von knowdiff

Mehdi Rezagholizadeh: Image Sensor Modeling: Color Measurement at Low Light L...
Mehdi Rezagholizadeh: Image Sensor Modeling: Color Measurement at Low Light L...Mehdi Rezagholizadeh: Image Sensor Modeling: Color Measurement at Low Light L...
Mehdi Rezagholizadeh: Image Sensor Modeling: Color Measurement at Low Light L...
knowdiff
 
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
knowdiff
 
Seyed Mehdi mohaghegh: Modelling material use within the low carbon energy pa...
Seyed Mehdi mohaghegh: Modelling material use within the low carbon energy pa...Seyed Mehdi mohaghegh: Modelling material use within the low carbon energy pa...
Seyed Mehdi mohaghegh: Modelling material use within the low carbon energy pa...
knowdiff
 

Mehr von knowdiff (17)

Ut talk feb 2017
Ut talk   feb 2017Ut talk   feb 2017
Ut talk feb 2017
 
Ali khalili: Towards an Open Linked Data-based Infrastructure for Studying Sc...
Ali khalili: Towards an Open Linked Data-based Infrastructure for Studying Sc...Ali khalili: Towards an Open Linked Data-based Infrastructure for Studying Sc...
Ali khalili: Towards an Open Linked Data-based Infrastructure for Studying Sc...
 
Scheduling for cloud systems with multi level data locality
Scheduling for cloud systems with multi level data localityScheduling for cloud systems with multi level data locality
Scheduling for cloud systems with multi level data locality
 
Amin Milani Fard: Directed Model Inference for Testing and Analysis of Web Ap...
Amin Milani Fard: Directed Model Inference for Testing and Analysis of Web Ap...Amin Milani Fard: Directed Model Inference for Testing and Analysis of Web Ap...
Amin Milani Fard: Directed Model Inference for Testing and Analysis of Web Ap...
 
Knowledge based economy and power of crowd sourcing
Knowledge based economy and power of crowd sourcing Knowledge based economy and power of crowd sourcing
Knowledge based economy and power of crowd sourcing
 
Amin tayyebi: Big Data and Land Use Change Science
Amin tayyebi: Big Data and Land Use Change ScienceAmin tayyebi: Big Data and Land Use Change Science
Amin tayyebi: Big Data and Land Use Change Science
 
Mehdi Rezagholizadeh: Image Sensor Modeling: Color Measurement at Low Light L...
Mehdi Rezagholizadeh: Image Sensor Modeling: Color Measurement at Low Light L...Mehdi Rezagholizadeh: Image Sensor Modeling: Color Measurement at Low Light L...
Mehdi Rezagholizadeh: Image Sensor Modeling: Color Measurement at Low Light L...
 
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time SystemsSara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
Sara Afshar: Scheduling and Resource Sharing in Multiprocessor Real-Time Systems
 
Seyed Mehdi mohaghegh: Modelling material use within the low carbon energy pa...
Seyed Mehdi mohaghegh: Modelling material use within the low carbon energy pa...Seyed Mehdi mohaghegh: Modelling material use within the low carbon energy pa...
Seyed Mehdi mohaghegh: Modelling material use within the low carbon energy pa...
 
Narjess Afzaly: Model Your Problem with Graphs and Generate your objects
Narjess Afzaly: Model Your Problem with Graphs and Generate your objectsNarjess Afzaly: Model Your Problem with Graphs and Generate your objects
Narjess Afzaly: Model Your Problem with Graphs and Generate your objects
 
Computational methods applications in air pollution modeling (Dr. Yadghar)
Computational methods applications in air pollution modeling (Dr. Yadghar)Computational methods applications in air pollution modeling (Dr. Yadghar)
Computational methods applications in air pollution modeling (Dr. Yadghar)
 
Somaz Kolahi : Functional Dependencies: Redundancy Analysis and Correcting Vi...
Somaz Kolahi : Functional Dependencies: Redundancy Analysis and Correcting Vi...Somaz Kolahi : Functional Dependencies: Redundancy Analysis and Correcting Vi...
Somaz Kolahi : Functional Dependencies: Redundancy Analysis and Correcting Vi...
 
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)
Uncalibrated Image-Based Robotic Visual Servoing (knowdiff.net)
 
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
Knowdiff visiting lecturer 140 (Azad Shademan): Uncalibrated Image-Based Robo...
 
Mehran Shaghaghi: Quantum Mechanics Dilemmas
Mehran Shaghaghi: Quantum Mechanics DilemmasMehran Shaghaghi: Quantum Mechanics Dilemmas
Mehran Shaghaghi: Quantum Mechanics Dilemmas
 
Hossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on GraphsHossein Taghavi : Codes on Graphs
Hossein Taghavi : Codes on Graphs
 
Alborz
AlborzAlborz
Alborz
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

Dr. Amir Nejat

  • 1. Department of Mechanical Engineering, The University of British Columbia A Higher Order Accurate Unstructured Finite Volume Higher-Order Finite-Volume Newton-Krylov Algorithm for Inviscid Compressible Flows Amir Nejat Knowledge Diffusion Network ١٣٨۶ ‫داﻧﺸﮑﺪﻩ ﻣﻬﻨﺪﺳﯽ هﻮاﻓﻀﺎ، داﻧﺸﮕﺎﻩ ﺻﻨﻌﺘﯽ ﺷﺮﻳﻒ، ٩٢ﻣﻬﺮﻣﺎﻩ‬
  • 2. Aircraft Design & Fuel Efficiency η : Fuel consumption per seat per mile η 777 < η 767 15% η 787 < η 777 20%
  • 3. Design Process Mission Specification Initial Design Experience Multi-Disciplinary Multi-Physics Numerical Optimization PDE S l Solvers Optimized Design Opening: Design Process CFD
  • 4. CFD 1-Mesh Complex Geometry Adaptation and Refinement 2-Accuracy Discretization (Truncation) error Modeling error 3-Convergence 3C Stability Residual dropping order Time & Cost Background: CFD CFD Algorithm
  • 5. CFD - Overall Algorithm Mesh generation package Geometry & Solution domain Physics & Fluid flow equations Meshed domain Residual Boundary & Initial conditions Discretization of the fluid flow equations & Flux Computation and Integration Implicit method L Large system of li t f linear equations ti Jacobian matrix Fluid flow Sparse Preconditioning matrix solver simulation Background: CFD Algorithm Motivation
  • 6. Motivation ∂U ∂U Δx + Δy + O( Δ )2 Second-order methods: U 2 nd −order= U ( xc , yc ) + ∂x ∂y ∂ 2U Δx 2 ∂ 2U ∂ 2U Δy 2 Truncation error: O( Δ ) = 2 ΔxΔy + 2 + 2 ∂x 2 ∂x∂y ∂y 2 The 2nd-order truncation error acts like a diffusive term and causes two significant numerical problems: 1-It smears sharp gradients and spoils total pressure conservation (isentropic flows). 2-It produces parasitic error by adding extra diffusion to viscous regions. Higher-order: More accurate simulation Existing research shows higher-order structured discretization technique for a given level of accuracy is more efficient. Higher-order: Higher order: Can be more efficient !? Background: Motivation Literature Review
  • 7. Literature Review Qualitative Illustration of Research on Solver Development Structured Structured-Implicit Unstructured Unstructured-Implicit Second-order ♣♣♣♣♣♣♣♣♣ ♣♣♣♣ ♣♣♣♣♣♣ ♣♣♣ Higher-order ♣♣♣ ♣♣ ♣ ? Trend: 1- Increasing the efficiency using convergence acceleration techniques such as implicit methods (Newton-Krylov). 2- Enhancing the accuracy using higher-order discretization scheme. Background: Literature Review Contribution
  • 8. Objective • Developing an Efficient Higher-Order Accurate Unstructured Finite Volume Algorithm for Inviscid Compressible Fluid Flow. Objective: Contribution Model Problem
  • 9. Model Problem The unsteady (2D) Euler equations which model compressible inviscid fluid flows, are conservation equations for mass, momentum, and energy. Aerodynamic application: lift, wave drag and induced drag d ∫ Udv + ∫ FdA = 0 (1) dt cv cs ⎡ρ⎤ ρun ⎡ ⎤ ⎢ ρu ⎥ ⎢ ρuu + Pn ⎥ˆx U =⎢ ⎥ , F =⎢ ⎥ n (2) ⎢ ρv ⎥ ⎢ ρvun + Pn y ⎥ ˆ ⎢⎥ ⎢ ⎥ ( E + P )un ⎦ ⎣E⎦ ⎣ u n = un x + vn y , E = P /( γ − 1 ) + ρ (u 2 + v 2 ) / 2 ˆ ˆ Theory: Model Problem Implicit Time Advance
  • 10. Implicit Time Advance Applying implicit time integration and linearization of the governing equations in time leads to implicit time advance formula: U n +1 − U n dU + R n +1 ) = 0 + R( U ) ) = 0 ⇒ ( ( (3) Δt dt ∂R n n+1 n +1 = Rn + ( ) (U −U n ) R (4) ∂U ∂R I )δU = − R , δU = U n+1 − U n n + ( (5) Δt ∂U U: Solution Vector R: Residual Vector ∂R/∂U: Jacobian matrix Eq. 5 is a system of linear equations arising from discretization of governing equations over unstructured domain. Theory: Implicit Time Advance Linear System Solver
  • 11. Linear System Solver GMRES (Generalized Minimal Residual, Saad 1986) *GMRES algorithm, among other Krylov techniques, only needs matrix vector d t ( ti f products (matrix-free i limplementation). t ti ) *It is developed for non-symmetric matrices. *It predicts the best solution update if the linearization is carried out accurately. To enhance the convergence performance of the GMRES solver, it is necessary to apply preconditioning: −1 Ax = b − > ( AM ) Mx = b , A≈M M = LU M ≅ ILU ( n ) M is an approximation to matrix A which has simpler structure. ILU: Incomplete Lower-Upper factorization p pp Technique: Linear System Solver Reconstruction
  • 12. Reconstruction Defining the Kth-order polynomial for each control • volume. Finding the polynomial coefficients using the averages of • the neighboring control volumes. • This polynomial is constructed based on some constraints such as mean constraint. t it h ∂U ∂U Δx + Δy + = U ( xc , yc ) + (K) UR ∂x ∂y ∂ 2U Δx 2 ∂ 2U ∂ 2U Δy 2 ΔxΔy + 2 + + ∂x 2 2 ∂x∂y ∂y 2 ∂ 3U Δx 3 ∂ 3U Δx 2 Δy ∂ 3U ΔxΔy 2 ∂ 3U Δy 3 +2 + +3 + ... ∫U R ( x , y ) = U CV (K) (6) (7) ∂x 6 ∂x ∂y 2 ∂x∂y ∂y 6 3 2 2 CV Technique: Reconstruction Monotonicity
  • 13. Monotonicity Limiting Limiting g Technique: Monotonicity Higher-Order Limiter
  • 14. Higher-Order Limiter PHi h -O d = Const + [(1 − σ)φ + σ][Linear part] + σ[Higher - Order part] Const. (8) High Order σ = [ 1 − tanh( ( φ0 − φ )S ) ] / 2, φ0 = 0.8, S = 20. (9) φ < φ0 : σ → 0.0 φ ≥ φ0 : σ = 1.0 Technique: Higher-Order Limiter Flux Evaluation
  • 15. Flux Evaluation • Discretization scheme : Solution reconstruction: Kth-order accurate least-square reconstruction procedure (Ollivier-Gooch 1997) t ti d (Olli i G h 1997). Flux formulation: Roe’s flux difference splitting (1981). 1 1~ F (U L ,U R ) = ( F (U L ) + F (U R )) − A (U R − U L ) (10) 2 ( L, R ) 2 ~ ~ ~~ ~ ~ A = X −1 Λ X , Λ = Diag λ Integration scheme : Gauss quadrature integration technique • with the proper number of p pp points. ∫ F .nds Ri = (11) CVi Gauss quadrature for interior control volumes. Technique: Flux Evaluation 1st-Order Jacobian Matrix
  • 16. 1st-Order Jacobian Matrix ∑ F nds = ∑ F ( U ,U Ri = ˆ ˆ )( nl )i ,N k i i Nk (12) faces ∂F ( U i ,U N k ) ∂Ri J ( i, Nk ) = = ˆ ( nl )i ,N k (13-1) ∂U N k ∂U N k ∂F ( U i ,U N k ) ∂Ri =∑ J ( i ,i ) = ˆ ( nl )i ,N k (13-2) ∂U i ∂U i Technique: 1st-Order Jacobian Matrix Solution Strategy
  • 17. Solution Strategy Strategy: Solution Strategy Solution Procedure
  • 18. Solution Procedure Start up Process : • Before switching to Newton-GMERS Iteration, several pre-implicit iterations have been performed in the form of defect correction, using Eq. (5). ∂R I )δU = − R + ( (5) Δt ∂U ∂R (First Order) ∂U Resultant system is solved by GMRES - ILU(1) linear solver. Newton-GMRES (matrix-free) iteration : • At this stage, infinite time step is taken, and GMRES-ILU(4) is used to g, p , () solve the linear system at each Newton iteration. R( U + εv ) − R( U ) ∂R ∂R .v ≅ )δU = − R (13) ( (12) ε ∂U ∂U Procedure: Solution Procedure Results
  • 19. Results Supersonic Vortex, Annulus-Meshes p , 427 CVs 1703 CVs 108 CV CVs 6811 CVs 27389 CVs Results: Supersonic Vortex Mach Contours Density Error Error Convergence Error versus CPU Time
  • 23. Density Error versus CPU Time / Supersonic Vortex, M 2.0 M=2.0 Results: Error versus CPU Time Subsonic flow over NACA 0012 Airfoil Subsonic Convergence
  • 24. Subsonic Flow over NACA 0012, M=0.63, AoA=2.0 deg. 4958CV 2nd-Order 3rd-Order Order 4th-Order Order
  • 25. Convergence history-Subsonic Case Order Resid. Eval. Time (Sec) Work Units Newton Itr. Newton Work Units 2nd 126 26.88 349.1 3 136.1-39% 3rd 147 36.03 248.5 4 141.2-57% 4th 247 90.54 90 54 289.3 289 3 7 239.2-83% 239 2-83% Results: Subsonic Convergence Transonic flow over NACA 0012 Airfoil Transonic Convergence
  • 26. Transonic Flow over NACA 0012, M=0.80, AoA=1.25 deg. 4958CV 3rd-Order φ Limiter σ Limiter
  • 27. Convergence history-Transonic Case Order Resid. Eval. Time (Sec) Work Units Newton Itr. Newton Work Units 2nd 197 65.6 279 4 91-33% 3rd 241 106.7 281 5 119-42% 4th 450 311.4 311 4 590 10 221-37% Results: Transonic Convergence Transonic Mach Profile
  • 28. Mach Profile-Transonic case Order CL CD 2nd 0.337593 0.0220572 3rd 0.339392 0.0222634 4th 0.345111 0.0224720 AGARD / Structured (7488:192*39) 0.3474 0.0221 Results: Transonic Mach Profile Research Summary and Conclusion
  • 29. Research Summary and Conclusion • An ILU preconditioned GMRES algorithm (matrix-free) has been used for efficient higher-order computation of solution of Euler equations. • A start-up procedure is implemented using defect correction pre-iterations before switching to Newton iterations. • As an over all performance assessment (including the start up phase) the third start-up order solution is about 1.3 to 1.5 times, and the fourth order solution is about 3.5-5 times, more expensive than the second order solution with the developed solver technology. gy • A modified Venkatakrishnan Limiter was implemented to address the convergence hampering issue, and to improve the accuracy of the limited reconstruction. eco s uc o . • Using a good initial solution state, start up process and effective preconditioning are determining factors in Newton-GMRES solver performance performance. • The possibility of benefits of higher-order discretization has been shown. Closing: Research Summary and Conclusion Recommended Future Work
  • 30. Recommended Future Work • Improving the start-up procedure. • Applying a more accurate preconditioning. pp y g p g • E h i the robustness of the reconstruction f di Enhancing th bt f th t ti for discontinuities (limiting). ti iti (li iti ) • Extension to 3D. • Extension to viscous flows. Closing: Recommended Future Work End
  • 31. End Thank You for Your Attention