Lecture-10 - 2D Velocity-Pressure Coupling
Lecture-10 - 2D Velocity-Pressure Coupling
1
Lecture 10
2D Velocity-Pressure Coupling
Dr Gilbert Accary
LECTURE PLAN
VelocityPressure Coupling Problem
Staggered Grid
Discretized Momentum Equations
SIMPLE Algorithm
• Velocity Correction
• Pressure Correction Equation
• Under-relaxation
Implementation
Example: Lids driven cavity with heat transfer
2
GOVERNING EQUATIONS
Y-momentum equation:
Continuity equation:
3
VELOCITY-PRESSURE COUPLING PROBLEM
Non-linear quantities
All three equations are intrinsically coupled
Pressure appears in both momentum equations,
but there is no transport equation for pressure
Solution: Iterative strategy such as the SIMPLE,
SIMPLER or PISO algorithms
Ex: SIMPLE algorithm:
1. Use a guessed pressure field to determine velocity
2. Continuity equation is turned into a pressure correction
equation and solved to obtain a pressure correction
3. This pressure correction is used to update velocity
4
STAGGERED GRID (HARLOW AND WELCH, 1965)
uw ue
In the y-momentum eq.: W P E
w e
y
s vs
v-cell
S
No interpolation is required
to calculate velocities at the
scalar cell faces x
5
DISCRETIZATION OF THE MOMENTUM EQUATIONS
X-momentum equation:
, , , i,J+1 I,J+1
u-cell
, , I, j+1
Y-momentum equation:
∗ ∗ ∗ ∗
, , , , ,
∗ ∗
, , ,
∗ ∗
, , , ,
, , , ,
, , , , ,
,
, , , , ,
,
Corrected velocities:
I, j+1
∗
, , , , ,
I,J
i,J i+1,J
∗
, , , , ,
I, j+1
Velocity must satisfy continuity:
I,J
i,J i+1,J
, , , ,
∗
, , , , ,
where:
, , I,J
I-1,J I+1,J
, ,
, ,
, , I,J-1
, , , , ,
∗ ∗ ∗ ∗
, , , , ,
11
SIMPLE ALGORITHM
12
UNDER-RELAXATION
To remedy against divergence problem in the iterative
process, a relaxation coefficient is introduced
For a generic property :
Instead we write:
new aP new bP
Usually < 1 (underrelaxation)
Increased diagonal dominance
13
> 1 (overrelaxation) is sometimes allowed to
accelerate an easy converging process
UNDER-RELAXATION (CONT.)
In SIMPLE algorithm, pressure correction equation is
susceptible to divergence unless some under-relaxation
is used:
∗
new ,
,
new
, , ,
,
, , ,
new ,
,
new , 14
, ,
IMPLEMENTATION
Steady 2D incompressible flow with heat transfer
X-momentum equation: q=0
Y-momentum equation: Th
Vw Ve
Continuity equation:
Tc
Energy equation:
q=0
Data: q=0
• Square cavity with L = 1 m
• = 1 kg/m3, = 0.1 kg/m.s Th
• = 0.001 Pa.s
Vw Ve
• Th = 400K, Tc = 300K
• Ve = Vw = 10 m/s
Tc
= 10,000
q=0
16