• No results found

4.3 Eikonal Minimising Elliptic Reinitialisation method

4.3.3 Boundary conditions on implicit interfaces

To enforce a Dirichlet boundary condition on an implicit surface is not trivial. The literature highlights four main approaches for the imposition of Dirichlet boundary conditions on implicit surfaces; the penalty method [38], Nitsche’s method [37], the method of Lagrange multipliers [147], and methods involving enrichment or modification of shape functions, for example [148].

In the works by Basting and Kuzmin [137] and Utz et al. [139], on a similar PDE based reinitialisation method, the Dirichlet boundary condition on the level set interface is enforced

using a penalty method. As such the weak formulation would be stated as, find ˜φmh ∈ Vp(T), as

m → ∞such that BER( ˜φmh, vh) + γDD ˜φmh, vh E Γ( ˜φ0) | {z } penalty term = JER,1(|∇ ˜φm−1h |; ∇ ˜φhm−1, vh), ∀vh ∈ Vp(T), (4.28)

where γD is a penalty parameter, henceforth referred to as the interface penalisation parameter.

The main advantage of penalty methods is their simplicity, in this work however, difficulty was encountered in deciding how to choose an appropriate value of the interface penalisation

parameter, γD. Babuˇska et al. [149], note that when using a penalty method, that if the value

of the penalty parameter is chosen to be too large or too small, it can significantly decrease the accuracy of the underlying method. For the Eikonal Minimising Reinitialisation methods, choosing the interface penalty parameter outside the range of admissible values can lead to two possible issues, which can be demonstrated through a simple numerical example. An initial

level set function, ˜φ0 = 1.5|x| + 1, is L2 projected onto a mesh of 40 square elements on

Ω = (−2, 2)×(0, 0.4), such that h = 0.2. This function is then reinitialised using the formulation of the Eikonal Minimising Elliptic Reinitialisation method (4.28). The solution is considered

to have converged when | ˜φm− ˜φm−1| < 10−8; that is when the relative change in the level set

function between the two most recent iterations is smaller than a tolerance. It should be noted

here that throughout this section, as the interface of the original level set function, Γ( ˜φ0), is

in general immersed within an element, all integrals computed over a level set interface will

be computed using M¨uller’s method, the details of which were discussed in Section 4.3.2. The

results of this experiment for two values of the penalty parameter are displayed in Figure 4.2. If the penalty parameter is too small then there is no longer a unique solution and Equation (4.28) holds such that the solution found satisfies the Eikonal equation, but the level set function is no longer sufficiently constrained as a rigid body in space, which appears as a movement of the interface as can be seen in Figure 4.2(a). If the value of the interface penalisation parameter is too large, there will be boundary locking, [150], in elements intersected by the interface, as is demonstrated in Figure 4.2(b).

(a) Converged solution with γD= 0. (b) Converged solution with γD= 106.

Figure 4.2: Effect of the value of the penalty parameter, γD, on the solution of a reinitialisation

problem at the level set interface. The solid line shows the level set function, the dashed line shows the analytical solution, and the horizontal line shows the φ = 0 plane.

(a) Pre-reinitialisation level set function. (b) Converged solution using linear elements

with γD= 50.

(c) Converged solution using quintic elements

with γD= 1250.

(d) Converged solution using quintic ele-

ments with γD= 50.

Figure 4.3: Examples showing problem dependency of the penalty parameter, γD. The solid line

shows the level set function, the dashed line shows the analytical solution, and the horizontal line shows the φ = 0 plane.

In [139], evidence is presented which lends support to the idea that an appropriate choice for the value of the interface penalisation parameter for a given mesh, is equal to the discontinuity

penalisation parameter, µ, that is, γD = µ (see Section 2.3.1.1 for information concerning the

choice of µ). It can be observed that the interface penalisation parameter is problem dependent, however, it is not necessarily apparent that it is related to the mesh size in the same way as the discontinuity penalisation parameter. For example, repeating the numerical experiment from the previous paragraph, with a mesh of linear elements, the interface penalisation parameter

would therefore be computed, γD = 10p2/h= 50. As evidenced at a glance by the solution in

Figure 4.3(b), choosing the penalty parameter in this way is appropriate in this case. Repeating the experiment once again but this time increasing the order of the elements to p = 5 causes

an increase in this value to γD = 1250; Figure 4.3(c) shows that such a value is too large and

causes locking/spurious oscillations in the elements intersected by the level set interface and therefore is not an appropriate choice. However, repeating the experiment a third time, again

using quintic elements, but choosing the interface penalty parameter as, γD = 50, allows one to

