Geophysical Ice Flows: Analytical and Numerical Approaches Will - - PowerPoint PPT Presentation

geophysical ice flows analytical and numerical approaches
SMART_READER_LITE
LIVE PREVIEW

Geophysical Ice Flows: Analytical and Numerical Approaches Will - - PowerPoint PPT Presentation

Geophysical Ice Flows: Analytical and Numerical Approaches Will Mitchell University of Alaska - Fairbanks July 23, 2012 Supported by NASA grant NNX09AJ38G Ice: an awesome problem ...velocity, pressure, temperature, free surface all evolve


slide-1
SLIDE 1

Geophysical Ice Flows: Analytical and Numerical Approaches

Will Mitchell

University of Alaska - Fairbanks

July 23, 2012 Supported by NASA grant NNX09AJ38G

slide-2
SLIDE 2

Ice: an awesome problem

...velocity, pressure, temperature, free surface all evolve

slide-3
SLIDE 3

Outline

◮ I. Introduction to viscous fluids ◮ II. Exact solutions ◮ III. Finite element solutions

slide-4
SLIDE 4

Stress: force per unit area

A tornado sucks up a penny. At any time:

◮ The fluid into which n points exerts a

force on the penny

◮ Force / area = stress ◮ The stress vector is a linear function of n ◮ In a Cartesian system: stress = σ · n ◮ σ is the Cauchy stress tensor

Quiz: Suppose there is no p ≥ 0 such that σ · n = −pn. Physical interpretation?

slide-5
SLIDE 5

Decomposition of stress

◮ In a fluid at rest, σ · n = −pn, so

σ = −pI

◮ In general, choose p = −Trace(σ)/d, so

σ = −pI + τ where τ has zero trace. ... this defines pressure p and deviatoric stress τ

slide-6
SLIDE 6

Strain rate

◮ let u be a velocity field ◮ the gradient of a vector is the tensor (∇u)ij = ∂uj

∂xi

◮ define Du = 1

2(∇u + ∇uT)

◮ in 2D: Du = 1 2

   2∂u1 ∂x1 ∂u2 ∂x1 + ∂u1 ∂x2 ∂u1 ∂x2 + ∂u2 ∂x1 2∂u2 ∂x2   

◮ Du is the strain rate tensor.

True or False: “Since Du is a derivative of velocity, it measures acceleration.”

slide-7
SLIDE 7

Constitutive Laws: Newtonian

How does a fluid respond to a given stress?

◮ For Newtonian fluids (e.g. water) a linear law:

τ = 2µDu The proportionality constant µ is the viscosity.

slide-8
SLIDE 8

Constitutive Laws: Glen’s

For glacier ice, a nonlinear law.

◮ define

τ =

  • 1

2Tr(τ Tτ) and Du =

  • 1

2Tr(DuTDu)

◮ assume

Du = A τn

◮ the law is either of

τ = (A τn−1)−1Du τ = A−1/n Du(1−n)/n Du A is the ice softness, n ≈ 3 is Glen’s exponent.

slide-9
SLIDE 9

Stokes Equation

What forces act on a blob occupying a region Ω within a fluid?

◮ body force, gravity:

  • Ω ρg

◮ force exerted by surrounding fluid:

  • ∂Ω σ · n =
  • Ω ∇ · σ

Force = rate of change of momentum

ρg + ∇ · σ = ∂ ∂t

ρu =

D Dt ρu. In glaciers, Fr=

  • D

Dt ρu

  • :
  • p
  • < 10−15 so

ρg + ∇ · σ = 0.

slide-10
SLIDE 10

Incompressible Stokes System (two versions)

  • ρg + ∇ · σ

= 0 ∇ · u = 0 ∇ · σ = ∇ · τ + ∇p = 2µ∇ · ˙ ǫ − ∇p = µ∇ · (∇u) + µ∇ · (∇uT) − ∇p ∇ · (∇u) = ∂ ∂xj ∂uj ∂xi = ∂ ∂xi (∇ · u) = 0 ∇ · (∇uT) = ∂ ∂xj ∂ui ∂xj = ∆u

  • −µ△u + ∇p

= ρg ∇ · u = 0

slide-11
SLIDE 11

The Biharmonic Equation

