Filaments
2.5 Some Implementation Issues
This section is devoted to addressing a few practical implementation issues. This includes the question of what implicit discretization scheme we will use, the reconstruction of the interface from the curvature variable, and the choice of orthogonal basis in the Kirchhoff rod model.
2.5.1 Time-Stepping Considerations
The time integration scheme we used in this thesis is a fourth order multi-step im- plicit/explicit scheme studied in
[lJ
by Ascher, Ruuth and Wetton. This is one of the better high order implicit/explicit schemes to use in the sense that it has a large stabil- ity region. Consider a time-dependent PDE in which the spatial derivatives have been discretized by either central differences or by pseudo-spectral methods. This gives rise to a large system of ODEs in time which typically has the formdu dt = f(u)
+
vg(u), (2.83)where 9 is a linear operator containing high order derivatives and f(u) is a nonlinear function which we do not want to integrate implicitly in time. To avoid using excessively small time steps, we would like to treat the vg(u) implicitly while treating the nonlinear term
f
(u) explicitly. Typicallyf
(u) involves only first order derivatives from the con- vective terms, so the stiffness induced from the nonlinear term is not as severe as that from the linear operator g(u).The fourth order implicit/explicit scheme considered by Ascher, Ruuth and Wetton is given as follows:
(2.84)
We simply apply this fourth order implicit/explicit scheme to our problems. For example, we use this scheme in the inertial vortex sheet problem:
_1 (~(_1 1-lh'J) ) +
p 2so So 2so 0 0"It S"'o
+
Q,(2.85) (2.86)
where P and Q represent the lower order terms. We obtain the following time discrete system:
and
Then with our special choice of the tangential velocity T, SO is independent of CY, and we can solve for ",n+l and 'Yn + 1 explicitly using the Fast Fourier Transform.
2.5.2 Reconstruction of the Interface from Curvature
The construction of the initial equal arclength parameterization is the same as in [23J.
The idea is to solve the nonlinear equation for the equal arclength grid points using
Newton's method and Fourier interpolation. The equation that must be solved is
1
o {3j S a ,da , j h = -27r1211"
0 s ,da a,
= j h - , 27r Lfor {3j as j = 0, .. ) N with h = 27r/N. Here a is a given parameterization. {3j gives the location of points in the a parameterization that are equally spaced in arclength. L is obtained by trapezoidal integration of so' over its period.
Moreover, it is important to discuss the reconstruction of the two-dimensional inter- face (x, y) from (L, I), ), and the three-dimensional filament (x, y, z) from (L, I), 1 , 1),2, w).
One natural way to reconstruct (x, y) from curvature is to integrate the FrEmet equa- tions along the interface. This will generate the tangent vector T. We can then integrate the tangent vector along the interface to obtain the interface position. This involves two numerical integrations for each time step, and we need to keep track of two initial con- ditions at the beginning point of the interface. An alternative is to use the evolution equation for the interface. Recall that
r
evolves according to Xt = U ft+
Ts. We can reconstruct (x, y) through integration of these original equations. In the inertial vortex sheets problem, we know thatU(a, t) '"" -1lb](a, 1 t), 2so
so we get
Xt
=
- 211lbl
ft+
P,So
(2.87)
where P includes the lower order terms. In the computation, we treat - 21
1lbl
implicitlySo
and all the other terms explicitly. However, due to the numerical error, the points on the curve are no longer equally distributed (i.e., Sa is not exactly L/(27r) everywhere). This makes Eq. (2.87) incompatible with Eqs. (2.27) and (2.28). This difficulty is overcome by redistributing (x, y). For example, we can make use of the formula
X~=-T L
~ 27r' (2.88)
We denote the solution of Eq. (2.87) by
X.
Then integrate the equation(2.89)
with respect to a to get X for the new time step. Of course, in the absence of numerical errors, the coefficient in front of
Xo:
should be 1. We have considered other ways of redis- tribution, but we have found that this approach gave the best performance numerically.This method of reconstruction using the original evolution equation for X also applies to three-dimensional surfaces.
In the case of three-dimensional filaments, a space curve
r
evolves according to Xt =UN + VB + TVT,
where X = (x(a, t), y(a, t), z(a, t)). If we simply reconstruct (x, y, z) by integrating these three equations, we will get a stability constraint of the form Ilt ::; C h2, since N involves a second derivative of X. So, we try to reconstruct X using the first approach we mentioned earlier. First, we integrate Eq. (2.45) to get the tangential vector T, then integrate Eq. (2.88) to get X. By doing this, we can still have a stability constraint of the form tlt ::; Ch.2.5.3 Contact Force in the Kirchhoff Rod Model
In practice, a contact force g is added to Eq. (2.65) to avoid self crossing of the filament.
The contact force becomes important when the rod deforms in such a manner that points separated by large differences in arc-length become close to one another in space. The contact force can be modeled by the following integral formula (see [18])
! u' ([
r (s) - r (a) [)g(s)
= -
M(s,a) [r(s) _ r(a)[ [r(s) - r(a)]da, (2.90) where U is a self-potential generating a central force between pairs of points along the rod, and M is a mollifier leading to total energy and corresponding, for example, to a nonzero radius of the rod. In our example, we take the potential U to be proportional to [r(s) - r(a)[-9.Another point we should stress is that in the case of motion by curvature, we simply take
>'3
to be 0 which makes the formulation much easier. But this cannot be done in the case of the Kirchhoff rod model. The reason is that in the case of motion by curvature,we are only concerned with the shape of the curve