SlideShare a Scribd company logo
Mathematical Theory and Modeling                                                              www.iiste.org
ISSN 2224-5804 (Paper)    ISSN 2225-0522 (Online)
Vol.2, No.3, 2012



   On the Solution of Incompressible Fluid Flow Equations: a
                       Comparative Study
                                     Kumar Dookhitram1* Roddy Lollchund2
    1.   Department of Applied Mathematical Sciences, School of Innovative Technologies and
         Engineering, University of Technology, Mauritius, La Tour Koenig, Pointe-aux-Sables, Republic
         of Mauritius
    2.   Department of Physics, Faculty of Science, University of Mauritius, Réduit, Republic of Mauritius
    * E-mail of the corresponding author: kdookhitram@umail.utm.ac.mu


Abstract
This paper studies and contrasts the performances of three iterative methods for computing the solution of
large sparse linear systems arising in the numerical computations of incompressible Navier-Stokes
equations. The emphasis is on the traditional Gauss-Seidel (GS) and Point Successive Over-relaxation
(PSOR) algorithms as well as Krylov projection techniques such as Generalized Minimal Residual
(GMRES). The performances of these three solvers for the second-order finite difference algebraic
equations are comparatively studied by their application to solve a benchmark problem in Computational
Fluid Dynamics (CFD). It is found that as the mesh size increases, GMRES gives the fastest convergence
rate in terms of cpu time and number of iterations.
Keywords: viscous flows, Navier-Stokes equations, linear system, iterative, GMRES


1. Introduction
Consider the system of viscous incompressible flows governed by the unsteady Navier-Stokes equations,
which are given (in non-dimensional form) as
                                                          ,                                                (1)


                                                                                                          (2)

Our notation is standard: u is the fluid velocity; p is the pressure; Re is the Reynolds number and f
represents a body force. The fluid is assumed to fill a two-dimensional square domain
                           with boundary               , where subscript D stands for Dirichlet. The flow is
specified by the no-slip condition           on , where       is the velocity on the boundary.
In this paper we study the well known Stokes lid-driven cavity problem, i.e., the flow of an incompressible
fluid within an enclosed square cavity driven by a sliding lid at constant speed (see Fig. 1). In our
experiment the vertical velocity v is set to zero everywhere, whereas the horizontal velocity component u is
set to unity on the lid, and is zero on the other boundaries. One interesting feature of this flow is that the
pressure is singular at the top corners, i.e., where the imposed velocity is discontinuous. This flow problem
has long served as a benchmark in the validation of two-dimensional numerical solution methods for
incompressible flows (Ferziger & Peric 2002). It is of great interest in the CFD community since it mimics
many aeronautical, environmental and industrial flows such the flow over structures in airfoils or the
cooling flow over electronic devices (Povitsky 2001).


2. Procedure
We discretize            with uniform and equal mesh sizes of dimension h and denote                       as

                                                      9
Mathematical Theory and Modeling                                                        www.iiste.org
ISSN 2224-5804 (Paper)        ISSN 2225-0522 (Online)
Vol.2, No.3, 2012
the number of grid points along x and y coordinates. Moreover, we use the index pair (i, j) to
represent the mesh point (xi, yj), with         and          for                . On such a uniform
mesh, the numerical solution of (1)-(2) with second-order central-difference discretization introduces
an explicit discretised Poisson-type equation for the pressure field with valid boundary conditions
(            ) as follows:

                                                                                                  ,         (3)

where      and      are intermediate velocity components obtained by a Hodge Decomposition of (1)-(2),
is the time step and the superscript           is the time level (Moreno & Ramaswamy 1997). Such type of
Pressure-Poisson equation (PPE) is obtained when a projection scheme such as SIMPLE, PISO or
Fractional Step Method is employed.
In literature, it has been reported that in finding a numerical solution for (1)-(2), the major computational
cost is spent in the calculation part which involves (3) (Patankar 1980; Johnston & Liu 2004,). In the
sequel, our aim is to compare the performances of some iterative methods to solve (3). Following the
conventional process, (3) can be written as the linear system
                                                                                                         (4)
