modelos hidrodinâmicos

21
Modelos Hidrodinâmicos Aula 4 Equations for 3D and 2D Hydrodynamic Models. Parameters and Boundary and Initial Conditions

Upload: ama

Post on 22-Feb-2016

56 views

Category:

Documents


1 download

DESCRIPTION

Modelos Hidrodinâmicos. Aula 4 Equations for 3D and 2D Hydrodynamic Models. Parameters and Boundary and Initial Conditions. Mass conservation. If P is the volumic mass , that has no Sources or Sinkes and has no diffusion because the net movement of molecules is the velocity …. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Modelos Hidrodinâmicos

Modelos Hidrodinâmicos

Aula 4Equations for 3D and 2D Hydrodynamic Models.Parameters and Boundary and Initial Conditions

Page 2: Modelos Hidrodinâmicos

Mass conservation

)( PFnceluxDivergeDiffusiveFnceluxdivergeAdvectiveFmulationRateOfAccu

PFxP

xxPu

tP

jjj

j

If P is the volumic mass, that has no Sources or Sinkes and has no diffusion because the net movement of molecules is the velocity….

0

j

j

xu

t

0

j

j

xu

If incompressible:

Page 3: Modelos Hidrodinâmicos

Momentum Conservation

)( PFfusivoaDoFluxoDidivergêncivectivoaDoFluxoAddivergênciaçãoTaxaAcumul

PFxP

xxPu

tP

jjj

j

Se P for a quantidade de movimento por unidade de volume:

PFxu

xxuu

tu

j

i

jj

ij

i

Sources and sinks are Pressure forces (gravitational is zero because we are interested only on horizontal momentum)

j

i

jij

ij

i

xu

xxP

xuu

tu

Page 4: Modelos Hidrodinâmicos

Shallow Water Equations

• Hydrostatic Pressure (vertical aceleration negligeable).• If “z” is the vertical axis, pointing upwards:

ii

z

xg

xP

zgP

gdzP

gzP

)(

Page 5: Modelos Hidrodinâmicos

Equações das águas pouco profundas

)2,1(

i

xu

xxg

xuu

tu

j

i

jij

ij

i

0

j

j

xu )2,1(0

idzuxt ii

Page 6: Modelos Hidrodinâmicos

Using the Leibnitz rule these equations can be integrated on vertical to obtain

the equations of a 2D model.

Page 7: Modelos Hidrodinâmicos

xhu

xuudz

xdzxu

hz

z

hzz

z

hz

yhv

yvvdz

xdzyv

hz

z

hzz

z

hz

hzz

z

hz

wwdzzw

zw

yv

xu

xu

i

i

Page 8: Modelos Hidrodinâmicos

0

0

0;

yHV

xHU

t

vdzy

udzxt

th

yhv

xhu

th

dtdhw

yv

xu

tdtdw

hh

hzhzhz

zzz

Page 9: Modelos Hidrodinâmicos

The Finite Volume

Page 10: Modelos Hidrodinâmicos

The 2D case

xx hH xxxx hH

The Accumulation rate = flows in – flows out

yHv

xHu

t

HuHvHuHut

yxtvol

yyyxxx

Page 11: Modelos Hidrodinâmicos

1D CaseL

xAxxA

0

xQ

tL

AuAut

xLtAx

tvol

xxx

The Accumulation rate = flows in – flows out

Page 12: Modelos Hidrodinâmicos

Momentum: 1D Case

Lb: wet perimeter

Ls

A

bbss

bs

ixxx

xxx

LLx

gAxUQ

tQ

LLx

gAxUA

xxUQ

tQ

SSvolxUA

xUAAuUAUU

tAUx

tvolU

)((( 0

Horizontal diffusion is negligible compared to vertical diffusion

Page 13: Modelos Hidrodinâmicos

The 1D Spatial Grid

QiQi-1 Qi+1zizi-1

Page 14: Modelos Hidrodinâmicos

Discretization

0

:

0

2/2/

2/2/*

2/*

2/

*2/

*2/

*2/

*2/

*2/

*2/

xQQ

tL

LLx

gAxUQUQ

tQQ

ExplicitxQQ

tL

LLx

gAxUQUQ

tQQ

tx

tx

tx

ttxt

s

bbss

ttx

ttxxx

ttt

xxtx

ttxt

s

bbssxxxx

ttt

A staggered grid is convenient.Temporal discretization can be explicit, implicit ou Crank-Nicholson

Page 15: Modelos Hidrodinâmicos

Bottom shear stress

α

025.0

)(

.

23/4

22

n

mulaManningForURngUc

zutg

hfb

b

Page 16: Modelos Hidrodinâmicos

2D Case

fsj

i

jij

iji

j

i

fsj

i

jij

iji

HxUH

xHxg

xUHU

HtU

or

xHU

t

xUH

xxgH

xUHU

tHU

111

:

0

Page 17: Modelos Hidrodinâmicos

Stability

• Explicit (1D):

• Implicit: Incondicionally stable• Explicit 2D:

1

xtgH

1)2/(

xtgH

Page 18: Modelos Hidrodinâmicos

Boundary Conditions

02/2/

2/2/*

2/*

2/

xQQ

tL

LLx

gAxUQUQ

tQQ

tx

tx

tx

ttxt

s

bbss

ttx

ttxxx

ttt

Q2Q1 z2z1z0

• One can impose Free Surface levels and compute discharges or vice versa.• On sea side level is easier to know (tide) and on the land side river discharge use

to be easier.

Page 19: Modelos Hidrodinâmicos

Other boundary conditions

• Bathymetry!• Surface shear stress,• Diffusive fluxes,• Advective fluxes.

Page 20: Modelos Hidrodinâmicos

Initial conditions

• Discharges/velocities,• Levels.• The good thing is that dissipative systems have

low memory. Approximate initial conditions can be used. Usually zero velocity and horizontal free surface.

Page 21: Modelos Hidrodinâmicos

Parameters

• Friction coefficient,• Diffusion coefficient.• Surface friction coefficient if flux in not known

(e.g. from a meteorological model).