Professional Documents
Culture Documents
Fundamental Equations, Concepts and Implementation of Numerical Simulation in Free Surface Flow
Fundamental Equations, Concepts and Implementation of Numerical Simulation in Free Surface Flow
u
u
u
u
ax
u
v w
t
x
y
z
v
v
v
v
ay u v w
t
x
y
z
w
w
w
w
ax
u
v
w
t
x
y
z
ui
ui
ai
uj
t
x j
1
2
3
p xx yx zx
( 4)
y
z
x x
1 p xy yy zy
fy gy
(5)
y x
y
z
1 p xz yz zz
fz gz
(6)
z x
y
z
1
fx gx
xx
xy
u
v
w
2 , yy 2 , zz 2
x
x
x
u v
yx
y x
w u
xz zx
x z
yz
v w
zy
z y
7
8
9
10
6
2u 2u 2u
1 p
fx gx
2 2 2
x
y
z
x
2v 2v 2v
1 p
fy gy
2 2 2
y
y
z
x
(11)
(12)
2w 2w 2w
1 p
fz gz
2 2 (13)
2
z
y
z
x
2 ui
1 p
fi gi
Einstein notation
xi
x j x j
7
g i (A1 )
t
x j
xi
x j x j
u v w
0
x y z
ui
0
(A 2)
xi
Turbulence
The free surface flows occurring in nature is almost
always turbulent. Turbulence is characterized by
random fluctuating motion of the fluid masses in
three dimensions. A few characteristic of the
turbulence are:
1.
Irregularity
4.Three-dimensional Turbulent flow is always threedimensional. However, when the equations are
time averaged we can treat the flow as twodimensional.
5. Dissipation Turbulent flow is dissipative, which
means that kinetic energy in the small (dissipative)
eddies are transformed into internal energy. The
small eddies receive the kinetic energy from
slightly larger eddies. The slightly larger eddies
receive their energy from even larger eddies and
so on. The largest eddies extract their energy from
the mean flow. This process of transferred energy
from the largest turbulent scales (eddies) to the
smallest is called cascade process.
11
Turbulence
. The random , chaotic nature of turbulence is
treated by dividing the instantaneous
values of velocity components and
pressure into a mean value and a
fluctuating value, i.e.
u u u
v v v
w w w
p p p
RNS Equations
u i
u i
1 p vij 1 Rij
uj
gi
t
x j
xi x j x j
u i
0
x
where vij
u i u j
x
xi
j
Reynold Stresses
The continuity equation remains unchanged except
that instantaneous velocity components are
replaced by the time-averaged ones. The three
momentum equations on the LHS are changed only
to the extent that the inertial and convective
acceleration terms are now expressed in terms of
time averaged velocity components. The most
significant change is that on the LHS we now have
the Reynold stresses. These are time-averaged
products of fluctuating velocity components and are
responsible for considerable momentum exchange
in turbulent flow.
15
Closure Problem
3 velocity components, one pressure and
6 Reynold stress terms = 10 unknowns
No. of equations=4
As No. of unknowns >No. of equations,
the problem is indeterminate. One need to
close the problem to obtain a solution.
The turbulence modeling tries to represent
the Reynold stresses in terms of the timeaveraged velocity components.
16
Turbulence Models
Boussinesq Model
An algebraic equation is used to compute a
turbulent viscosity, often called eddy viscosity.
The Reynolds stress tensor is expressed in
terms of the time-averaged velocity gradients
and the turbulent viscosity.
U j
uiu j t
xi
x
j
17
k- Turbulence Model
Two transport equations are solved which describe
the transport of the turbulent kinetic energy, k and
its dissipation, . The eddy viscosity is calculated as
k
t c 2
20
0 continuity eq.
t
x
y
zb
(hu ) (hu 2 ) (huv)
h
gh
gh
t
x
y
x
x
gn 2u
u 2 v2
1
x momentum eq
h 3
2
zb
(hv) (huv) (hv )
h
gh
gh
t
x
y
y
y
gn v
2
u v
2
y momentum eq
21
0
t t
U
U
h
U
g
g (S0 S f )
t
x
x
The friction slope Sf is usually
obtained from a uniform flow formula
such as Manning or chezy.
22
g t
g x
dynamic dyn. quasi
So S f
x
diffusive kinematic
wave
wave
steady wave
wave
23
1
g
u
g
u
5
O(10 )
t
u
O(10 5 )
x
So
O(10 3 )
Sf
O(10 3 )
24
Calculation Grid
Breaking up of the flow domain into small
cells is central to CFD. Grid or mesh refers
to the totality of such cells.
In Open channel flow simulation the
vertices of a cell define a unique point
(x,y,,z)
* The governing equations are discretized
into algebraic equations and solved over
the volume of a cell.
25
Classification of Grids
Shape
Orthogonality
Structure
Blocks
Position of variables
Grid movements
26
Boundary Conditions
Inflow b. c
If Fr<1, specify discharge or velocity.
If Fr>1, specify discharge or velocity and
depth
Outflow b.c
Zero depth gradient or Newmann b.c
Specify depth
Specify Fr=1
27
Initial Condition
Values of flow depth, velocity, pressure etc
must be assigned at the start of the
calculation run.
Hot start
28
u 1 30 y
ln
u
ks
wall law for rough boundaries
29
Methods of Solution
Finite Difference
Method
Finite element method
Finite volume method
Strategies
Implicit
Explicit
CFL condition
dx
dt
(U c)
30