Docsity

Math 690N Assignment #3: Surface Integrals and Level Set Methods - Prof. Hailiang Liu, Assignments of Mathematics

Toggle sidebar
bg1
Math 690N Assignment #3
Level set Method 1
I. (Surface Integral) Write a code to compute a surface integral on Γ via
I=ZR2
f(x)δ(φ)|∇xφ)|dx.
where Γ = {x|φ(x) = 0, x ∈R2},δis the standard Dirac delta function. In
computation use the approximation
δ(φ) =
0φ < −,
1
2(1 + cos(πφ/)),|φ| ≤ ,
0φ > .
Test on the case φ=x2+y2−1 and f= 1. Take a spatial mesh size h, test on
different =h, 1.5h, 2h, ..., and comment on your numerical results.
II. (Level set equation) Compute the interface evolution for each of the following
cases.
1. (a) Use the 2nd order ENO method to approximate the spatial derivative and
TVD-Runge-Kutta for the temporal derivative, to compute the following trans-
port equation
φt+V· ∇xφ= 0, x ∈R2, φ(x, 0) = φ0.
(b) Apply the above algorithm to test the case with the external given velocity
field V= (−y, x) and the initial surface given by φ0= 0,
φ0= 2x2+y2−1.
2. For the normal velocity VN= 1, the level set equation becomes
φt+|∇xφ|= 0.
Simulate the interface evolution of the cosine curve given by
φ0= 0, φ =cos(2π(x−1)) −2y+ 1.
1Posted on March 05, 2008; due March 24, 2008
1
pf2

Partial preview of the text

Download Math 690N Assignment #3: Surface Integrals and Level Set Methods - Prof. Hailiang Liu and more Assignments Mathematics in PDF only on Docsity!

Math 690N Assignment

Level set Method 1

I. (Surface Integral) Write a code to compute a surface integral on Γ via

I =

R^2

f (x)δ(φ)|∇xφ)|dx.

where Γ = {x|φ(x) = 0, x ∈ R^2 }, δ is the standard Dirac delta function. In computation use the approximation

δ(φ) =

0 φ < −, 1 2  (1 +^ cos(πφ/)),^ |φ| ≤^ , 0 φ > .

Test on the case φ = x^2 + y^2 − 1 and f = 1. Take a spatial mesh size h, test on different  = h, 1. 5 h, 2 h, ..., and comment on your numerical results.

II. (Level set equation) Compute the interface evolution for each of the following cases.

  1. (a) Use the 2nd order ENO method to approximate the spatial derivative and TVD-Runge-Kutta for the temporal derivative, to compute the following trans- port equation φt + V · ∇xφ = 0, x ∈ R^2 , φ(x, 0) = φ 0. (b) Apply the above algorithm to test the case with the external given velocity field V = (−y, x) and the initial surface given by φ 0 = 0, φ 0 = 2x^2 + y^2 − 1.
  2. For the normal velocity VN = 1, the level set equation becomes φt + |∇xφ| = 0. Simulate the interface evolution of the cosine curve given by φ 0 = 0, φ = cos(2π(x − 1)) − 2 y + 1. (^1) Posted on March 05, 2008; due March 24, 2008

1

  1. A seven-pointed star curve determined by

(0.1 + 0. 065 sin(7 · 2 πs))(cos(2πs), sin(2πs)), s ∈ [0, 1],

evolves in a curvature driven flow. Write a program to display the evolution process for t = 0. 01 , 0. 02 ... 0 .2:

φt = κ|∇xφ|, κ = ∇x ·

( (^) ∇φ |∇φ|

Take N = 300 and ∆t = 0.0005.

Show numerical convergence by taking refined mesh sizes h, and comment on your numerical results.