where the coefficient matrix      is block tri-diagonal (Fig. 2). The elements of x consist of the pressure at
each point on the grid and b is obtained explicitly from the right hand side of (3).


3. Experiments
We compare the performances of three iterative methods to solve the linear system (4). The linear solvers
considered here are the Gauss-Seidel, Point Successive Over Relaxation and the Krylov projection
Generalized Minimal Residual (Saad & Schultz 1986) methods. The objective is to study their convergence
rate and cpu time.
The convergence criteria for determining steady state is based on the difference between two successive
iterates; whereby the procedure for finding the fluid velocity u is stopped when this difference, measured by
L1 norm is less than a prescribed tolerance (tol). The numerical experiments are performed for uniform
grids with           ,          ,         ,          and              points for                          .
Tables (1)-(3) show the number of iterations required (k) and the computational time (cpu) in seconds for
each solver to reach steady state.
It can be observed from these tables that the GMRES method is more efficient than the GS and PSOR
methods. For low Reynolds number (100 and 400), when the mesh size is above                         , the PSOR
method is about 1.2 times faster than the GS method, while the GMRES method is more than 2.5 times
faster than the PSOR method. For higher Reynolds number (1000), the GS and PSOR methods are
comparable in terms of computational time required to reach steady state. However, GMRES gains over GS
and PSOR by more than 1.3 times as from the                  grids. It is interesting to note that for all cases
studied, the speed-up of GMRES for the fine mesh is much more efficient than for the coarse mesh.
Fig. 3 displays the velocity vector and pressure fields of the lid-driven cavity flow at                calculated
on a             grid. It can be observed that the moving lid creates a strong vortex and a sequence of
weaker vortices in the lower two corners of the cavity.

4. Conclusions
In this paper, we demonstrated that for the numerical solution of incompressible flows, the use of GMRES
for solving the linear PPE is much more efficient than the traditional GS and PSOR schemes. In practice,
one always uses a fine mesh to obtain a better accuracy of the required solution. Following the conventional
process, we observed that for large grid size GMRES converges faster than other methods. Moreover, the
use of GMRES provides very accurate numerical results by using very little cpu time and virtual storage.



                                                      10
Mathematical Theory and Modeling                                                           www.iiste.org
ISSN 2224-5804 (Paper)    ISSN 2225-0522 (Online)
Vol.2, No.3, 2012
References
Ferziger J. H. & Peric M. (2002), Computational methods for fluid dynamics, 3rd edn, Springer.
Johnston H. & Liu J. (2004), “Accurate, stable and efficient Navier-Stokes solvers based on explicit
treatmentof the pressure term”, Journal of Computational Physics 199, 221–259.
Moreno R. & Ramaswamy B. (1997), “Numerical study of three-dimensional incompressible thermal flows
in complex geometries. Part I: theory and benchmark solutions”, International Journal for Numerical
Methods for Heat and Fluid Flow 7(4), 297–343.
Patankar S. V. (1980), Numerical heat transfer and fluid flow, Taylor and Francis.
Povitsky A. (2001), “Three-dimensional flow in cavity at Yaw”, ICASE Report 2001-31.
Saad Y. & Schultz M. H. (1986), “GMRES: A generalised minimal residual algorithm for solving
nonsymmetric linear systems”, SIAM J. Sci. Stat. Comput. 7, 856–869.




                Figure 1. Geometry of the lid-driven cavity problem in the domain




                                                    11
Mathematical Theory and Modeling                                                      www.iiste.org
ISSN 2224-5804 (Paper)    ISSN 2225-0522 (Online)
Vol.2, No.3, 2012




                     Figure 2. The coefficient matrix   of the linear system (4)




           Figure 3. Flow and pressure fields at           calculated on a         grid




                                                   12