return a solution which no longer displays locking at the boundary as shown in Figure 4.3(d). Without presenting the evidence, the same is true when changing the number of elements used to discretise the problem. This implies that the problem itself has a significant (and difficult to quantify) influence on the range of admissible values for the interface penalisation parameter. The difficulty in identifying a priori the admissible range of values for the interface penalisation parameter for a given problem led to the exploration of other possible methods for the imposition of a Dirichlet boundary condition on an implicit surface.

Nitsche’s method is similar to the penalty method in that there is a penalty term which imposes the prescribed value on the boundary. Without re-presenting the evidence, the same arguments against using the penalty method described above were found to also be true of Nitsche’s method when applied to the implicit interface. The methods involving the modification of the shape functions require a priori knowledge of the position of the interface, whereas the methodology here deals with evolving and implied interfaces only, and therefore methods such as these are also not appropriate in the context of this work.

The method of Lagrange multipliers involves the reformulation of the weak form (4.20) such

that a new unknown, the Lagrange multiplier, λD, is to be solved for, in addition to the level

set function, ˜φ, which constrains the level set function along the level set interface. The weak

form of the Eikonal Minimising Elliptic Reinitialisation problem can thus be reformulated: find ˜

φm

h ∈ Vp(T) and λD ∈ L, as m → ∞ such that

BER( ˜φmh, vh) + hλD, vhiΓ( ˜φ0) | {z } LM term = JER,1(|∇ ˜φm−1h |; ∇ ˜φ m−1 h , vh), ∀vh∈ Vp(T), (4.29) and D ˜φm h, ζ E Γ( ˜φ0)= 0, ∀ζ ∈ L. (4.30)

One of the difficulties of using the method of Lagrange multipliers, is choosing the correct interpolation space, L, for the Lagrange multipliers. One natural choice is choosing the space,

(a) Pre-reinitialisation level set function. (b) Converged Solution.

Figure 4.4: Effect of using too large of an interpolation space for the Lagrange multipliers to enforce a Dirichlet boundary condition. The solid line shows the level set function, the dashed line shows the analytical solution, and the horizontal line shows the φ = 0 plane.

L, as follows L(TΓ) = span τ ∈TΓ {Qpτ(τ )}, (4.31) where TΓ= {τ ∈T : τ ∩ Γ( ˜φ0) 6= 0}, (4.32)

that is, TΓ denotes the subset of elements inT which are intersected by the level set interface,

Γ. Choosing the Lagrange multiplier space in this way i.e. consisting of the same basis functions as the finite element space (see Equation 2.2), means that one needs to solve for one Lagrange multiplier per degree of freedom on any element intersected by the interface.

When choosing the Lagrange multiplier interpolation space, an appropriate choice is a space which is rich enough such that it contains the approximate solution, but not so large as to overconstrain the problem. It is a known phenomenon, [151], that boundary locking or spurious oscillations can occur when the Lagrange multiplier space is too large, as may be the case when,

Vp(T) and L(TΓ) are chosen to be of equal order. Once again, the same numerical experiment

defined earlier in this section is computed, this time using a Lagrange multiplier approach to enforce the boundary condition, with the Lagrange multiplier space defined as in (4.31). The

results of this experiment can be seen in Figure 4.4, which shows that choosing the spaces Vp(T)

and L(TΓ) to be of equal order does in fact lead to boundary locking.

In order to avoid this issue the order of the space L(TΓ) needs to be reduced. It was observed

that using a rule such as

L(TΓ) = span

τ ∈TΓ

{Qpτ−1(τ )}, (4.33)

i.e. for a finite element space of order p, choosing the Lagrange Multiplier space, to be the space of polynomials of order p − 1, led to similar issues with locking and spurious oscillations. The

only case where this wasn’t true was choosing L(TΓ) as the space of piecewise constant functions;

A more appropriate choice then, for any order of approximation space Vp(T), is to reduce

the order of the Lagrange multiplier space to the space of piecewise constant functions with one degree of freedom per element intersected by the interface. This can be stated as

L(TΓ) = span

τ ∈TΓ

{1τ}, (4.34)

where1τ is the indicator function defined as follows

1τ(x) :=    1 if x ∈ τ, 0 if x /∈ τ. (4.35)

This choice of space means that for each element, τ ∈TΓ, the integral of the level set function over

the portion of the interface contained within that element, averages to be zero over the element. In other words, this reduction in the order of the constraint space allows some movement to occur at the interface (limited by the size of the element), which is a sufficient relaxation to remove the boundary locking observed above and allows the boundary condition to be satisfied without affecting the signed distance property.

The preferred method of the author therefore for enforcing a Dirichlet boundary condition on an implicit interface, is to use a Lagrange multiplier approach, where the Lagrange multiplier space is chosen to be the space of piecewise constant functions.

4.3.4 Modified objective functionals for the minimisation based reinitialisa-