Lid driven cavity flow simulation using CFD & MATLAB

IJSRD
IJSRD Online Publisher & Journal à IJSRD.com

Steady Incompressible Navier-Stokes equation on a uniform grid has been studied at various Reynolds number using CFD (Computational Fluid Dynamics). Present paper aim is to obtain the stream-function and velocity field in steady state using the finite difference formulation on momentum equations and continuity equation. Reynold number dominates the flow problem. Taylor’s series expansion has been used to convert the governing equations in the algebraic form using finite difference schemes. MATLAB has been used to draw to flow simulations inside the driven-cavity.

IJSRD - International Journal for Scientific Research & Development| Vol. 3, Issue 10, 2015 | ISSN (online): 2321-0613
All rights reserved by www.ijsrd.com 1097
Lid Driven Cavity Flow Simulation using CFD & MATLAB
Jagram Kushwah1 K. C. Arora2 Manoj Sharma3
1
M.Tech. Student 2
Dean 3
Assistant Professor
1,2,3
Department of Mechanical Engineering
1,2,3
NITM Gwalior
Abstract— Steady Incompressible Navier-Stokes equation
on a uniform grid has been studied at various Reynolds
number using CFD (Computational Fluid Dynamics).
Present paper aim is to obtain the stream-function and
velocity field in steady state using the finite difference
formulation on momentum equations and continuity
equation. Reynold number dominates the flow problem.
Taylor’s series expansion has been used to convert the
governing equations in the algebraic form using finite
difference schemes. MATLAB has been used to draw to
flow simulations inside the driven-cavity.
Key words: CFD, Lid Driven Cavity Flow Simulation
I. INTRODUCTION
The lid-driven cavity flow problem has been studied my
many authors. The problem has been for low Reynolds to
Large Reynolds number. The lid-driven cavity flow is the
motion of a fluid inside a rectangular cavity created by a
constant translational velocity of one side while the other
sides remain at rest. Fluid flow behaviours inside lid driven
cavities have been the subject of extensive computational
and experimental studies over the past years. Applications of
lid driven cavities are in material processing, dynamics of
lakes, metal casting and galvanizing.
This paper aims to provide a CFD simulation study
of incompressible viscous laminar flow in cavity flow using
MATLAB package.
A. Problem Statement
Fig. 1 shows the Schematic of cavity. Upper lid of the cavity
is moving with velocity u. While other boundaries have no-
slip velocity boundary conditions. Fluid flow is laminar
inside the square cavity. Stream-function and vorticity
approach has been used to simulate the governing equations.
Fig. 1: Schematic of square cavity
II. NUMERICAL METHODOLOGY
As for incompressible flow pressure is difficult variable to
handle because there is no direct equation available for
pressure calculation, stream function-vorticity approach has
been adopted to solve governing equation. Finite difference
technique has been used to solve vorticity transport
equation. A nonuniform collocated grid has been used in
which all the flow variables are stored at the same location.
A. Governing Equations
Governing equation are those of 2D incompressible Navier -
Stokes equations includes the continuity equation, x-
momentum and y-momentum equation.
B. Continuity Equation
𝜕𝑢
𝜕𝑥
+
𝜕𝑣
𝜕𝑦
= 0
C. Momentum Equations
1) X-Momentum Equation
𝑢
𝜕𝑢
𝜕𝑥
+ 𝑣
𝜕𝑢
𝜕𝑦
= −
1
𝜌
𝜕𝑝
𝜕𝑥
+ 𝜐 (
𝜕2
𝑢
𝜕𝑥2
+
𝜕2
𝑢
𝜕𝑦2
)
2) Y-Momentum Equation
𝑢
𝜕𝑣
𝜕𝑥
+ 𝑣
𝜕𝑣
𝜕𝑦
= −
1
𝜌
𝜕𝑝
𝜕𝑦
+ 𝜐 (
𝜕2
𝑣
𝜕𝑥2
+
𝜕2
𝑣
𝜕𝑦2
)
3) Stream-Vorticity Implementation
As governing equation involves the pressure term and there
is no direct equation for calculating pressure it is difficult to
calculate pressure in the incompressible flow. Stream-
vorticity implementation will eliminate the pressure term
from governing equation by cross-differentiation of the x-
momentum and y-momentum equation and makes the
problem easy to construct numerical schemes.
4) Velocity and Stream-Function Relationship
𝑢 =
𝜕𝜓
𝜕𝑦
, 𝑣 = −
𝜕𝜓
𝜕𝑥
5) Vorticity and Stream-Function Relationship
𝜔 =
𝜕𝑣
𝜕𝑥
−
𝜕𝑢
𝜕𝑦
= − (
𝜕2
𝜓
𝜕𝑥2
+
𝜕2
𝜓
𝜕𝑦2
)
6) Vorticity Transport Equation
𝑢
𝜕𝜔
𝜕𝑥
+ 𝑣
𝜕𝜔
𝜕𝑦
= 𝜐 (
𝜕2
𝜔
𝜕𝑥2
+
𝜕2
𝜔
𝜕𝑦2
)
The above equations can be non-dimensionalized by non-
dimensional parameters listed below
𝑋 =
𝑥
𝐿
, 𝑌 =
𝑦
𝐿
, 𝑈 =
𝑢
𝑢∞
,
𝑉 =
𝑣
𝑢∞
, 𝜓∗
=
𝜓
𝑢∞ 𝐿
, 𝜔∗
=
𝜔
𝑢∞ 𝐿⁄
7) Vorticity and Stream-Function Relationship
𝜔∗
= − (
𝜕2
𝜓∗
𝜕𝑥∗2 +
𝜕2
𝜓∗
𝜕𝑦∗2 )
8) Vorticity Transport Equation
𝑢∗
𝜕𝜔∗
𝜕𝑥∗
+ 𝑣∗
𝜕𝜔∗
𝜕𝑦∗
=
1
𝑅𝑒
(
𝜕2
𝜔∗
𝜕𝑥∗2 +
𝜕2
𝜔∗
𝜕𝑥∗2 )
9) Grid used
Cavity has been discretized into small elements. A uniform
grid has been used. Figure 2 shows the uniform grid where
element φ (i, j) represents the velocity component, stream-
function, vorticity and temperature at the ith
and jth
node.
Lid Driven Cavity Flow Simulation using CFD & MATLAB
(IJSRD/Vol. 3/Issue 10/2015/254)
All rights reserved by www.ijsrd.com 1098
Fig. 2: Schematic diagrams of computational domain and
grid layout
III. RESULTS
Fig. 3(a): 50
Fig. 3(b): 200
Fig. 3(c): 400
Fig. 3(d): 800
Fig. 3(e): 1000
Fig. 3(f): 1200
Fig. 3(g): 1400
Fig. 3(h): 2000
Fig. 3(i): 2500
Fig. 3(j): 4000
11 21 31 41 51 61 71 81
11
21
31
41
51
61
71
81
Lid Driven Cavity Flow Simulation using CFD & MATLAB
(IJSRD/Vol. 3/Issue 10/2015/254)
All rights reserved by www.ijsrd.com 1099
Fig. 3(k): 5000
Fig. 3(l): 10000
Fig. 3 (a-l) Stream function flow contours for number of
iteration
Figure 3 represents the contours of stream-function
for different number of iteration. One can observe the
growth of the stream-function from figure ‘a’ to figure ‘l’.
One can also notice that increasing the number of iteration
after 4000 intervals does not change the growth of the
stream-function. Increasing the iteration after 4000 to 5000
or 10000 only increases the time consumption of simulation.
(a) Horizontal velocity
(b) Vertical velocity
(c) Vorticity
Fig. 4: Contours of horizontal, vertical velocities and
vorticity
Figure 4 represents the contours of horizontal
velocity, vertical velocity and vorticity. The contours have
been plotted for 400 Reynolds number. A grid size of 81×81
has been taken for developing the above contours. The code
has been run for 5000 number of iteration. From the
contours one can observe that the distance between the
contour lines for vorticity, horizontal and vertical velocity is
less near the moving side of the cavity. Red lines represent
the highest velocity peaks. From the contours of horizontal
and vertical velocities it can be noticed that near the bottom
right corner of the cavity extra contours are forming which
physically represents the counter velocity contours.
IV. CONCLUSION
 Increment in number of itration helps in getting the
