2. Implement a version of the marker particle method (adaptive or not). State all the important
details of your implementation including step sizes in time and arclength. Use this code to solve the
(a) Evolve an initially circular interface of radius one using a normal velocity F = 1 for
te (0,2) using your code. Use the most refined approximation that is reasonable.
The exact solution is
xc =(1+t)cos(f). =
y = (1 + t) sin (0)
for A € [0, 2nT) with the outward normal n = [cos (9) , sin (0)¹ and the curvature K = (1+t)-¹.
Plot the marker particle locations, the interface position, the outward normal to the interface at t =
0,1,2, as shown below. In a separate figure, plot the curvature versus arclength for t = 0,1, and 2.
(b) Evolve an interface initially defined by the parametric equations
x(s)=R(s)cos( (s+1)), =
y (s) = R (s) sin + 1))
where R (s) = 1 + r cos (47 (s + 1)) and S € - 1, 1) using normal velocity F = 1 - EK where K is the
curvature and E = 0.5.
Plot the marker particle locations, the interface position, the outward normal to the interface at
t = 0.0, 0.5, 1.0, 1.5, and 2.0. In a separate figure, plot the curvature versus arclength for t =
0, 1, and 2.
(c) Evolve an interface initially defined as in Part (b) using the velocity field
Plot the marker particle locations and the interface position at t = 0 and t = 11/4 in one figure. In
another figure, plot the marker particle locations and the interface position at t = 0, 27, 47, and 67.
Plot the difference between the interface positions versus arclength at t = 0, 27, 47, and 67.
These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction
of bibliographies out of text citations and references. Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.
title('plot of the error as a function of step size')
xlabel('arc length'); ylabel('curvature');