◮ for 2D, incompressible flow: u = (u, 0, w) and ∇ · u = 0 ◮ there is a streamfunction ψ such that ψz = u, −ψx = w. ◮ take the curl of the Stokes eqn

∇ ×

  • − µ△u + ∇p = ρg
  • to get the biharmonic equation

ψxxxx + 2ψxxzz + ψzzzz = 0

  • r

△△ψ = 0. Quiz: give an example of a function solving the biharmonic eqn.

slide-12
SLIDE 12

Ice: an awesome problem

...velocity, pressure, temperature, free surface all evolve

slide-13
SLIDE 13

Slab-on-a-slope: a tractable problem

g = (g1, g2) = ρg

  • sin(α), − cos(α)
  • ...no evolution
slide-14
SLIDE 14

Stokes bvp

find a velocity u = (u, w) and pressure p such that −∇p + µ△u = −g

  • n Ω

∇ · u = 0

  • n Ω

u(0, z) − u(L, z) = 0 for all z ux(0, z) − ux(L, z) = 0 for all z u = f

  • n {z = 0}

w = 0

  • n {z = 0}

wx + uz = 0

  • n {z = H}

2wzx − (uxx + uzz) = g1/µ

  • n {z = H}

where f (x) = a0 + ∞

n=1 an sin(λnx) + bn cos(λnx).

slide-15
SLIDE 15

biharmonic bvp

find a streamfunction ψ such that △△ψ = 0

  • n Ω

ψz(0, z) − ψz(L, z) = 0 for all z ψxz(0, z) − ψxz(L, z) = 0 for all z ψx(0, z) − ψx(L, z) = 0 for all z ψxx(0, z) − ψxx(L, z) = 0 for all z ψ(x, 0) = 0 for all x ψz(x, 0) = f for all x ψzz(x, H) − ψxx(x, H) = 0 for all x 3ψxxz(x, H) + ψzzz(x, H) = −g1/µ for all x. (1)

slide-16
SLIDE 16

biharmonic bvp, subproblem: f = 0

ψ(x, z) = g1H 2µ z2− g1 6µz3 − → u(x, z) = g1H µ z − g1 2µz2 w(x, z) = 0 ...this is Newtonian laminar flow, a well known solution.

slide-17
SLIDE 17

biharmonic bvp, subproblem: f = 0

strategy:

◮ separate variables: ψ(x, z) = X(x)Z(z) ◮ periodicity: take X(x) = sin(λx) + cos(λx) for λ = 2πn

L

◮ the biharmonic eqn reduces to an ODE:

0 = △2(XZ) = X

  • λ4Z − 2λ2Z ′′ + Z (iv)

◮ for λ > 0 this gives

Z(z) = a sinh(λz) + b cosh(λz) + cz sinh(λz) + dz cosh(λz)

◮ homogeneous bcs determine b, c, d in terms of a ◮ weighted sum gets the nonzero condition

slide-18
SLIDE 18

Exact Solutions

Horizontal Component of Velocity: u(x, z) = a0 + g1H µ z − g1 2µz2 +

  • n=1

λnH2(an sin(λnx) + bn cos(λnx)) λ2

nH2 + cosh2(λnH)

Z ′

n(z)

where Z ′

n(z) = − 1

H cosh(λnH)

  • sinh(λn(z − H)) + λnz cosh(λn(z − H))
  • + cosh(λnH) − λnH sinh(λnH)

λnH2 ·

  • cosh(λn(z − H))

+ λnz sinh(λn(z − H))

  • + λn cosh(λnz).
slide-19
SLIDE 19

Exact Solutions

Vertical Component of Velocity: w(x, z) =

  • n=1

λ2

nH2

λ2

nH2 + cosh2(λnH)(bn sin(λnx) − an cos(λnx))Zn(z)

where Zn(z) = sinh(λnz) − 1 H cosh(λnH)z sinh(λn(z − H)) + cosh(λnH) λnH2 − sinh(λnH) H

  • z cosh(λn(z − H))
slide-20
SLIDE 20

Exact Solutions

Pressure: p(x, z) = g2z − g2H + 2µ

  • n=1

λ3

nH(an cos(λnx) − bn sin(λnx))

λ2

nH2 + cosh2(λnH)

×

  • sinh(λnz) − cosh (λnH)