accurate flow inside the lid-driven cavity.
 Near the moving side distance netween the contour
lines are less for strem-function, vorticity and
horizontal velocity.
 Software like MATLAB can be used to simulate
the Navier-stokes equation.
 Flow of the fluid is very high which actually
represents the lid-driven upper wall.
REFERENCES
[1] Chen S, A large-eddy-based lattice Boltzmann model
for turbulent flow simulation. App. Mathe. & Comp.,
215, pp. 591–595.
[2] N. A. C. Sidik and S. M. R. Attarzadeh, An accurate
numerical prediction of solid particle fluid flow in a lid-
driven cavity. Intl. J. Mech., 5(3), pp. 123-128.
[3] S.L. Li, Y.C. Chen, and C.A. Lin. Multi relaxation time
lattice Boltzmann simulations of deep lid driven cavity
flows at different aspect ratios. Comput. & Fluids,
45(1), pp. 233-240.
[4] A.J. Chamkha, Hydromagnetic combined convection
flow in a vertical lid-driven cavity with internal heat
generation or absorption, Numer. Heat Transfer, Part A,
vol. 41, pp. 529-546.
[5] K.M. Khanafer, A.M. Al-Amiri and I. Pop, Numerical
simulation of unsteady mixed convection in a driven
cavity using an externally excited sliding lid, European
J. Mechanics B/Fluids, vol. 26, pp.669-687.
[6] G.K. Batchelor. On Steady Laminar Flow with Closed
Streamlines at Large Reynolds Numbers. J. Fluid
Mech., 1, pp. 177–190.