Mathematical Theory and Modeling                                                             www.iiste.org
ISSN 2224-5804 (Paper)    ISSN 2225-0522 (Online)
Vol.2, No.3, 2012
     Table 1. Performance of three iterative methods for PPE equation (Re = 100, tol = 10-6)


   Grids                     GS                            PSOR                           GMRES
                      k             cpu              k              cpu              k               cpu
                    310              5.5            317             5.0             310               9.5


                    433             20.4            444             17.7            434              19.4


                    562             57.5            574             49.6            562              38.4


                    1023           420.3           1032            362.7           1025              173.1


                    1862           1946.7          1869           1687.6           1863              557.6




           Table 2. Performance of three iterative methods for PPE equation (Re = 400, tol = 10-6)


   Grids                     GS                            PSOR                           GMRES
                      k             cpu              k              cpu              k               Cpu
                    733              8.6            727             7.7             723              21.5


                    1011            31.9           1004             28.1           1003              42.2


                    1305            91.6           1300             81.6           1305              80.2


                    2065           617.9           2048            545.5           2046              306.3


                    2794           2375.5          2788           2117.8           2790              771.4




                                                     13
Mathematical Theory and Modeling                                                           www.iiste.org
ISSN 2224-5804 (Paper)    ISSN 2225-0522 (Online)
Vol.2, No.3, 2012
    Table 3. Performance of three iterative methods for PPE equation (Re = 1000, tol = 10-6)


   Grids                  GS                            PSOR                            GMRES
                   k              cpu              k              cpu             k              Cpu
                 1249             13.0           1270            11.9            1247            37.5


                 1712             44.4           1705            40.8            1705            72.2


                 2245            118.0           2280            110.9           2231           133.0


                 3701            721.0           3640           679.9            3643           503.1


                 5327           2819.9           5231           2748.5           5225           1323.6




                                                  14

More Related Content

What's hot

2007 santiago marchi_cobem_2007
2007 santiago marchi_cobem_20072007 santiago marchi_cobem_2007
2007 santiago marchi_cobem_2007
CosmoSantiago
 
Artificial neural network ann prediction of one-dimensional consolidation
Artificial neural network  ann  prediction of one-dimensional consolidationArtificial neural network  ann  prediction of one-dimensional consolidation
Artificial neural network ann prediction of one-dimensional consolidation
IAEME Publication
 
Dealinggreensfncsolft sqrd(10 5-2k16)
Dealinggreensfncsolft   sqrd(10 5-2k16)Dealinggreensfncsolft   sqrd(10 5-2k16)
Dealinggreensfncsolft sqrd(10 5-2k16)
foxtrot jp R
 
Sweeping discussions on dirac field1 update3 sqrd
Sweeping discussions on dirac field1 update3   sqrdSweeping discussions on dirac field1 update3   sqrd
Sweeping discussions on dirac field1 update3 sqrd
foxtrot jp R
 
Mathematical modelling and analysis of three dimensional darcy
Mathematical modelling and analysis of three dimensional darcyMathematical modelling and analysis of three dimensional darcy
Mathematical modelling and analysis of three dimensional darcy
IAEME Publication
 

What's hot (19)

EXACT SOLUTIONS OF A FAMILY OF HIGHER-DIMENSIONAL SPACE-TIME FRACTIONAL KDV-T...
EXACT SOLUTIONS OF A FAMILY OF HIGHER-DIMENSIONAL SPACE-TIME FRACTIONAL KDV-T...EXACT SOLUTIONS OF A FAMILY OF HIGHER-DIMENSIONAL SPACE-TIME FRACTIONAL KDV-T...
EXACT SOLUTIONS OF A FAMILY OF HIGHER-DIMENSIONAL SPACE-TIME FRACTIONAL KDV-T...
 
On prognozisys of manufacturing doublebase
On prognozisys of manufacturing doublebaseOn prognozisys of manufacturing doublebase
On prognozisys of manufacturing doublebase
 
2007 santiago marchi_cobem_2007
2007 santiago marchi_cobem_20072007 santiago marchi_cobem_2007
2007 santiago marchi_cobem_2007
 
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 ...
 
Optimal Design of Hysteretic Dampers Connecting 2-MDOF Adjacent Structures fo...
Optimal Design of Hysteretic Dampers Connecting 2-MDOF Adjacent Structures fo...Optimal Design of Hysteretic Dampers Connecting 2-MDOF Adjacent Structures fo...
Optimal Design of Hysteretic Dampers Connecting 2-MDOF Adjacent Structures fo...
 