λnH cosh (λn(z − H))

  • .

... this is new.

slide-21
SLIDE 21
slide-22
SLIDE 22

The finite element method

◮ numerical approximation of p and u ◮ requires a mesh of the domain: ◮ leads to a system of linear equations Ax = b

slide-23
SLIDE 23

Variational Formulation: incompressibility

Incompressibility: ∇ · u = 0. We seek a u ∈ H1(Ω) such that for all q ∈ L2(Ω), we have

q∇ · u = 0. u is a trial function; q is a test function.

slide-24
SLIDE 24

Variational Formulation: Stokes

Put σ = τ − pI in the Stokes equation: 0 = ∇ · τ − ∇p + ρg Dot with v ∈ H1 and integrate over Ω. Integration by parts gives

τ : ∇v −

p∇ · v −

  • ∂Ω

n · σ · v = ρ

g · v. More manipulation gives 1 2µ

  • ∇uT + ∇u
  • :
  • ∇v + ∇vT

p∇ · v = ρ

g · v.

slide-25
SLIDE 25

Variational Formulation

Find (u, p) ∈ H1

E × L2 such that for all (v, q) ∈ H1 E0 × L2 we have

1 2µ

  • ∇uT + ∇u
  • :
  • ∇v + ∇vT

p∇·v+

q∇·u = ρ

g·v. Still a continuous problem: (u, p) satisfy many conditions. Make a discrete problem using finite-dimensional spaces.

slide-26
SLIDE 26

Pressure Approximation space

Continuous functions that are linear on each triangle: a 16-dimensional space with a convenient basis.

slide-27
SLIDE 27

Velocity Approximation space

Continuous functions that are quadratic on each triangle: a 49-dimensional space (per component) with a convenient basis.

slide-28
SLIDE 28
slide-29
SLIDE 29

Implementation I

...based on [Jar08] but with an important difference

1 from

d o l f i n import ∗

2 #Set

domain parameters and p h y s i c a l c ons ta nts

3 Le , He = 4e3 ,

5e2 #length , h e i g h t (m)

4 alpha = 1∗ p i /180

#s l o p e angle ( r a d i a n s )

5 rho , g = 917 ,

9.81 #d e n s i t y ( kg m−3) , g r a v i t y (m sec −2)

6 mu

= 1e14 #v i s c o s i t y (Pa sec )

7 G = Constant (( s i n ( alpha ) ∗g∗rho ,− cos ( alpha ) ∗g∗ rho ) ) 8 #Define

a mesh and some f u n c t i o n spaces

9 mesh = Rectangle (0 ,0 , Le , He , 3 , 3 ) 10 V = VectorFunctionSpace ( mesh ,

”CG” , 2) #pw q u a d r a t i c

11 Q =

FunctionSpace ( mesh , ”CG” , 1) #pw l i n e a r

12 W = V ∗ Q

#product space

13 ””” Define

the D i r i c h l e t c o n d i t i o n at the base ”””

14 def

LowerBoundary ( x ,

  • n boundary ) :

15

r e t u r n x [ 1 ] < DOLFIN EPS and

  • n boundary

16 S l i p R a t e = E x p r e s s i o n (( ”(3+1.7∗ s i n (2∗ p i/%s ∗x [ 0 ] ) ) \ 17

/31557686.4 ”%Le , ” 0.0 ” ) )

18 bcD = Di ri c hl et B C (W. sub (0) ,

SlipRate , LowerBoundary )

slide-30
SLIDE 30

Implementation II

19 #Define

the p e r i o d i c c o n d i t i o n

  • n

the l a t e r a l s i d e s

20 c l a s s

PeriodicBoundary x ( SubDomain ) :

21

def i n s i d e ( s e l f , x ,

  • n boundary ) :

22

r e t u r n x [ 0 ] == 0 and

  • n boundary

23

def map( s e l f , x , y ) :

24

y [ 0 ] = x [ 0 ] − Le

25

y [ 1 ] = x [ 1 ]

26 pbc x = PeriodicBoundary x () 27 bcP = PeriodicBC (W. sub (0) ,

pbc x )

28 ””” Define

the v a r i a t i o n a l problem : a (u , v ) = L( v ) ”””

29 ( v i ,

q i ) = TestFunctions (W)