Recommandé

Final Report par
Final ReportFinal Report
Final ReportNeel Patel
1.3K vues24 diapositives
multiphase flow modeling and simulation ,Pouriya Niknam , UNIFI par
multiphase flow modeling and  simulation ,Pouriya Niknam , UNIFImultiphase flow modeling and  simulation ,Pouriya Niknam , UNIFI
multiphase flow modeling and simulation ,Pouriya Niknam , UNIFIPouriya Niknam
2.2K vues33 diapositives
Flow through pipes par
Flow through pipesFlow through pipes
Flow through pipessumitt6_25730773
1.2K vues28 diapositives
CFD simulation of Lid driven cavity flow par
CFD simulation of Lid driven cavity flowCFD simulation of Lid driven cavity flow
CFD simulation of Lid driven cavity flowIJSRD
1.5K vues3 diapositives
Multiphase model par
Multiphase modelMultiphase model
Multiphase modelNasser Touliemat
1.4K vues8 diapositives
6 heat transfer modeling par
6 heat transfer modeling6 heat transfer modeling
6 heat transfer modelingluthfiyyahadelia
2.2K vues37 diapositives

Contenu connexe

Tendances

finite volume method par
finite volume methodfinite volume method
finite volume methodThắng Hoàng
2.2K vues14 diapositives
Momentum theory par
Momentum theoryMomentum theory
Momentum theoryDr.Risalah A. Mohammed
174 vues30 diapositives
Numerical methods for 2 d heat transfer par
Numerical methods for 2 d heat transferNumerical methods for 2 d heat transfer
Numerical methods for 2 d heat transferArun Sarasan
19.3K vues29 diapositives
Fluent-Intro_15.0_L07_Turbulence.pdf par
Fluent-Intro_15.0_L07_Turbulence.pdfFluent-Intro_15.0_L07_Turbulence.pdf
Fluent-Intro_15.0_L07_Turbulence.pdfMuhammad Dzaky Fawwaz
166 vues48 diapositives
Análisis experimental par
Análisis experimentalAnálisis experimental
Análisis experimentalJorge Sifuentes
3.6K vues45 diapositives
Dynamics of Fluid Flow par
Dynamics of Fluid FlowDynamics of Fluid Flow
Dynamics of Fluid FlowAbhishek Anand Thakur
3.9K vues10 diapositives

Tendances(20)

Numerical methods for 2 d heat transfer par Arun Sarasan
Numerical methods for 2 d heat transferNumerical methods for 2 d heat transfer
Numerical methods for 2 d heat transfer
Arun Sarasan19.3K vues
Numerical solution, couette flow using crank nicolson implicit method par Manoj maurya
Numerical solution, couette flow using crank nicolson implicit methodNumerical solution, couette flow using crank nicolson implicit method
Numerical solution, couette flow using crank nicolson implicit method
Manoj maurya4.6K vues
Application of Numerical Methods (Finite Difference) in Heat Transfer par Shivshambhu Kumar
Application of Numerical Methods (Finite Difference) in Heat TransferApplication of Numerical Methods (Finite Difference) in Heat Transfer
Application of Numerical Methods (Finite Difference) in Heat Transfer
Shivshambhu Kumar2.4K vues
Chapter 4 TRANSIENT HEAT CONDUCTION par Abdul Moiz Dota
Chapter 4TRANSIENT HEAT CONDUCTIONChapter 4TRANSIENT HEAT CONDUCTION
Chapter 4 TRANSIENT HEAT CONDUCTION
Abdul Moiz Dota2.5K vues
Crout s method for solving system of linear equations par Sugathan Velloth
Crout s method for solving system of linear equationsCrout s method for solving system of linear equations
Crout s method for solving system of linear equations
Sugathan Velloth20.2K vues
La Experimentación en la Mecánica de Fluídos par Jehilin Zambrano
La Experimentación en la Mecánica de FluídosLa Experimentación en la Mecánica de Fluídos
La Experimentación en la Mecánica de Fluídos
Jehilin Zambrano4.9K vues
Fluid mechanics par preet yadav
Fluid mechanicsFluid mechanics
Fluid mechanics
preet yadav16.4K vues

Similaire à Lid driven cavity flow simulation using CFD & MATLAB