Artificial neural network ann prediction of one-dimensional consolidation
Artificial neural network  ann  prediction of one-dimensional consolidationArtificial neural network  ann  prediction of one-dimensional consolidation
Artificial neural network ann prediction of one-dimensional consolidation
 
Fast Algorithm for Computing the Discrete Hartley Transform of Type-II
Fast Algorithm for Computing the Discrete Hartley Transform of Type-IIFast Algorithm for Computing the Discrete Hartley Transform of Type-II
Fast Algorithm for Computing the Discrete Hartley Transform of Type-II
 
Modeling of manufacturing of a field effect transistor to determine condition...
Modeling of manufacturing of a field effect transistor to determine condition...Modeling of manufacturing of a field effect transistor to determine condition...
Modeling of manufacturing of a field effect transistor to determine condition...
 
Radiation effects on heat and mass transfer of a mhd
Radiation effects on heat and mass transfer of a mhdRadiation effects on heat and mass transfer of a mhd
Radiation effects on heat and mass transfer of a mhd
 
The inverse scattering series for tasks associated with primaries: direct non...
The inverse scattering series for tasks associated with primaries: direct non...The inverse scattering series for tasks associated with primaries: direct non...
The inverse scattering series for tasks associated with primaries: direct non...
 
Dealinggreensfncsolft sqrd(10 5-2k16)
Dealinggreensfncsolft   sqrd(10 5-2k16)Dealinggreensfncsolft   sqrd(10 5-2k16)
Dealinggreensfncsolft sqrd(10 5-2k16)
 
Numerical simulation of marangoni driven boundary layer flow over a flat plat...
Numerical simulation of marangoni driven boundary layer flow over a flat plat...Numerical simulation of marangoni driven boundary layer flow over a flat plat...
Numerical simulation of marangoni driven boundary layer flow over a flat plat...
 
Sweeping discussions on dirac field1 update3 sqrd
Sweeping discussions on dirac field1 update3   sqrdSweeping discussions on dirac field1 update3   sqrd
Sweeping discussions on dirac field1 update3 sqrd
 
Mathematical modelling and analysis of three dimensional darcy
Mathematical modelling and analysis of three dimensional darcyMathematical modelling and analysis of three dimensional darcy
Mathematical modelling and analysis of three dimensional darcy
 
Dealinggreensfncsolft sqrdb
Dealinggreensfncsolft sqrdbDealinggreensfncsolft sqrdb
Dealinggreensfncsolft sqrdb
 
An Efficient Algorithm for Contact Angle Estimation in Molecular Dynamics Sim...
An Efficient Algorithm for Contact Angle Estimation in Molecular Dynamics Sim...An Efficient Algorithm for Contact Angle Estimation in Molecular Dynamics Sim...
An Efficient Algorithm for Contact Angle Estimation in Molecular Dynamics Sim...
 
Numerical study of natural convection in an enclosed square cavity using cons...
Numerical study of natural convection in an enclosed square cavity using cons...Numerical study of natural convection in an enclosed square cavity using cons...
Numerical study of natural convection in an enclosed square cavity using cons...
 
Nonlinear Viscoelastic Analysis of Laminated Composite Plates – A Multi Scale...
Nonlinear Viscoelastic Analysis of Laminated Composite Plates – A Multi Scale...Nonlinear Viscoelastic Analysis of Laminated Composite Plates – A Multi Scale...
Nonlinear Viscoelastic Analysis of Laminated Composite Plates – A Multi Scale...
 
My PhD on 4 pages
My PhD on 4 pagesMy PhD on 4 pages
My PhD on 4 pages
 

Similar to On the solution of incompressible fluid flow equations

2011 santiago marchi_souza_araki_cobem_2011
2011 santiago marchi_souza_araki_cobem_20112011 santiago marchi_souza_araki_cobem_2011
2011 santiago marchi_souza_araki_cobem_2011
CosmoSantiago
 
Dg3211151122
Dg3211151122Dg3211151122
Dg3211151122
IJMER
 