30 ( u i ,

p i ) = T r i a l F u n c t i o n s (W)

31 a = (0.5∗mu∗ i n n e r ( grad ( v i )+grad ( v i ) .T,

grad ( u i ) \

32

+grad ( u i ) .T) − d i v ( v i ) ∗ p i + q i ∗ d i v ( u i ) ) ∗dx

33 L = i n n e r ( v i , G) ∗dx 34 ””” Matrix

assembly and s o l u t i o n ”””

35 U = Function (W) 36 s o l v e ( a==L ,U , [ bcD , bcP ] ) 37 ””” S p l i t

the mixed s o l u t i o n to r e c o v e r u and p”””

38 (u ,

p ) = U. s p l i t ()

slide-31
SLIDE 31

Convergence to Exact Solutions Errors in FEM velocity and pressure plotted against maximum element diameter, together with convergence rates m.

slide-32
SLIDE 32

References I

[Ach90] D. J. Acheson. Elementary Fluid Dynamics. Oxford University Press, New York, 1990. [AG99] Cleve Ashcraft and Roger Grimes. SPOOLES: an

  • bject-oriented sparse matrix library. In Proceedings of

the Ninth SIAM Conference on Parallel Processing for Scientific Computing 1999 (San Antonio, TX), page 10, Philadelphia, PA, 1999. SIAM. [Bat00] G. K. Batchelor. An Introduction to Fluid Dynamics. Cambridge University Press, Cambridge, UK, 2000. [BR85] M. J. Balise and C. F. Raymond. Transfer of basal sliding variations to the surface of a linearly viscous

  • glacier. Journal of Glaciology, 31(109), 1985.

[CP10] K. M. Cuffey and W. S. B. Paterson. The Physics of

  • Glaciers. Academic Press, Amsterdam, Boston, 4th

edition, 2010.

slide-33
SLIDE 33

References II

[DH03] J. Donea and A. Huerta. Finite Element Methods for Flow Problems. Wiley, New York, 1st edition, 2003. [DM05] L. Debnath and P. Mikusinski. Introduction to Hilbert Spaces with Applications, Third Edition. Academic Press, 3rd edition, 2005. [Ern04] A. Ern. Theory and Practice of Finite Elements. Springer, Berlin, Heidelberg, 2004. [ESW05] H. C. Elman, D. J. Silvester, and A. J. Wathen. Finite Elements And Fast Iterative Solvers - With Applications in Incompressible Fluid Dynamics. Oxford University Press, New York, 2005. [GB09] R. Greve and H. Blatter. Dynamics of Ice Sheets and Glaciers (Advances in Geophysical and Environmental Mechanics and Mathematics). Springer, 1st edition. edition, 8 2009.

slide-34
SLIDE 34

References III

[Goo82] A. M. Goodbody. Cartesian tensors - with applications to mechanics, fluid mechanics and elasticity. E. Horwood, Chichester, 1982. [Jar08] A. H. Jarosch. Icetools: A full stokes finite element model for glaciers. Computers & Geosciences, 34:1005–1014, 2008. [J´

  • h92] T´
  • mas J´
  • hannesson. Landscape of Temperate Ice Caps.

PhD thesis, University of Washington, 1992. [LJG+12] W. Leng, L. Ju, M. Gunzberger, S. Price, and T. Ringler. A parallel high-order accurate finite element nonlinear stokes ice sheet model and benchmark experiments. Journal of Geophysical Research, 117, 2012.

slide-35
SLIDE 35

References IV

[LMW12] A. Logg, K. Mardal, and G. Wells, editors. Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book (Lecture Notes in Computational Science and Engineering). Springer, Berlin, Heidelberg, 2 2012. [Pir89] O. Pironneau. Finite element methods for fluids. Wiley, New York, 1989. [QV94] A. Quarteroni and A. Valli. Numerical Approximation of Partial Differential Equations. Springer, Berlin, Heidelberg, 1st edition, 1994. [TS63] A. N. Tikhonov and A. A. Samarskii. Equations of Mathematical Physics. Pergamon Press, Oxford, 1963. Translated by A.R.M. Robson and P. Basu and edited by

  • D. M. Brink.

[Wor09] G. Worster. Understanding Fluid Flow. Cambridge University Press, Cambridge, 1st edition, 2009.