Top Banner
FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW
30

FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

Dec 23, 2015

Download

Documents

Jennifer Park
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION

OF NUMERICAL SIMULATION IN FREE SURFACE FLOW

Page 2: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

2

Governing Equations of Fluid Flow

Navier-Stokes Equations• A system of 4 nonlinear PDE of mixed

hyperbolic parabolic type describing the fluid hydrodynamics in 3D.

• Three equations of conservation of momentum in cartesian coordinate system plus equation of continuity embodying the principal of conservation of mass.

• Expression of F=ma for a fluid in a differential volume.

Page 3: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

3

j

ij

ii

x

y

x

x

uu

t

ua

z

ww

y

wv

x

wu

t

wa

z

vw

y

vv

x

vu

t

va

z

uw

y

uv

x

uu

t

ua

3

2

1

Page 4: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

4

• The acceleration vector contains local acceleration and covective terms

• The force vector is broken into a surface force and a body force per unit volume.

• The body force vector is due only to gravity while the pressure forces and the viscous shear stresses make up the surface forces.

Page 5: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

5

)6(1

)5(1

)4(1

zyxz

pgf

zyxy

pgf

zyxx

pgf

zzyzxzzz

zyyyxyyy

zxyxxxxx

Page 6: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

6

• The stresses are related to fluid element displacements by invoking the Stokes viscosity law for an incompressible fluid.

10

9

8

72,2,2

y

w

z

v

z

u

x

w

x

v

y

u

x

w

x

v

x

u

zyyz

zxxz

yxxy

zzyyxx

Page 7: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

7

notationEinsteinxx

u

x

pgf

z

w

y

w

x

w

z

pgf

z

v

y

v

x

v

y

pgf

z

u

y

u

x

u

x

pgf

jj

i

iii

zz

yy

xx

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

2

1

)13(1

)12(1

)11(1

Substituting eqs. 7-10 into eqs. 4-6, we get

Page 8: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

8

)1A(1 2

ijj

i

ij

ij

i gxx

u

x

p

x

uu

t

u

)2A(0

0

i

i

x

u

z

w

y

v

x

u

The three N-S momentum equations can be written in compact form as

The equation of continuity for an incompressible fluid

Page 9: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

9

TurbulenceThe 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

Turbulent flow is irregular, random and chaotic. The flow consists of a spectrum of different scales (eddy sizes) where largest eddies are of the order of the flow geometry (i.e. flow depth, jet width, etc). At the

Page 10: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

10

other end of the spectra we have the smallest eddies which are by viscous forces (stresses) dissipated into internal energy.

2.Diffusuvity The turbulence increases the exchange of momentum in flow thereby increasing the resistance (wall friction) in internal flows such as in channels and pipes.

3.Large Reynolds Number Turbulent flow occurs at high Reynolds number. For example, the transition to turbulent flow in pipes occurs at NR~2300 and in boundary layers at NR~100000

Page 11: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

11

4.Three-dimensional Turbulent flow is always three-dimensional. However, when the equations are time averaged we can treat the flow as two-dimensional.

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.

Page 12: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

12

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.

Why decompose variables ?

Firstly, we are usually interested in the mean values rather than the time histories. Secondly, when we want to solve the Navier-Stokes equation numerically it would require a very fine grid to resolve all turbulent scales and it would also require a fine resolution in time since turbulent flow is always unsteady.

ppp

www

vvv

uuu

Page 13: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

13

Reynolds Time-averaged Navier-Stokes Equations

These are obtained from the N-S equations and include the flow turbulence effect as well.

directionxinequationMomentum

1

z

uwu

zy

uvu

y

x

uuu

xx

pg

z

uw

y

uv

x

uu

t

ux

Page 14: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

14

RNS Equations

tensorstressReynold

tensorstressviscouswhere

0

11

jiRij

i

j

j

i

vij

i

ij

Rij

j

vij

ij

ij

i

uu

x

u

x

u

x

u

gxxx

p

x

uu

t

u

Page 15: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

15

Reynold StressesThe 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.

Page 16: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

16

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 time-averaged velocity components.

Page 17: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

17

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.

j

i

i

jtji x

U

x

Uuu

Page 18: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

18

k-ε Turbulence Model

the Reynold stress tensor is calculated via the Boussinesq approximation

2

kct

Two transport equations are solved which describe the transport of the turbulent kinetic energy, k and its dissipation, ε. The eddy viscosity is calculated as

Page 19: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

19

RNS Equations and River Flow Simulation

• RNS equations are seldom used for the river flow simulation. Reasons being

• High Cost• Long Calculation time• Flow structure • Method of choice for flows in rivers,

streams and overland flow is 2D and 1D Saint Venant equations or Shallow water equations

Page 20: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

20

2D Saint Venant Equation

• Obtained from RNS equations by depth-averaging.

• Suitable for flow over a dyke, through the breach, over the floodplain.

• Assumptions: hydrostatic pressure distribution, small channel slope,

Page 21: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

21

2D Saint Venant Equations

eqmomentumyh

vuvgn

y

zgh

y

hgh

y

hv

x

huv

t

hv

eqmomentumxh

vuugn

x

zgh

x

hgh

y

huv

x

hu

t

hu

eqcontinuityy

hv

x

hu

t

h

b

b

31

222

2

31

222

2

)()()(

)()()(

.0)()(

Page 22: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

22

1D Saint Venant Equation

0

t

A

t

Q

)( 0 fSSgx

hg

x

UU

t

U

The friction slope Sf is usually obtained from a uniform flow formula such as Manning or chezy.

Page 23: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

23

Simplified Equations of Saint Venant

wavewavewavesteadywave

kinematicdiffusivequasidyndynamic

SSx

h

x

u

g

u

t

u

g fo

.

1

Page 24: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

24

Relative Weight of Each Termin SV Equation

)10(

)10(

)10(

)10(1

3

3

5

5

OS

OS

Ox

u

g

u

Ot

u

g

f

o

Order of magnitude of each term In SV equation for a flood on river Rhone

Page 25: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

25

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.

Page 26: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

26

Classification of Grids

• Shape

• Orthogonality

• Structure

• Blocks

• Position of variables

• Grid movements

Page 27: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

27

Boundary Conditions

• Inflow b. cIf Fr<1, specify discharge or velocity.If Fr>1, specify discharge or velocity and

depth• Outflow b.cZero depth gradient or Newmann b.cSpecify depthSpecify Fr=1

Page 28: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

28

Initial Condition

• Values of flow depth, velocity, pressure etc must be assigned at the start of the calculation run.

• Hot start

Page 29: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

29

Wall Boundary Condition

No slip condition require very fine meshing adjacent to the wall requiring lot of CPU time. Flow close to the wall is not resolved but wall laws derived from the universal velocity distribution are used.

boundariesroughforlawwall

k

y

u

u

s

30ln

1

Page 30: FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION OF NUMERICAL SIMULATION IN FREE SURFACE FLOW.

30

Methods of Solution

• Finite Difference Method

• Finite element method

• Finite volume method

• Strategies• Implicit• Explicit• CFL condition

)( cU

dxdt