numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf ·...

43
Numerical computations for the tear film equations in a blink cycle with spectral collocation methods A. Heryudono 1 , R.J. Braun 1 , T.A. Driscoll 1 , K.L. Maki 1 , L.P. Cook 1 , and P.E. King-Smith 2 1 Mathematical Sciences, U of Delaware and 2 College of Optometry, Ohio State U Applied Mathematics Seminar George Mason University October 26 2007 Heryudono et al ( 1 Mathematical Sciences, U of Delaware and 2 College of Optometry, Ohio State U) Computations for the tear film 1 / 33

Upload: others

Post on 23-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Numerical computations for the tear film equations in a

blink cycle with spectral collocation methods

A. Heryudono1, R.J. Braun1, T.A. Driscoll1, K.L. Maki 1, L.P. Cook1,and P.E. King-Smith2

1Mathematical Sciences, U of Delawareand 2College of Optometry, Ohio State U

Applied Mathematics SeminarGeorge Mason University

October 26 2007

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 1 / 33

Page 2: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Outline

1 Problem

2 Spectral collocation methods

3 Overcoming difficulties

4 Imposing boundary conditions

5 Numerical results

6 Ongoing research

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 2 / 33

Page 3: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Our mission

How do we simulate the dynamics of the tear film ?

L

Air

A

1C

(units: microns)0.02−0.05

(M)

52.5−

Interference fringes.

Get insight from 1-D case first.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 3 / 33

Page 4: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem 1-D model formulation

y’=h d0

y’=h d0

y’

x’

g

dy’=h’(x’,t’)

x’=L’

x’=X’(t’)

Physical parameters: Braun et al.

Constants Description

L′ = 5 mm half the width of the palpebral fissure (x direction)d = 5 µm thickness of the tear film away from ends

ε = dL′

≈ 10−3 small parameter for lubrication theory

Um = 10–30 cm/s maximum speed across the filmL′/Um = 0.05 s time scale for real blink speedsσ0 = 45 mN/m surface tension

µ = 10−3 Pa·s viscosity

ρ = 103 kg/m3 density

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 4 / 33

Page 5: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Assumptions

Inside the film

Viscous incompressible parallel flow inside the film.Inertial terms and gravity are neglected.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 5 / 33

Page 6: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Assumptions

Inside the film

Viscous incompressible parallel flow inside the film.Inertial terms and gravity are neglected.

At the wall

On the impermeable wall at y = 0, we have the boundary conditions

v = 0, u = βuy ;

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 5 / 33

Page 7: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Assumptions

Inside the film

Viscous incompressible parallel flow inside the film.Inertial terms and gravity are neglected.

At the wall

On the impermeable wall at y = 0, we have the boundary conditions

v = 0, u = βuy ;

At the free surface

Simplified normal stress condition at y = h(x , t)

p = −Shxx , S =ε3σ

µUm

Kinematic condition

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 5 / 33

Page 8: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Free surface evolution

ht + qx = 0 on X (t) ≤ x ≤ 1,

where

q =

∫ h

0

u(x , y , t)dy

The stress-free case.

q(x , t) = Shxxx

(

h3

3+ βh2

)

Boundary conditions

h(X (t), t) = h(1, t) = h0 q(X (t), t) = Xth0 + Qtop q(1, t) = −Qbot .

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 6 / 33

Page 9: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Free surface evolution

ht + qx = 0 on X (t) ≤ x ≤ 1,

where

q =

∫ h

0

u(x , y , t)dy

The stress-free case.

q(x , t) = Shxxx

(

h3

3+ βh2

)

The uniform stretching limit (USL).

q(x , t) =h3

12

(

1 +3β

h + β

)

(Shxxx ) + Xt

1 − x

1 − X

h

2

(

1 +β

h + β

)

Boundary conditions

h(X (t), t) = h(1, t) = h0 q(X (t), t) = Xth0 + Qtop q(1, t) = −Qbot .

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 6 / 33

Page 10: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Realistic lid motion

y

x

y

x x

y

x

y

Fully open 2/3 open 1/3 open Closed

Berke and Mueller (98), Heryudono et al (07)

0.0 3.5 103.5 105.2

−1

−0.5

0

0.5

1

1.5

2

t

XX

t

Qtop

Qbot

upstroke downstroke

open phase

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 7 / 33

Page 11: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Flux functions

Flux proportional to lid motion (FPLM) (Jones et al (05))

Qtop = −Xthe , Qbot = 0

Add in lacrimal gland supply and punctal drainage approximated byGaussians.

Picture is taken from the Wikipedia commons

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 8 / 33

Page 12: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Numerical difficulties

1 Moving boundary problem.

Fixed grid scheme is not convenient.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 9 / 33

Page 13: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Numerical difficulties