Choice of Numerical Integration Method for Wind Time History Analysis of Tall...
Choice of Numerical Integration Method for Wind Time History Analysis of Tall...Choice of Numerical Integration Method for Wind Time History Analysis of Tall...
Choice of Numerical Integration Method for Wind Time History Analysis of Tall...
inventy
 

Similar to On the solution of incompressible fluid flow equations (20)

CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion FlowsCFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows
 
CFD simulation of Lid driven cavity flow
CFD simulation of Lid driven cavity flowCFD simulation of Lid driven cavity flow
CFD simulation of Lid driven cavity flow
 
2011 santiago marchi_souza_araki_cobem_2011
2011 santiago marchi_souza_araki_cobem_20112011 santiago marchi_souza_araki_cobem_2011
2011 santiago marchi_souza_araki_cobem_2011
 
Asme2009 82287 - Porous Media - Forced Convection Flow
Asme2009 82287 - Porous Media - Forced Convection FlowAsme2009 82287 - Porous Media - Forced Convection Flow
Asme2009 82287 - Porous Media - Forced Convection Flow
 
Numerical study on free-surface flow
Numerical study on free-surface flowNumerical study on free-surface flow
Numerical study on free-surface flow
 
Analysis of convection diffusion problems at various peclet numbers using fin...
Analysis of convection diffusion problems at various peclet numbers using fin...Analysis of convection diffusion problems at various peclet numbers using fin...
Analysis of convection diffusion problems at various peclet numbers using fin...
 
Effect of couple stress fluid on mhd peristaltic motion and
Effect of couple stress fluid on mhd peristaltic motion andEffect of couple stress fluid on mhd peristaltic motion and
Effect of couple stress fluid on mhd peristaltic motion and
 
Numerical simulaton of axial flow fan using gambit and
Numerical simulaton of axial flow fan using gambit andNumerical simulaton of axial flow fan using gambit and
Numerical simulaton of axial flow fan using gambit and
 
The effect of magnetic field on the boundary layer flow over a stretching she...
The effect of magnetic field on the boundary layer flow over a stretching she...The effect of magnetic field on the boundary layer flow over a stretching she...
The effect of magnetic field on the boundary layer flow over a stretching she...
 
Numerical simulation on laminar convection flow and heat transfer over an iso...
Numerical simulation on laminar convection flow and heat transfer over an iso...Numerical simulation on laminar convection flow and heat transfer over an iso...
Numerical simulation on laminar convection flow and heat transfer over an iso...
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
FITTED OPERATOR FINITE DIFFERENCE METHOD FOR SINGULARLY PERTURBED PARABOLIC C...
 
Numerical simulation on laminar convection flow and heat transfer over a non ...
Numerical simulation on laminar convection flow and heat transfer over a non ...Numerical simulation on laminar convection flow and heat transfer over a non ...
Numerical simulation on laminar convection flow and heat transfer over a non ...
 
Dg3211151122
Dg3211151122Dg3211151122
Dg3211151122
 
Application of DRP scheme solving for rotating disk-driven cavity
Application of DRP scheme solving for rotating disk-driven cavityApplication of DRP scheme solving for rotating disk-driven cavity
Application of DRP scheme solving for rotating disk-driven cavity
 
Choice of Numerical Integration Method for Wind Time History Analysis of Tall...
Choice of Numerical Integration Method for Wind Time History Analysis of Tall...Choice of Numerical Integration Method for Wind Time History Analysis of Tall...
Choice of Numerical Integration Method for Wind Time History Analysis of Tall...
 
Flow Inside a Pipe with Fluent Modelling
Flow Inside a Pipe with Fluent Modelling Flow Inside a Pipe with Fluent Modelling
Flow Inside a Pipe with Fluent Modelling
 
Analysis of mhd non darcian boundary layer flow and heat transfer over an exp...
Analysis of mhd non darcian boundary layer flow and heat transfer over an exp...Analysis of mhd non darcian boundary layer flow and heat transfer over an exp...
Analysis of mhd non darcian boundary layer flow and heat transfer over an exp...
 
Re_Equation.pdf
Re_Equation.pdfRe_Equation.pdf
Re_Equation.pdf
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
 