Lattice boltzmann simulation of non newtonian fluid flow in a lid driven cavit par
Lattice boltzmann simulation of non newtonian fluid flow in a lid driven cavitLattice boltzmann simulation of non newtonian fluid flow in a lid driven cavit
Lattice boltzmann simulation of non newtonian fluid flow in a lid driven cavitIAEME Publication
278 vues14 diapositives
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows par
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 FlowsCSCJournals
294 vues12 diapositives
Ijmet 06 10_001 par
Ijmet 06 10_001Ijmet 06 10_001
Ijmet 06 10_001IAEME Publication
140 vues9 diapositives
Ijmet 10 01_012 par
Ijmet 10 01_012Ijmet 10 01_012
Ijmet 10 01_012IAEME Publication
29 vues14 diapositives
cfd ahmed body par
cfd ahmed bodycfd ahmed body
cfd ahmed bodyTarmizi Bahari
191 vues6 diapositives
NUMERICAL SIMULATION OF FLOW INSIDE THE SQUARE CAVITY par
NUMERICAL SIMULATION OF FLOW INSIDE THE SQUARE CAVITYNUMERICAL SIMULATION OF FLOW INSIDE THE SQUARE CAVITY
NUMERICAL SIMULATION OF FLOW INSIDE THE SQUARE CAVITYInternational Journal of Technical Research & Application
208 vues8 diapositives

Similaire à Lid driven cavity flow simulation using CFD & MATLAB(20)

Lattice boltzmann simulation of non newtonian fluid flow in a lid driven cavit par IAEME Publication
Lattice boltzmann simulation of non newtonian fluid flow in a lid driven cavitLattice boltzmann simulation of non newtonian fluid flow in a lid driven cavit
Lattice boltzmann simulation of non newtonian fluid flow in a lid driven cavit
CFD and Artificial Neural Networks Analysis of Plane Sudden Expansion Flows par CSCJournals
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
CSCJournals294 vues
Aerodynamic and Acoustic Parameters of a Coandã Flow – a Numerical Investigation par drboon
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
drboon500 vues
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta Wing par IJRES Journal
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta WingAerodynamic Analysis of Low Speed Turbulent Flow Over A Delta Wing
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta Wing
IJRES Journal792 vues
LATTICE BOLTZMANN SIMULATION OF NON-NEWTONIAN FLUID FLOW IN A LID DRIVEN CAVITY par IAEME Publication
LATTICE BOLTZMANN SIMULATION OF NON-NEWTONIAN FLUID FLOW IN A LID DRIVEN CAVITY LATTICE BOLTZMANN SIMULATION OF NON-NEWTONIAN FLUID FLOW IN A LID DRIVEN CAVITY
LATTICE BOLTZMANN SIMULATION OF NON-NEWTONIAN FLUID FLOW IN A LID DRIVEN CAVITY
Final course project report par Kaggwa Abdul
Final course project reportFinal course project report
Final course project report
Kaggwa Abdul411 vues
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFS par IJCI JOURNAL
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFSANALYSIS OF VORTEX INDUCED VIBRATION USING IFS
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFS
IJCI JOURNAL30 vues
Comparision of flow analysis through a different geometry of flowmeters using... par eSAT Publishing House
Comparision of flow analysis through a different geometry of flowmeters using...Comparision of flow analysis through a different geometry of flowmeters using...
Comparision of flow analysis through a different geometry of flowmeters using...
Numerical Investigation of Turbulent Flow over a Rotating Circular Cylinder u... par IJERA Editor
Numerical Investigation of Turbulent Flow over a Rotating Circular Cylinder u...Numerical Investigation of Turbulent Flow over a Rotating Circular Cylinder u...
Numerical Investigation of Turbulent Flow over a Rotating Circular Cylinder u...
IJERA Editor36 vues
CFD Class Final Paper par Nathan Butt
CFD Class Final PaperCFD Class Final Paper
CFD Class Final Paper
Nathan Butt151 vues
Effect of Mobility on (I-V) Characteristics of Gaas MESFET par Yayah Zakaria
Effect of Mobility on (I-V) Characteristics of Gaas MESFET Effect of Mobility on (I-V) Characteristics of Gaas MESFET
Effect of Mobility on (I-V) Characteristics of Gaas MESFET
Yayah Zakaria117 vues
Effect of Mobility on (I-V) Characteristics of Gaas MESFET par IJECEIAES
Effect of Mobility on (I-V) Characteristics of Gaas MESFET Effect of Mobility on (I-V) Characteristics of Gaas MESFET
Effect of Mobility on (I-V) Characteristics of Gaas MESFET
IJECEIAES12 vues

Plus de IJSRD