1 Moving boundary problem.

Fixed grid scheme is not convenient.

2 Fourth-order in space.

Roundoff errors in computing high derivatives.Stiffness.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 9 / 33

Page 14: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Numerical difficulties

1 Moving boundary problem.

Fixed grid scheme is not convenient.

2 Fourth-order in space.

Roundoff errors in computing high derivatives.Stiffness.

3 Nonlinearity.

Implicit method.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 9 / 33

Page 15: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Numerical difficulties

1 Moving boundary problem.

Fixed grid scheme is not convenient.

2 Fourth-order in space.

Roundoff errors in computing high derivatives.Stiffness.

3 Nonlinearity.

Implicit method.

4 Third-order boundary conditions.

Imposing boundary conditions (BCs).Stability.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 9 / 33

Page 16: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Numerical difficulties

1 Moving boundary problem.

Fixed grid scheme is not convenient.

2 Fourth-order in space.

Roundoff errors in computing high derivatives.Stiffness.

3 Nonlinearity.

Implicit method.

4 Third-order boundary conditions.

Imposing boundary conditions (BCs).Stability.

5 Variable resolution and/or accurate high-order derivatives nearboundaries.

Adaptive scheme may be needed.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 9 / 33

Page 17: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Problem Transformation into a fixed domain

We transform the PDE into a fixed domain [−1, 1] via

ξ = 1 − 21− x

1 − X (t).

The equations (e.g. Stress free case) become

Ht =1 − ξ

L − XXtHξ −

(

2

L − X

)

Q = S

(

2

L − X

)3 (

H3

3+ βH2

)

Hξξξ

H(±1, t) = h0, Q(−1, t) = Xth0 + Qtop , Q(1, t) = −Qbot ,

H(ξ, 0) = hm + (h0 − hm)ξm.

ξ ∈ [−1, 1].

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 10 / 33

Page 18: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Spectral collocation methods

Advantages

Global high accuracy forsmooth function.

Fast matrix-vectoralgorithm via FFT.

Powerful theory (potentialtheory, orthogonalfunctions)

Disadvantages

Dense differentiationmatrices.

Must use nodes withspecial distributions.

Hard to apply in problemsinvolving irregulargeometry.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 11 / 33

Page 19: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Spectral collocation methods Lagrange representation

H0 H1 Hn

x0 x1 xn

H(x) =n

j=0

Hj`j(x), `j =

∏nk=0,k 6=j (x − xk)

∏nk=0,k 6=j (xj − xk)

The Lagrange polynomial `j corresponding to the node xj has the property

`j(xk) =