More from Alexander Decker

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...
Alexander Decker
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websites
Alexander Decker
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banks
Alexander Decker
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized d
Alexander Decker
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistance
Alexander Decker
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifham
Alexander Decker
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibia
Alexander Decker
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school children
Alexander Decker
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banks
Alexander Decker
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget for
Alexander Decker
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjab
Alexander Decker
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...
Alexander Decker
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incremental
Alexander Decker
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniques
Alexander Decker
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo db
Alexander Decker
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloud
Alexander Decker
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveraged
Alexander Decker
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenya
Alexander Decker
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health of
Alexander Decker
 

More from Alexander Decker (20)

Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...Abnormalities of hormones and inflammatory cytokines in women affected with p...
Abnormalities of hormones and inflammatory cytokines in women affected with p...
 
A validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale inA validation of the adverse childhood experiences scale in
A validation of the adverse childhood experiences scale in
 
A usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websitesA usability evaluation framework for b2 c e commerce websites
A usability evaluation framework for b2 c e commerce websites
 
A universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banksA universal model for managing the marketing executives in nigerian banks
A universal model for managing the marketing executives in nigerian banks
 
A unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized dA unique common fixed point theorems in generalized d
A unique common fixed point theorems in generalized d
 
A trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistanceA trends of salmonella and antibiotic resistance
A trends of salmonella and antibiotic resistance
 
A transformational generative approach towards understanding al-istifham
A transformational  generative approach towards understanding al-istifhamA transformational  generative approach towards understanding al-istifham
A transformational generative approach towards understanding al-istifham
 
A time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibiaA time series analysis of the determinants of savings in namibia
A time series analysis of the determinants of savings in namibia
 
A therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school childrenA therapy for physical and mental fitness of school children
A therapy for physical and mental fitness of school children
 
A theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banksA theory of efficiency for managing the marketing executives in nigerian banks
A theory of efficiency for managing the marketing executives in nigerian banks
 
A systematic evaluation of link budget for
A systematic evaluation of link budget forA systematic evaluation of link budget for
A systematic evaluation of link budget for
 
A synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjabA synthetic review of contraceptive supplies in punjab
A synthetic review of contraceptive supplies in punjab
 
A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...A synthesis of taylor’s and fayol’s management approaches for managing market...
A synthesis of taylor’s and fayol’s management approaches for managing market...
 
A survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incrementalA survey paper on sequence pattern mining with incremental
A survey paper on sequence pattern mining with incremental
 
A survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniquesA survey on live virtual machine migrations and its techniques
A survey on live virtual machine migrations and its techniques
 
A survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo dbA survey on data mining and analysis in hadoop and mongo db
A survey on data mining and analysis in hadoop and mongo db
 
A survey on challenges to the media cloud
A survey on challenges to the media cloudA survey on challenges to the media cloud
A survey on challenges to the media cloud
 
A survey of provenance leveraged
A survey of provenance leveragedA survey of provenance leveraged
A survey of provenance leveraged
 
A survey of private equity investments in kenya
A survey of private equity investments in kenyaA survey of private equity investments in kenya
A survey of private equity investments in kenya
 
A study to measures the financial health of
A study to measures the financial health ofA study to measures the financial health of
A study to measures the financial health of
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 