#IJSRD #Research Paper Publication par
#IJSRD #Research Paper Publication#IJSRD #Research Paper Publication
#IJSRD #Research Paper PublicationIJSRD
245 vues6 diapositives
Maintaining Data Confidentiality in Association Rule Mining in Distributed En... par
Maintaining Data Confidentiality in Association Rule Mining in Distributed En...Maintaining Data Confidentiality in Association Rule Mining in Distributed En...
Maintaining Data Confidentiality in Association Rule Mining in Distributed En...IJSRD
401 vues3 diapositives
Performance and Emission characteristics of a Single Cylinder Four Stroke Die... par
Performance and Emission characteristics of a Single Cylinder Four Stroke Die...Performance and Emission characteristics of a Single Cylinder Four Stroke Die...
Performance and Emission characteristics of a Single Cylinder Four Stroke Die...IJSRD
333 vues4 diapositives
Preclusion of High and Low Pressure In Boiler by Using LABVIEW par
Preclusion of High and Low Pressure In Boiler by Using LABVIEWPreclusion of High and Low Pressure In Boiler by Using LABVIEW
Preclusion of High and Low Pressure In Boiler by Using LABVIEWIJSRD
367 vues5 diapositives
Prevention and Detection of Man in the Middle Attack on AODV Protocol par
Prevention and Detection of Man in the Middle Attack on AODV ProtocolPrevention and Detection of Man in the Middle Attack on AODV Protocol
Prevention and Detection of Man in the Middle Attack on AODV ProtocolIJSRD
312 vues2 diapositives
Comparative Analysis of PAPR Reduction Techniques in OFDM Using Precoding Tec... par
Comparative Analysis of PAPR Reduction Techniques in OFDM Using Precoding Tec...Comparative Analysis of PAPR Reduction Techniques in OFDM Using Precoding Tec...
Comparative Analysis of PAPR Reduction Techniques in OFDM Using Precoding Tec...IJSRD
281 vues3 diapositives

Plus de IJSRD (20)

#IJSRD #Research Paper Publication par IJSRD
#IJSRD #Research Paper Publication#IJSRD #Research Paper Publication
#IJSRD #Research Paper Publication
IJSRD 245 vues
Maintaining Data Confidentiality in Association Rule Mining in Distributed En... par IJSRD
Maintaining Data Confidentiality in Association Rule Mining in Distributed En...Maintaining Data Confidentiality in Association Rule Mining in Distributed En...
Maintaining Data Confidentiality in Association Rule Mining in Distributed En...
IJSRD 401 vues
Performance and Emission characteristics of a Single Cylinder Four Stroke Die... par IJSRD
Performance and Emission characteristics of a Single Cylinder Four Stroke Die...Performance and Emission characteristics of a Single Cylinder Four Stroke Die...
Performance and Emission characteristics of a Single Cylinder Four Stroke Die...
IJSRD 333 vues
Preclusion of High and Low Pressure In Boiler by Using LABVIEW par IJSRD
Preclusion of High and Low Pressure In Boiler by Using LABVIEWPreclusion of High and Low Pressure In Boiler by Using LABVIEW
Preclusion of High and Low Pressure In Boiler by Using LABVIEW
IJSRD 367 vues
Prevention and Detection of Man in the Middle Attack on AODV Protocol par IJSRD
Prevention and Detection of Man in the Middle Attack on AODV ProtocolPrevention and Detection of Man in the Middle Attack on AODV Protocol
Prevention and Detection of Man in the Middle Attack on AODV Protocol
IJSRD 312 vues
Comparative Analysis of PAPR Reduction Techniques in OFDM Using Precoding Tec... par IJSRD
Comparative Analysis of PAPR Reduction Techniques in OFDM Using Precoding Tec...Comparative Analysis of PAPR Reduction Techniques in OFDM Using Precoding Tec...
Comparative Analysis of PAPR Reduction Techniques in OFDM Using Precoding Tec...
IJSRD 281 vues
Evaluation the Effect of Machining Parameters on MRR of Mild Steel par IJSRD
Evaluation the Effect of Machining Parameters on MRR of Mild SteelEvaluation the Effect of Machining Parameters on MRR of Mild Steel
Evaluation the Effect of Machining Parameters on MRR of Mild Steel
IJSRD 252 vues
Filter unwanted messages from walls and blocking nonlegitimate user in osn par IJSRD
Filter unwanted messages from walls and blocking nonlegitimate user in osnFilter unwanted messages from walls and blocking nonlegitimate user in osn
Filter unwanted messages from walls and blocking nonlegitimate user in osn
IJSRD 122 vues
Keystroke Dynamics Authentication with Project Management System par IJSRD
Keystroke Dynamics Authentication with Project Management SystemKeystroke Dynamics Authentication with Project Management System
Keystroke Dynamics Authentication with Project Management System
IJSRD 438 vues
Diagnosing lungs cancer Using Neural Networks par IJSRD
Diagnosing lungs cancer Using Neural NetworksDiagnosing lungs cancer Using Neural Networks
Diagnosing lungs cancer Using Neural Networks
IJSRD 358 vues
A Survey on Sentiment Analysis and Opinion Mining par IJSRD
A Survey on Sentiment Analysis and Opinion MiningA Survey on Sentiment Analysis and Opinion Mining
A Survey on Sentiment Analysis and Opinion Mining
IJSRD 299 vues
A Defect Prediction Model for Software Product based on ANFIS par IJSRD
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFIS
IJSRD 223 vues
Experimental Investigation of Granulated Blast Furnace Slag ond Quarry Dust a... par IJSRD
Experimental Investigation of Granulated Blast Furnace Slag ond Quarry Dust a...Experimental Investigation of Granulated Blast Furnace Slag ond Quarry Dust a...
Experimental Investigation of Granulated Blast Furnace Slag ond Quarry Dust a...
IJSRD 247 vues
Product Quality Analysis based on online Reviews par IJSRD
Product Quality Analysis based on online ReviewsProduct Quality Analysis based on online Reviews
Product Quality Analysis based on online Reviews
IJSRD 198 vues
Solving Fuzzy Matrix Games Defuzzificated by Trapezoidal Parabolic Fuzzy Numbers par IJSRD
Solving Fuzzy Matrix Games Defuzzificated by Trapezoidal Parabolic Fuzzy NumbersSolving Fuzzy Matrix Games Defuzzificated by Trapezoidal Parabolic Fuzzy Numbers
Solving Fuzzy Matrix Games Defuzzificated by Trapezoidal Parabolic Fuzzy Numbers
IJSRD 154 vues
Study of Clustering of Data Base in Education Sector Using Data Mining par IJSRD
Study of Clustering of Data Base in Education Sector Using Data MiningStudy of Clustering of Data Base in Education Sector Using Data Mining
Study of Clustering of Data Base in Education Sector Using Data Mining
IJSRD 117 vues
Fault Tolerance in Big Data Processing Using Heartbeat Messages and Data Repl... par IJSRD
Fault Tolerance in Big Data Processing Using Heartbeat Messages and Data Repl...Fault Tolerance in Big Data Processing Using Heartbeat Messages and Data Repl...
Fault Tolerance in Big Data Processing Using Heartbeat Messages and Data Repl...
IJSRD 221 vues
Investigation of Effect of Process Parameters on Maximum Temperature during F... par IJSRD
Investigation of Effect of Process Parameters on Maximum Temperature during F...Investigation of Effect of Process Parameters on Maximum Temperature during F...
Investigation of Effect of Process Parameters on Maximum Temperature during F...
IJSRD 247 vues
Review Paper on Computer Aided Design & Analysis of Rotor Shaft of a Rotavator par IJSRD
Review Paper on Computer Aided Design & Analysis of Rotor Shaft of a RotavatorReview Paper on Computer Aided Design & Analysis of Rotor Shaft of a Rotavator
Review Paper on Computer Aided Design & Analysis of Rotor Shaft of a Rotavator
IJSRD 292 vues
A Survey on Data Mining Techniques for Crime Hotspots Prediction par IJSRD
A Survey on Data Mining Techniques for Crime Hotspots PredictionA Survey on Data Mining Techniques for Crime Hotspots Prediction
A Survey on Data Mining Techniques for Crime Hotspots Prediction
IJSRD 323 vues