{

1 , j = k ,

0 , otherwise,j , k = 0..., n.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 12 / 33

Page 20: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Spectral collocation methods Choice of nodes and Runge Phenomenon

Node locations xj , j = 0, 1, ...,N Comments

xj = −1 + 2jN

equi-spaced

xj = −cos“

πjN

Chebyshev

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1

1.5equispaced points

max error = 5.9001

−1 −0.5 0 0.5 1−1

−0.5

0

0.5

1

1.5Chebyshev points

max error = 0.017523

Interpolating f (x) = 1/(1 + 16x2) with N = 16 nodes

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 13 / 33

Page 21: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Spectral collocation methods Potential theory

−1 −0.5 0 0.5 1

−1

−0.5

0

0.5

1

equispaced points

x

y

−1 −0.5 0 0.5 1

−1

−0.5

0

0.5

1

Chebyshev points

x

y

Analyticity of f (x) inside the region bounded by the smallest equipotentialcurve that contains [−1, 1]

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 14 / 33

Page 22: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Spectral collocation methods Differentiation matrices

H′

(x) =n

j=0

Hj`′

j(x), H′′

(x) =n

j=0

Hj`′′

j (x)

Computing k-th derivative ⇒ Matrix-Vector product

D(k)

u0...

uN

=

u(k)0...

u(k)N

,

where,

D(1)ij = `

j(xi ), D(2)ij = `

′′

j (xi ), etc.

Trefethen (2000), Spectral Methods in MATLAB, Welfert (97), Baltensperger & Trummer (02)

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 15 / 33

Page 23: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Spectral collocation methods Convergence comparisons with FD

101

102

103

104

10−14

10−12

10−10

10−8

10−6

10−4

10−2

100

N

err

or

N−4

N−2

e−c N

Spectral convergence for the firstderivative of f (x) = 1/(1 + 16x2)

2-nd order

0 2 4 6 8 10 12 14 16 18

0

2

4

6

8

10

12

14

16

18

nz = 36

4-th order

0 2 4 6 8 10 12 14 16 18

0

2

4

6

8

10

12

14

16

18

nz = 72

Spectral

0 2 4 6 8 10 12 14 16

0

2

4

6

8

10

12

14

16

nz = 256

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 16 / 33

Page 24: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Spectral collocation methods Method of Lines & Stability regions

Spectral discretization in space and standard ODE in time.

x1 x2 xn

unu1 u2

example :

ut = ux x ∈ [−1, 1)

u(1, t) = 0

ut = Du

∆tΛ(D) ⇒ stability

−2 −1 0−1.5

−1

−0.5

0

0.5

1

1.5Adams−Bashforth

−6 −4 −2 0−4

−2

0

2

4Adams−Moulton

−10 0 10 20 30

−20

−10

0

10

20

backward differentiation

−4 −2 0 2

−3

−2

−1

0

1

2

3

Runge−Kutta

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 17 / 33

Page 25: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Overcoming difficulties Enlarging time step restriction

Properties.

Extreme eigenvalues of Chebyshev differentiation matrices: O(N 2).

Minimal spacing of N Chebyshev nodes:∆xmin = 1 − cos(π/N) = O(N−2).

Explicit time marching scheme → ∆t = O(N−2).

Kosloff & Tal-Ezer (93)

Map Chebyshev points to a set points with larger minimal spacing.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 18 / 33

Page 26: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Overcoming difficulties Enlarging time step restriction

Properties.

Extreme eigenvalues of Chebyshev differentiation matrices: O(N 2).

Minimal spacing of N Chebyshev nodes:∆xmin = 1 − cos(π/N) = O(N−2).

Explicit time marching scheme → ∆t = O(N−2).

Kosloff & Tal-Ezer (93)

Map Chebyshev points to a set points with larger minimal spacing.

Roundoff reduction

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 18 / 33

Page 27: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Overcoming difficulties Kosloff & Tal-Ezer symmetric mapping

Consider a symmetric transformation

ψ = g(ξ;α) =sin−1(αξ)

sin−1(α), ψ, ξ ∈ [−1, 1], α ∈ (0, 1).

By using chain rule, we obtain

df

dψ=

1

g ′(ξ;α)

df

for any given f ∈ C 1[−1, 1].

α = 1 − cN2 + O(N−3), c > 0 ⇒ ∆ψmin = O(N−1)

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 19 / 33

Page 28: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Overcoming difficulties Kosloff & Tal-Ezer non-symmetric mapping

ψ = g(ξ;α, β) =1

a

(

sin−1

(

2αβξ + α− β

α+ β

)

− b

)

, ψ, ξ ∈ [−1, 1]

where α and β control distribution points near ξ = 1 and ξ = −1 respectively. If

α = β, we end up having back to standard symmetric mapping.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 20 / 33

Page 29: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Overcoming difficulties Reducing roundoff error

Properties.

Roundoff error in computing derivatives with Chebyshevdifferentiation matrices:

O(N2k ),

where k is the order of derivative.

Mostly happens near boundaries.

Don & Solomonoff (97)Choice of parameter :

α = sech

(

|lnε|

N

)

,

where ε is the machine precision.Roundoff error reduction ⇒ O((N |lnε|)k)

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 21 / 33

Page 30: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Overcoming difficulties A test problem

Let f (x) be a smooth function on the interval [−1, 1] defined by

f (x) = 1 − h0−16(m+1) (2m

2(x2 − 1) + m(x2 − 7) − 6)x2m+2.

The graphs of f (x) for m = 10 and its derivatives.

−1 0 10

2

4

6

8

f(x)

x−1 0 1

−100

−50

0

50

100

f’(x)

x−1 0 1

0

500

1000

f(2)(x)

x−1 0 1

−1

−0.5

0

0.5

1x 10

4 f(3)(x)

x

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 22 / 33

Page 31: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Overcoming difficulties A test problem

−1 −0.5 0 0.5 1−15

−10

−5

0

x 107 q

x

x

qx = (( f 3

3 + βf 2)f (3))x

0 50 100 15010

−15

10−10

10−5

100

105

1010

N

max

err

or

qx

f(3)(x)

f(2)(x)

f(1)(x)

Dashed lines are the theoreticalroundoff effects

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 23 / 33

Page 32: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Imposing boundary conditions Fictitious point method

Fornberg (06)

Scale Chebyshev points such that x1 and xN−1 become −1 and 1 respectively.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 24 / 33

Page 33: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Imposing boundary conditions Fictitious point method

Fornberg (06)

Scale Chebyshev points such that x1 and xN−1 become −1 and 1 respectively.

Form interpolant based on new nodes.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 24 / 33

Page 34: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Imposing boundary conditions Fictitious point method

Fornberg (06)

Scale Chebyshev points such that x1 and xN−1 become −1 and 1 respectively.

Form interpolant based on new nodes.

Solve u0 and uN in terms of unknown uj based on boundary conditions. Then

incorporate them in the differentiation matrices.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 24 / 33

Page 35: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Imposing boundary conditions Fictitious point method

H at discretized points.

H =

H0

H1

...HN−1

HN

k-th partial derivatives of H(ξ, t) at unknown points ξ2..ξN−2 can be written as

H(k) = D(k)H

D(k) already contains information about H0, H1, HN−1 and HN which areobtained from boundary conditions.

⇒ In our simulations, only works for linear case.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 25 / 33

Page 36: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Imposing boundary conditions Differential algebraic form

H and Q each has its own interpolant. No fictitious points needed.

H =

H0

H1

...HN−1

HN

Q =

Q0

Q1

...QN−1

QN

.

H(k) = D(k)H and Q(k) = D(k)Q

H0, HN , Q0 and QN are known from boundary conditions and hence only valuesof H at inner nodes ξi , where i = 1, ..,N − 1, need to be found.

⇒ The system of eqs is twice as large

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 26 / 33

Page 37: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Imposing boundary conditions Differential algebraic form

M

[

Ht

Qt

]

=

[

I 00 0

] [

Ht

Qt

]

=

[

AD(1)H + BD(1)Q

C ( 13H3 + βH2)(D(3)H) − Q

]

A, B , and C are all (N − 1) × (N − 1) matrix with elements

Aij =1 − ξi

L − X (t), Bij =

−2

L − X (t), Cij = S

(

2

L − X (t)

)3

.

for all i , j = 1, ..,N − 1. M is a singular 2(N − 1) × 2(N − 1) matrix called massmatrix.

⇒ Solve DAE of index 1 with DASPK or ode15s in MATLAB.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 27 / 33

Page 38: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Imposing boundary conditions Modified spectral collocation method

No fictitious points needed.

Set Q

Q = Xt

1 − ξ

2

H

2

(

1 +β

H + β

)

+H3

12

(

1 +3β

H + β

)

[

S

(

2

1 − X

)3

Hξξξ

]

When computing Qξ, use Q(−1, t) = Xth0 + Qtop ,Q(1, t) = −Qbot .

Solve the initial value problem at inner nodes

Ht =1 − ξ

1 − XXtHξ −

(

2

1 − X

)

with ode solver ode15s.

⇒ possible connection with penalty method.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 28 / 33

Page 39: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Imposing boundary conditions Homogenization of BCs

Homogenization can be done by shifting variables H and Q such that

H = H − h0

Q = Q − (aξ + b).

It is clear that H(±1, t) = 0. In order to find a and b such that Q(±1, t) = 0, weend up solving 2 × 2 system of linear equations consisting of a + b = Q(1, t) and−a + b = Q(−1, t).

⇒ Our simulations work with/without homogenization.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 29 / 33

Page 40: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Numerical results Full blink results (FPLM)

Parameters N = 351, λ = 0.1, β = 10−2, S = 2 × 10−5, h0 = 13, he = 0.6, and initial volumeV0 = 2.576. Our simulation is done in MATLAB with ode15s as ODE solver.

Opening phase

−1 −0.5 0 0.5 10

4

8

12

x

h(x,

t)

0

t

3.52

fully open (zoom)

−1 −0.5 0 0.5 10

0.4

0.8

1.2

h(x,

t)

x

tt

5.9 103.52

The closing phase

−1 −0.5 0 0.5 10

4

8

12

x

h(x,

t) t

105.16

103.56

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 30 / 33

Page 41: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Numerical results Partial blinks results: FPLM + Gaussians

−1 −0.75 −0.5 −0.25 0 0.25 0.5 0.75 10

0.1

0.3

0.5

0.7

x

h(x,

t)t=133.68

t=238.84

t=344

experimentaldata

S = 2 × 10−5 case at various times

Interference fringes.

−1 −0.75 −0.5 −0.25 0 0.25 0.5 0.75 10

0.1

0.3

0.5

0.7

x

h(x,

t)

t=238.84

S = 8× 10−6

More results ⇒ Braun’s talk today !!

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 31 / 33

Page 42: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Numerical results Conservation of volume

0 20 40 60 80 100 12010

−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

t

Abso

lute

Erro

rs o

f Vol

ume

t vs Absolute Errors of Volume

FD N=2500

SM N=351

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 32 / 33

Page 43: Numerical computations for the tear film equations in a ...aheryudono/talks/gmu2007.pdf · Numerical computations for the tear lm equations in a blink cycle with spectral collocation

Ongoing research Things to be done

What happen with fictitious point method in the nonlinear case ?

Adaptive radial basis functions with MOL (Driscoll & Heryudono (06)).

Adaptive space-time radial basis functions.

2-D simulation.

Heryudono et al (1Mathematical Sciences, U of Delaware and 2College of Optometry, Ohio State U)Computations for the tear film 33 / 33