

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


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
(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.