Dernier

Volf work.pdf par
Volf work.pdfVolf work.pdf
Volf work.pdfMariaKenney3
75 vues43 diapositives
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx par
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptxGuidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptxNiranjan Chavan
38 vues48 diapositives
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf par
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdfSTRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdfDr Vijay Vishwakarma
90 vues68 diapositives
11.30.23A Poverty and Inequality in America.pptx par
11.30.23A Poverty and Inequality in America.pptx11.30.23A Poverty and Inequality in America.pptx
11.30.23A Poverty and Inequality in America.pptxmary850239
86 vues18 diapositives
Create a Structure in VBNet.pptx par
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptxBreach_P
82 vues8 diapositives
Narration lesson plan par
Narration lesson planNarration lesson plan
Narration lesson planTARIQ KHAN
69 vues11 diapositives

Dernier(20)

Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx par Niranjan Chavan
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptxGuidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx
Niranjan Chavan38 vues
11.30.23A Poverty and Inequality in America.pptx par mary850239
11.30.23A Poverty and Inequality in America.pptx11.30.23A Poverty and Inequality in America.pptx
11.30.23A Poverty and Inequality in America.pptx
mary85023986 vues
Create a Structure in VBNet.pptx par Breach_P
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptx
Breach_P82 vues
Narration lesson plan par TARIQ KHAN
Narration lesson planNarration lesson plan
Narration lesson plan
TARIQ KHAN69 vues
JQUERY.pdf par ArthyR3
JQUERY.pdfJQUERY.pdf
JQUERY.pdf
ArthyR3103 vues
ANGULARJS.pdf par ArthyR3
ANGULARJS.pdfANGULARJS.pdf
ANGULARJS.pdf
ArthyR349 vues
INT-244 Topic 6b Confucianism par S Meyer
INT-244 Topic 6b ConfucianismINT-244 Topic 6b Confucianism
INT-244 Topic 6b Confucianism
S Meyer44 vues
CUNY IT Picciano.pptx par apicciano
CUNY IT Picciano.pptxCUNY IT Picciano.pptx
CUNY IT Picciano.pptx
apicciano60 vues
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (FRIE... par Nguyen Thanh Tu Collection
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (FRIE...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (FRIE...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (FRIE...
Monthly Information Session for MV Asterix (November) par Esquimalt MFRC
Monthly Information Session for MV Asterix (November)Monthly Information Session for MV Asterix (November)
Monthly Information Session for MV Asterix (November)
Esquimalt MFRC98 vues
Creative Restart 2023: Atila Martins - Craft: A Necessity, Not a Choice par Taste
Creative Restart 2023: Atila Martins - Craft: A Necessity, Not a ChoiceCreative Restart 2023: Atila Martins - Craft: A Necessity, Not a Choice
Creative Restart 2023: Atila Martins - Craft: A Necessity, Not a Choice
Taste41 vues
Retail Store Scavenger Hunt.pptx par jmurphy154
Retail Store Scavenger Hunt.pptxRetail Store Scavenger Hunt.pptx
Retail Store Scavenger Hunt.pptx
jmurphy15452 vues

Lid driven cavity flow simulation using CFD & MATLAB

  • 1. IJSRD - International Journal for Scientific Research & Development| Vol. 3, Issue 10, 2015 | ISSN (online): 2321-0613 All rights reserved by www.ijsrd.com 1097 Lid Driven Cavity Flow Simulation using CFD & MATLAB Jagram Kushwah1 K. C. Arora2 Manoj Sharma3 1 M.Tech. Student 2 Dean 3 Assistant Professor 1,2,3 Department of Mechanical Engineering 1,2,3 NITM Gwalior Abstract— Steady Incompressible Navier-Stokes equation on a uniform grid has been studied at various Reynolds number using CFD (Computational Fluid Dynamics). Present paper aim is to obtain the stream-function and velocity field in steady state using the finite difference formulation on momentum equations and continuity equation. Reynold number dominates the flow problem. Taylor’s series expansion has been used to convert the governing equations in the algebraic form using finite difference schemes. MATLAB has been used to draw to flow simulations inside the driven-cavity. Key words: CFD, Lid Driven Cavity Flow Simulation I. INTRODUCTION The lid-driven cavity flow problem has been studied my many authors. The problem has been for low Reynolds to Large Reynolds number. The lid-driven cavity flow is the motion of a fluid inside a rectangular cavity created by a constant translational velocity of one side while the other sides remain at rest. Fluid flow behaviours inside lid driven cavities have been the subject of extensive computational and experimental studies over the past years. Applications of lid driven cavities are in material processing, dynamics of lakes, metal casting and galvanizing. This paper aims to provide a CFD simulation study of incompressible viscous laminar flow in cavity flow using MATLAB package. A. Problem Statement Fig. 1 shows the Schematic of cavity. Upper lid of the cavity is moving with velocity u. While other boundaries have no- slip velocity boundary conditions. Fluid flow is laminar inside the square cavity. Stream-function and vorticity approach has been used to simulate the governing equations. Fig. 1: Schematic of square cavity II. NUMERICAL METHODOLOGY As for incompressible flow pressure is difficult variable to handle because there is no direct equation available for pressure calculation, stream function-vorticity approach has been adopted to solve governing equation. Finite difference technique has been used to solve vorticity transport equation. A nonuniform collocated grid has been used in which all the flow variables are stored at the same location. A. Governing Equations Governing equation are those of 2D incompressible Navier - Stokes equations includes the continuity equation, x- momentum and y-momentum equation. B. Continuity Equation 𝜕𝑢 𝜕𝑥 + 𝜕𝑣 𝜕𝑦 = 0 C. Momentum Equations 1) X-Momentum Equation 𝑢 𝜕𝑢 𝜕𝑥 + 𝑣 𝜕𝑢 𝜕𝑦 = − 1 𝜌 𝜕𝑝 𝜕𝑥 + 𝜐 ( 𝜕2 𝑢 𝜕𝑥2 + 𝜕2 𝑢 𝜕𝑦2 ) 2) Y-Momentum Equation 𝑢 𝜕𝑣 𝜕𝑥 + 𝑣 𝜕𝑣 𝜕𝑦 = − 1 𝜌 𝜕𝑝 𝜕𝑦 + 𝜐 ( 𝜕2 𝑣 𝜕𝑥2 + 𝜕2 𝑣 𝜕𝑦2 ) 3) Stream-Vorticity Implementation As governing equation involves the pressure term and there is no direct equation for calculating pressure it is difficult to calculate pressure in the incompressible flow. Stream- vorticity implementation will eliminate the pressure term from governing equation by cross-differentiation of the x- momentum and y-momentum equation and makes the problem easy to construct numerical schemes. 4) Velocity and Stream-Function Relationship 𝑢 = 𝜕𝜓 𝜕𝑦 , 𝑣 = − 𝜕𝜓 𝜕𝑥 5) Vorticity and Stream-Function Relationship 𝜔 = 𝜕𝑣 𝜕𝑥 − 𝜕𝑢 𝜕𝑦 = − ( 𝜕2 𝜓 𝜕𝑥2 + 𝜕2 𝜓 𝜕𝑦2 ) 6) Vorticity Transport Equation 𝑢 𝜕𝜔 𝜕𝑥 + 𝑣 𝜕𝜔 𝜕𝑦 = 𝜐 ( 𝜕2 𝜔 𝜕𝑥2 + 𝜕2 𝜔 𝜕𝑦2 ) The above equations can be non-dimensionalized by non- dimensional parameters listed below 𝑋 = 𝑥 𝐿 , 𝑌 = 𝑦 𝐿 , 𝑈 = 𝑢 𝑢∞ , 𝑉 = 𝑣 𝑢∞ , 𝜓∗ = 𝜓 𝑢∞ 𝐿 , 𝜔∗ = 𝜔 𝑢∞ 𝐿⁄ 7) Vorticity and Stream-Function Relationship 𝜔∗ = − ( 𝜕2 𝜓∗ 𝜕𝑥∗2 + 𝜕2 𝜓∗ 𝜕𝑦∗2 ) 8) Vorticity Transport Equation 𝑢∗ 𝜕𝜔∗ 𝜕𝑥∗ + 𝑣∗ 𝜕𝜔∗ 𝜕𝑦∗ = 1 𝑅𝑒 ( 𝜕2 𝜔∗ 𝜕𝑥∗2 + 𝜕2 𝜔∗ 𝜕𝑥∗2 ) 9) Grid used Cavity has been discretized into small elements. A uniform grid has been used. Figure 2 shows the uniform grid where element φ (i, j) represents the velocity component, stream- function, vorticity and temperature at the ith and jth node.
  • 2. Lid Driven Cavity Flow Simulation using CFD & MATLAB (IJSRD/Vol. 3/Issue 10/2015/254) All rights reserved by www.ijsrd.com 1098 Fig. 2: Schematic diagrams of computational domain and grid layout III. RESULTS Fig. 3(a): 50 Fig. 3(b): 200 Fig. 3(c): 400 Fig. 3(d): 800 Fig. 3(e): 1000 Fig. 3(f): 1200 Fig. 3(g): 1400 Fig. 3(h): 2000 Fig. 3(i): 2500 Fig. 3(j): 4000 11 21 31 41 51 61 71 81 11 21 31 41 51 61 71 81
  • 3. Lid Driven Cavity Flow Simulation using CFD & MATLAB (IJSRD/Vol. 3/Issue 10/2015/254) All rights reserved by www.ijsrd.com 1099 Fig. 3(k): 5000 Fig. 3(l): 10000 Fig. 3 (a-l) Stream function flow contours for number of iteration Figure 3 represents the contours of stream-function for different number of iteration. One can observe the growth of the stream-function from figure ‘a’ to figure ‘l’. One can also notice that increasing the number of iteration after 4000 intervals does not change the growth of the stream-function. Increasing the iteration after 4000 to 5000 or 10000 only increases the time consumption of simulation. (a) Horizontal velocity (b) Vertical velocity (c) Vorticity Fig. 4: Contours of horizontal, vertical velocities and vorticity Figure 4 represents the contours of horizontal velocity, vertical velocity and vorticity. The contours have been plotted for 400 Reynolds number. A grid size of 81×81 has been taken for developing the above contours. The code has been run for 5000 number of iteration. From the contours one can observe that the distance between the contour lines for vorticity, horizontal and vertical velocity is less near the moving side of the cavity. Red lines represent the highest velocity peaks. From the contours of horizontal and vertical velocities it can be noticed that near the bottom right corner of the cavity extra contours are forming which physically represents the counter velocity contours. IV. CONCLUSION  Increment in number of itration helps in getting the accurate flow inside the lid-driven cavity.  Near the moving side distance netween the contour lines are less for strem-function, vorticity and horizontal velocity.  Software like MATLAB can be used to simulate the Navier-stokes equation.  Flow of the fluid is very high which actually represents the lid-driven upper wall. REFERENCES [1] Chen S, A large-eddy-based lattice Boltzmann model for turbulent flow simulation. App. Mathe. & Comp., 215, pp. 591–595. [2] N. A. C. Sidik and S. M. R. Attarzadeh, An accurate numerical prediction of solid particle fluid flow in a lid- driven cavity. Intl. J. Mech., 5(3), pp. 123-128. [3] S.L. Li, Y.C. Chen, and C.A. Lin. Multi relaxation time lattice Boltzmann simulations of deep lid driven cavity flows at different aspect ratios. Comput. & Fluids, 45(1), pp. 233-240. [4] A.J. Chamkha, Hydromagnetic combined convection flow in a vertical lid-driven cavity with internal heat generation or absorption, Numer. Heat Transfer, Part A, vol. 41, pp. 529-546. [5] K.M. Khanafer, A.M. Al-Amiri and I. Pop, Numerical simulation of unsteady mixed convection in a driven cavity using an externally excited sliding lid, European J. Mechanics B/Fluids, vol. 26, pp.669-687. [6] G.K. Batchelor. On Steady Laminar Flow with Closed Streamlines at Large Reynolds Numbers. J. Fluid Mech., 1, pp. 177–190.