On the solution of incompressible fluid flow equations

  • 1. Mathematical Theory and Modeling www.iiste.org ISSN 2224-5804 (Paper) ISSN 2225-0522 (Online) Vol.2, No.3, 2012 On the Solution of Incompressible Fluid Flow Equations: a Comparative Study Kumar Dookhitram1* Roddy Lollchund2 1. Department of Applied Mathematical Sciences, School of Innovative Technologies and Engineering, University of Technology, Mauritius, La Tour Koenig, Pointe-aux-Sables, Republic of Mauritius 2. Department of Physics, Faculty of Science, University of Mauritius, Réduit, Republic of Mauritius * E-mail of the corresponding author: kdookhitram@umail.utm.ac.mu Abstract This paper studies and contrasts the performances of three iterative methods for computing the solution of large sparse linear systems arising in the numerical computations of incompressible Navier-Stokes equations. The emphasis is on the traditional Gauss-Seidel (GS) and Point Successive Over-relaxation (PSOR) algorithms as well as Krylov projection techniques such as Generalized Minimal Residual (GMRES). The performances of these three solvers for the second-order finite difference algebraic equations are comparatively studied by their application to solve a benchmark problem in Computational Fluid Dynamics (CFD). It is found that as the mesh size increases, GMRES gives the fastest convergence rate in terms of cpu time and number of iterations. Keywords: viscous flows, Navier-Stokes equations, linear system, iterative, GMRES 1. Introduction Consider the system of viscous incompressible flows governed by the unsteady Navier-Stokes equations, which are given (in non-dimensional form) as , (1) (2) Our notation is standard: u is the fluid velocity; p is the pressure; Re is the Reynolds number and f represents a body force. The fluid is assumed to fill a two-dimensional square domain with boundary , where subscript D stands for Dirichlet. The flow is specified by the no-slip condition on , where is the velocity on the boundary. In this paper we study the well known Stokes lid-driven cavity problem, i.e., the flow of an incompressible fluid within an enclosed square cavity driven by a sliding lid at constant speed (see Fig. 1). In our experiment the vertical velocity v is set to zero everywhere, whereas the horizontal velocity component u is set to unity on the lid, and is zero on the other boundaries. One interesting feature of this flow is that the pressure is singular at the top corners, i.e., where the imposed velocity is discontinuous. This flow problem has long served as a benchmark in the validation of two-dimensional numerical solution methods for incompressible flows (Ferziger & Peric 2002). It is of great interest in the CFD community since it mimics many aeronautical, environmental and industrial flows such the flow over structures in airfoils or the cooling flow over electronic devices (Povitsky 2001). 2. Procedure We discretize with uniform and equal mesh sizes of dimension h and denote as 9
  • 2. Mathematical Theory and Modeling www.iiste.org ISSN 2224-5804 (Paper) ISSN 2225-0522 (Online) Vol.2, No.3, 2012 the number of grid points along x and y coordinates. Moreover, we use the index pair (i, j) to represent the mesh point (xi, yj), with and for . On such a uniform mesh, the numerical solution of (1)-(2) with second-order central-difference discretization introduces an explicit discretised Poisson-type equation for the pressure field with valid boundary conditions ( ) as follows: , (3) where and are intermediate velocity components obtained by a Hodge Decomposition of (1)-(2), is the time step and the superscript is the time level (Moreno & Ramaswamy 1997). Such type of Pressure-Poisson equation (PPE) is obtained when a projection scheme such as SIMPLE, PISO or Fractional Step Method is employed. In literature, it has been reported that in finding a numerical solution for (1)-(2), the major computational cost is spent in the calculation part which involves (3) (Patankar 1980; Johnston & Liu 2004,). In the sequel, our aim is to compare the performances of some iterative methods to solve (3). Following the conventional process, (3) can be written as the linear system (4) where the coefficient matrix is block tri-diagonal (Fig. 2). The elements of x consist of the pressure at each point on the grid and b is obtained explicitly from the right hand side of (3). 3. Experiments We compare the performances of three iterative methods to solve the linear system (4). The linear solvers considered here are the Gauss-Seidel, Point Successive Over Relaxation and the Krylov projection Generalized Minimal Residual (Saad & Schultz 1986) methods. The objective is to study their convergence rate and cpu time. The convergence criteria for determining steady state is based on the difference between two successive iterates; whereby the procedure for finding the fluid velocity u is stopped when this difference, measured by L1 norm is less than a prescribed tolerance (tol). The numerical experiments are performed for uniform grids with , , , and points for . Tables (1)-(3) show the number of iterations required (k) and the computational time (cpu) in seconds for each solver to reach steady state. It can be observed from these tables that the GMRES method is more efficient than the GS and PSOR methods. For low Reynolds number (100 and 400), when the mesh size is above , the PSOR method is about 1.2 times faster than the GS method, while the GMRES method is more than 2.5 times faster than the PSOR method. For higher Reynolds number (1000), the GS and PSOR methods are comparable in terms of computational time required to reach steady state. However, GMRES gains over GS and PSOR by more than 1.3 times as from the grids. It is interesting to note that for all cases studied, the speed-up of GMRES for the fine mesh is much more efficient than for the coarse mesh. Fig. 3 displays the velocity vector and pressure fields of the lid-driven cavity flow at calculated on a grid. It can be observed that the moving lid creates a strong vortex and a sequence of weaker vortices in the lower two corners of the cavity. 4. Conclusions In this paper, we demonstrated that for the numerical solution of incompressible flows, the use of GMRES for solving the linear PPE is much more efficient than the traditional GS and PSOR schemes. In practice, one always uses a fine mesh to obtain a better accuracy of the required solution. Following the conventional process, we observed that for large grid size GMRES converges faster than other methods. Moreover, the use of GMRES provides very accurate numerical results by using very little cpu time and virtual storage. 10
  • 3. Mathematical Theory and Modeling www.iiste.org ISSN 2224-5804 (Paper) ISSN 2225-0522 (Online) Vol.2, No.3, 2012 References Ferziger J. H. & Peric M. (2002), Computational methods for fluid dynamics, 3rd edn, Springer. Johnston H. & Liu J. (2004), “Accurate, stable and efficient Navier-Stokes solvers based on explicit treatmentof the pressure term”, Journal of Computational Physics 199, 221–259. Moreno R. & Ramaswamy B. (1997), “Numerical study of three-dimensional incompressible thermal flows in complex geometries. Part I: theory and benchmark solutions”, International Journal for Numerical Methods for Heat and Fluid Flow 7(4), 297–343. Patankar S. V. (1980), Numerical heat transfer and fluid flow, Taylor and Francis. Povitsky A. (2001), “Three-dimensional flow in cavity at Yaw”, ICASE Report 2001-31. Saad Y. & Schultz M. H. (1986), “GMRES: A generalised minimal residual algorithm for solving nonsymmetric linear systems”, SIAM J. Sci. Stat. Comput. 7, 856–869. Figure 1. Geometry of the lid-driven cavity problem in the domain 11
  • 4. Mathematical Theory and Modeling www.iiste.org ISSN 2224-5804 (Paper) ISSN 2225-0522 (Online) Vol.2, No.3, 2012 Figure 2. The coefficient matrix of the linear system (4) Figure 3. Flow and pressure fields at calculated on a grid 12
  • 5. Mathematical Theory and Modeling www.iiste.org ISSN 2224-5804 (Paper) ISSN 2225-0522 (Online) Vol.2, No.3, 2012 Table 1. Performance of three iterative methods for PPE equation (Re = 100, tol = 10-6) Grids GS PSOR GMRES k cpu k cpu k cpu 310 5.5 317 5.0 310 9.5 433 20.4 444 17.7 434 19.4 562 57.5 574 49.6 562 38.4 1023 420.3 1032 362.7 1025 173.1 1862 1946.7 1869 1687.6 1863 557.6 Table 2. Performance of three iterative methods for PPE equation (Re = 400, tol = 10-6) Grids GS PSOR GMRES k cpu k cpu k Cpu 733 8.6 727 7.7 723 21.5 1011 31.9 1004 28.1 1003 42.2 1305 91.6 1300 81.6 1305 80.2 2065 617.9 2048 545.5 2046 306.3 2794 2375.5 2788 2117.8 2790 771.4 13
  • 6. Mathematical Theory and Modeling www.iiste.org ISSN 2224-5804 (Paper) ISSN 2225-0522 (Online) Vol.2, No.3, 2012 Table 3. Performance of three iterative methods for PPE equation (Re = 1000, tol = 10-6) Grids GS PSOR GMRES k cpu k cpu k Cpu 1249 13.0 1270 11.9 1247 37.5 1712 44.4 1705 40.8 1705 72.2 2245 118.0 2280 110.9 2231 133.0 3701 721.0 3640 679.9 3643 503.1 5327 2819.9 5231 2748.5 5225 1323.6 14