Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
Navier-Stokes Equations
Reynolds Number
Numerical Analysis of Navier-Stokes Equations
SIMPLE and PISO algorithm
OpenFoam Project
Some results for the Lid-driven cavity flow
http://www.phy.syr.edu/courses/PHY600.10Fall/Presentations/jorge.pdf
Navier Stokes Equations
For an Incompressible Newtonian Fluid
( ) 0 = V +
c
c
u
t
Forces
Viscous
Forces
essure
Dt
u D
u p u u
t
u
2
Pr
V + V =
|
.
|
\
|
V +
c
c
Continuity Equation
viscosity : pressure, : velocity, : density, : p u
~
c
c
+
1
Gradient, Divergence and Laplacian: The discretisation typically is
performed using Gauss theorem according to the following equations
Gradient
f
f
f
s V
S S d dV | | |
} }
= = V
Divergence
} }
= = V
f
f
S V
u S u S d dV u
( ) ( ) ( ) Laplacian
f f
f
f
S V
S S d dV | | | V I = V I = V I V
} }
Algorithm: SIMPLE
( ) ( ) ( )
J i J I J I nb nb J i J i
A p p u a u a
x
p
y
u
y x
u
x
vu
y
uu
x
, , , 1 , ,
+ =
c
c
|
|
.
|
\
|
c
c
c
c
+ |
.
|
\
|
c
c
c
c
=
c
c
+
c
c
( ) ( ) ( )
j I J I J I nb nb j I j I
A p p v a v a
y
p
y
v
y x
v
x
vv
y
uv
x
, , 1 , , ,
+ =
c
c
|
|
.
|
\
|
c
c
c
c
+ |
.
|
\
|
c
c
c
c
=
c
c
+
c
c
( ) ( ) ( ) ( ) | | ( ) ( ) | | 0 0
, 1 , , , 1
= + =
c
c
+
c
c
+ + j I j I J i J i
vA vA uA uA v
y
u
x
The algorithm is essentially a guess-and-correct procedure for the calculation
of pressure on the staggered grid.
From a guessed we get velocities
*
p
( ) ( )
( ) ( ) 2
1
,
,
*
1 ,
* *
,
*
,
,
,
*
, 1
* *
,
*
,
j I
J I J I nb
nb
j I
j I
J i
J I J I nb
nb
J i
J i
A p p v a v a
A p p u a u a
+ =
+ =
We define the correction pressure p as the difference between the correct pressure
and the guessed pressure. Analogously for the velocities.
' ' '
* * *
v v v u u u p p p + = + = + =
By subtracting Eqs. (1) and (2) we get
( ) ( )
( )
j I J I J I nb nb j I j I
J i J I J I nb nb J i J i
A p p v a v a
A p p u a u a
, , 1 , , ,
, , , 1 , ,
' ' ' '
3 ' ' ' '
+ =
+ =