Dynamics of crack propagation with adaptive refinement based on unfitted meshes
Abstract
Fracture mechanics is a field of mechanics concerned with the study of the propagation of cracks originated in different materials. This field has achieved great popularity in recent years, due to the massive interest of engineers to understand and predict the behaviour of various materials when they are subjected to different forces, such as traction or compression. In this project we consider one of the most used models in this area: phase-field models. These models require very fine meshes along crack paths. This work applies an automatic adaptive Finite Element method, based on Nitsche's method, to the solution of transient problems.
Full text
Title: Dynamics of crack propagation with adaptive refinement based on unfitted meshes Author: Adrià Pons Puntí Advisors: Sonia Fernández-Méndez & Alba Muixí Ballonga Department: Department of Civil and Environmental Engineering Academic year: 2019-2020 Master of Science in Advanced Mathematics and Mathematical Engineering
Universitat Polit`ecnica de Catalunya Facultat de Matem`atiques i Estad´ıstica Master in Advanced Mathematics and Mathematical Engineering Master’s thesis Dynamics of crack propagation with adaptive refinement based on unfitted meshes Adri`a Pons Punt´ı Supervised by Sonia Fern´andez-M´endez & Alba Muix´ı June, 2020
To carry out this project I have had the help of some people, without whose support the whole study could not have been possible. That is why I would like to thank: •All my family, especially my parents, my brother and my grandmother, for all the advice they have given me. •My friends David and Gerard, for their help in some parts of the project, and Marta and Nora, for helping me with the review. •Lastly, my advisors Sonia and Alba, for all the hours they have spent on the project and the enormous help they have given me. I would also like to give a special thank-you to professor Antonio Rodr´ıguez for joining our meetings and helping us interpreting some of the results.
Abstract Fracture mechanics is a field of mechanics concerned with the study of the propagation of cracks originated in different materials. This field has achieved great popularity in recent years, due to the massive interest of engineers to understand and predict the behaviour of various materials when they are subjected to different forces, such as traction or compression. In this project we consider one of the most used models in this area: phase-field models. These models require very fine meshes along crack paths. This work applies an automatic adaptive Finite Element method, based on Nitsche’s method, to the solution of transient problems. Keywords Numerical methods, PDEs, Phase-Field, Fracture, Crack, Linear elasticity, Branching 1
Contents 1 Introduction 3 1.1 Thesis structure ........................................ 4 2 Dynamic phase-field model 5 3 Refinement strategy. Nitsche’s method 7 3.1 Equilibrium equation ...................................... 8 3.2 Damage equation ....................................... 13 3.3 Algorithm ........................................... 14 4 L-shaped test 15 5 Branching test 22 6 Conclusions 30 A Weak form of the Equilibrium equation 32 B Weak form of the damage equation 33 2
1. Introduction Fracture mechanics is a field of mechanics concerned with the study of the propagation of cracks (or fractures) originated in different materials. This field has achieved great popularity in recent years, due to the massive interest of engineers to understand and predict the behaviour of various materials when they are subjected to different forces, such as traction or compression. There are two main ways of modelling these cracks or fractures: discontinuous and continuous descriptions. The first describe the crack using discontinuous displacement fields and, although it might be used due to its simplicity, there is not an accurate strategy to determine the fracture direction at each time step. Moreover, the remeshing needed to capture the solution at each time step makes it computationally inefficient. Continuous descriptions, however, describe the crack with a damaged zone that has lost its carrying capacity. Using this approach, the mesh does not have to be adapted to the crack and, thus, there is no need for a remeshing at each time step, although we need the mesh to be finer on the path we expect the crack to follow. Figure 1: On the left, crack represented by a discontinuous model. On the right, damage zone of a continuous model. Figure from [5]. There mainly exist two divisions inside the continuous models: phase-field models and gradient-damage models. In this thesis we are going to focus on phase-fields models, which are given by an energetic formulation that we are going to discuss later on. These models can be quasi-static or dynamic, being the later the ones that we are going to treat. This project intends to be the natural continuation of the following degree theses: in [8], a first approach to continuous models is done, comparing phase-field and gradient-damage quasi-static models in order to determine their similarities and differences. In [2], the study is focused just on phase-field dynamic models. The main challenge of the later is the difficulty of knowing beforehand the path the crack is going to take in each example and, thus, where to refine our mesh. To do so, the author of the thesis refined the mesh by hand during the computations in order to obtain the desired refined mesh for the specific treated example. This thesis will try to solve this difficulty by implementing a routine that will automatically refine the mesh when the damaged zone approaches a new element. This will be done following the technique proposed for the quasi-static problem in [6], taking advantage of the code that the author, Alba Muix´ı, used for the quasi-static phase-field model and adapting it to solve the dynamic problem. 3
Dynamics of crack propagation with adaptive refinement based on unfitted meshes where Eis the Young’s modulus, hdenotes the element size in the background mesh and mstands for the refinement factor. Taking this relation into account, the parameter that we tune is αE, called Nitsche’s parameter, that needs to be large enough. For the entire project we are going to take αE= 100. Nitsche’s formulation is very robust in terms of the aforementioned parameter. Moderate values of αE are enough to ensure stability of the solution and there is a wide interval of proper values. When its value is not large enough, solutions are clearly wrong and the unstabilities can be appreciated at plain sight. Going to the other extreme, for values of αEwhich are much larger than the minimum value providing coercivity, the matrix becomes ill-conditioned. The code from Alba Muix´ı based on [6] implements the aforementioned method for the quasi-static equation, that is, not taking into account the temporal derivative. For this project, we have taken Alba’s code and adapted it in order to include the dynamic part. Thus, after discretizing the weak form (8) we will obtain a system of linear ODEs M¨ U+KU =f, (9) where Kand fare the matrix and the vector corresponding to the discretization of the quasi-static problem, already implemented in Alba’s code. We define Musing the basis functions Nias M="ˆ M ˆ M#, with ˆmij =ZΩ ρNiNjdΩ . Newmark method In order to solve the linear system of ODEs (9) we are going to use the so-called Newmark’s method, a method of numerical integration widely used in computation dynamics. We will denote as ∆tthe fixed time step. Given the solution at tn=n∆t, i.e. Un,˙ Unand ¨ Un, we calculate Un+1 and ˙ Un+1 by means of generalised Taylor series, Un+1 =Un+ ∆t˙ Un+ ∆t2 1 2−β!¨ Un+β¨ Un+1!, ˙ Un+1 =˙ Un+ ∆t(1 −γ)¨ Un+γ¨ Un+1, (10) where βand γare two parameters such that 0 ≤β≤1/2 and 0 ≤γ≤1. Note that, for β=γ= 0, we recover the usual Taylor series. Now, we impose equilibrium at time tn+1 for M¨ Un+1 +KUn+1 =fn+1 . (11) 10
Substituting Un+1 and ˙ Un+1 using (10), we get the system of equations for ¨ Un+1 M+ ∆t2βK¨ Un+1 =fn+1 −K Un+ ∆t˙ Un+ 1 2−β!∆t2¨ Un!. (12) So, in order to solve our system of ODEs (9), given the solution at tn, we solve the linear system (12) to compute the accelerations ¨ Un+1. Then, we use them to compute the displacements Un+1 and velocities ˙ Un+1 by means of (10). Note that, in the whole project, we are going to take β= 1/4 and γ= 1/2, since they guarantee unconditional stability for any time step ∆t, and the convergence will be of the order O(∆t2). We have implemented a code in Matlab that solves the dynamic equilibrium equation and now we aim to do some testing. We consider a squared domain Ω = [−1, 1]2with linear standard elements of size h= 2−3. We refine those elements within [−1, 1] ×[−1, 0] with a refinement factor m= 3 and solve the system (ρ¨u =∇ · σ+ρb, σ(u,d) = (1 −d)2C:ε(u) , (13) where we compute the external forces bso that we obtain a certain analytical solution. More precisely, we consider the analytical solution to be ux= sin(x+y) , uy=x2+y2. (14) Taking ρ= 1, d= 0, E= 1 and ν= 0.2, we integrate the system until t= 1 swith a time step of ∆t= 10−3. We impose Dirichlet boundary conditions in the whole boundary so that we obtain the analytical solution (14). 11
Dynamics of crack propagation with adaptive refinement based on unfitted meshes (a) Initial square mesh. (b) Deformed mesh after applying the equilibrium equation. Figure 5: Deformation of a square mesh using the analytical solution (14). The next step is to make a convergence plot. That is, to compute the L2norm between the analytical and the obtained solutions for different element sizes hand different mesh element degrees p. As it can be seen on the following picture, the straight lines have an approximate slope of p+ 1 and, thus, the method behaves as expected. Figure 6: Convergence plot with the slopes of the three straight lines. 12
3.2 Damage equation As we did with the equilibrium equation, the damage equation in (3) can be also rewritten in the broken domain Ω as −l2∆d+d=2l Gc (1 −d)Hin Ω = Ω1∪Ω2, ∇d·n= 0 on ΓN=∂Ω , 〚dn〛= 0 on Γ , 〚∇d·n〛= 0 on Γ , (15) where the first two equations are the damage equation with its boundary condition, and the last two, as with the equilibrium equation, impose continuity of the damage field and its normal derivative on the interface Γ. Again, we are going to use Nitsche’s method, so we are going to add the weak form of the damage equation (see appendix B) on both subdomains Ω1and Ω2. Then, we will add two consistent integrals as we did with the equilibrium equation, in order to obtain a symmetric and coercive bilinear form. So, to sum up, we need to find d∈ V(Ω) such that ZΩ Gc l+ 2H!vd dΩ + ZΩ Gcl∇v· ∇d dΩ−ZΓ Gcl〚vn〛· {∇d}ds (16) −ZΓ Gcl〚dn〛· {∇v}ds +βDZΓ 〚dn〛·〚vn〛ds =ZΩ v2HdΩ , for all v∈ V(Ω). As it happened with the equilibrium equation, in this case we also have a parameter βDthat ensures the coercivity of the bilinear form. To obtain optimal convergence, this parameter can be taken as βD=αDGcl(h/m)−1, with αDthe parameter that we need to tune. For the entire project we are going to take αD= 100. Discretizing the weak form (16) we obtain a linear system of equations that we need to solve Ad =s. (17) This routine has already been implemented in Alba Muix´ı’s code, so we are not going to perform any testing on it. 13
Dynamics of crack propagation with adaptive refinement based on unfitted meshes 3.3 Algorithm Once reviewed the two equations that constitute (3) we state the general algorithm that we will follow to solve our problem. For n= 1, 2, ... , nOfSteps: 1. Compute ¨ Un+1 solving (12). 2. Compute Un+1 and ˙ Un+1 using (10). 3. Set the Dirichlet nodal values in Un+1. 4. Update H(u) at the nodes. 5. Compute dn+1 solving (17). 6. Update the partition Ω1, Ω2and Γ, identifying new elements to be refined, i.e., elements with max(de i)≥0.2. end Note that the boundary conditions for the equilibrium equation are imposed after the computation of step 2. 14
4. L-shaped test We consider an L-shaped piece attached at the bottom. That is, we impose 0 displacement at the nodes on the bottom boundary (u= 0). We then impose an upward vertical displacement uy=uD(t) on the node placed at (220, 0), as shown in Figure 7. This displacement will depend quadratically on time during the first seconds of the experiment, and then it will proceed with a constant velocity until the end of the simulation. More precisely, we impose uD(t) = 1 2·10−2t2t≤0.1 , 10−3t−5·10−5t≥0.1 , (18) for the equilibrium equation and homogeneous Neumann boundary conditions for the damage equation. As a result of the imposed displacement, the piece will undergo a deformation that will lead to a crack propagated along the piece. As it can be seen in the picture, we consider a uniform mesh of quadrilateral linear elements. We will refine the three elements that are on the corner of the piece, so that we can capture the crack initiation. As the experiment progresses and the crack evolves, more elements will be refined in order to capture the whole solution. Figure 7: Discretization of an L-shaped piece using a uniform mesh of quadrilateral linear elements. The refinement on the corner of the piece can be observed. In this simulation we consider E= 25.8423 GPa,ν= 0.18, ρ= 2.35 ·10−9kg/mm3,Gc= 8.9 · 10−5kN/mm2and l= 3 mm. For the refinement of the elements, we choose a factor of m= 15. As initial conditions, we will take u0= 0, ˙u0= 0 and d0= 0. The system has been integrated up to t= 400 sand we have used 3 different time steps: ∆t= 0.4, ∆t= 0.04 and ∆t= 0.004. In Figure 8we can see the evolution of the crack taking ∆t= 0.004. 15
Dynamics of crack propagation with adaptive refinement based on unfitted meshes (a) t= 250 s. (b) t= 260 s. (c) t= 300 s. (d) t= 400 s. Figure 8: Damage variable dshowing the evolution of the crack along time. Displacements are amplified by a factor of 50. Figure 9: Force-Displacement graphic for different values of ∆t. 16
In Figure 9we show the force-displacement plots for different values of ∆t. The plots depict the force that we would need to apply to the piece in order to reach the imposed displacement uD, that is the reaction force. As it can be seen in the plot, all three curves start as straight lines until they reach an approximate displacement of 0.26 mm, the point where the piece breaks and the crack emerges. From then on, the force needed to continue displacing the piece is smaller, since the crack makes it easier to move. We can also see that, the smaller the time step ∆tis, the more similar the curves are, showing convergence in time. Once we have seen the first simulation with the aforementioned parameters, we what are going to do now is to repeat it changing the values of some of those variables, in order to better understand their effect on the result. ∆t= 0.04 is considered in the following experiments to study the outcome of Gc,land the load velocity ˙uD. (a) Gc= 8.9 ·10−4kN/mm2. (b) Gc= 8.9 ·10−5kN/mm2. (c) Gc= 8.9 ·10−6kN/mm2. (d) Gc= 8.9 ·10−7kN/mm2. Figure 10: Cracks at time t= 400 sgenerated varying Gcand keeping the other parameters. 17
Dynamics of crack propagation with adaptive refinement based on unfitted meshes As it can be seen in Figure 10, the variable Gccontrols the ”speed” of the crack, as it is the critical energy release rate, a value that, when reached, allows the crack to grow. The larger Gcis, the longer it takes to break and, thus, the result looks less damaged. On the contrary, the smaller it is, the faster the piece breaks. Figure 11: Force-Displacement plots for different values of Gc. In this case we have also plotted the force-displacement graphic (see Figure 11). As it can be seen in the plot, for Gc= 8.9 ·10−4kN/mm2we see just a straight line, since the piece has not broken and, thus, the force needed to produce the displacement never decreases. We can see how the break happens earlier as we decrease the value of Gc. The next variable we study is l. As it can be seen in Figure 12,lcontrols the width of the smoothed crack. This is due to the fact that this parameter appears multiplying the diffusion coefficient in the damage equation, that is, if we increase l, we increase the diffusion and, thus, the width of the crack. It is important to note that very large values of this variable can lead to results that make no physical sense. In order to properly represent brittle fracture we need las small as we can, that is l−→ 0. We need to take into account, however, that if we decrease the value of lwe need to increase the refinement factor m, in order to fully capture the crack’s path. We can choose this parameter by using m=4h lp , (19) where pis the degree of the approximation and his the size of the elements on the coarse mesh (standard elements). In order to get a better understanding of the results, we have plotted the force-displacement graphic for the same values of l. As we can see in Figure 13, the curves follow a linear behaviour until they reach 0.25 mm, approximately, the point where the break is produced and so the curves start to decrease. We can see how for the smallest value of the parameter lthe curve oscillates a bit after the crack is produced. This is probably due to the fact that the value of lis very small and we should use a smaller time step ∆t in order to capture the crack with more accuracy. 18
(a) l= 1.5 mm. (b) l= 3 mm. (c) l= 10 mm. (d) l= 20 mm. Figure 12: Cracks at t= 400 sgenerated varying land keeping the other parameters. Figure 13: Force-Displacement plots for different values of l. 19
Dynamics of crack propagation with adaptive refinement based on unfitted meshes In Figure 21a we can see that the larger the value of Gcis, the more time the cracks need to advance, due to the own definition of the constant. Let us note that, in this particular case, we have integrated the system up to different times, since we wanted to make clear the condition of the variable. The elastic energy seen in Figure 21b reaches a higher peak the larger Gcis. (a) Fracture energy. (b) Elastic energy. Figure 21: Evolution of the fracture and elastic energies throughout time. We will continue by analysing the variable l. As it can be seen in Figure 22, this variable controls the width of the crack. The larger lis, the wider the crack becomes. As we did with the L-shaped case, we need to take into account that if we decrease the value of lwe need to increase the refinement factor m, in order to fully capture the crack’s path. That is why we are going to use chose mbased on (19). As in the other cases, we have plotted the fracture and elastic energies for the different values of l. In Figure 23 we can see how the fracture energy has the expected behaviour, increasing as the crack advances and becoming constant when the piece has completely broken. The elastic energy is also as expected, increasing at the beginning and decreasing when the branch is produced. 26
(a) l= 0.5 mm. (b) l= 0.75 mm. (c) l= 1 mm. (d) l= 1.25 mm. Figure 22: Cracks generated varying land keeping the other parameters. (a) Fracture energy. (b) Elastic energy. Figure 23: Evolution of the fracture and elastic energies throughout time. 27
Dynamics of crack propagation with adaptive refinement based on unfitted meshes To finish the study, we analyse the applied stress. That is, we will vary the value of t2 Nin σ·n=tN="0 ±t2 N#. (a) t2 N= 0.75 ·10−3. (b) t2 N= 1 ·10−3. (c) t2 N= 1.25 ·10−3. (d) t2 N= 1.5 ·10−3. Figure 24: Cracks generated varying t2 Nand keeping the other parameters. The bigger t2 Nis, the stronger the applied stress is and, as it can be seen in Figure 24, the more damage is produced on the piece. We can also see that as we increase the value of t2 Nthe branching is produced a little later and the branches are closer between them. 28
The energies plotted in Figure 25 depict what we have already seen: the fracture energy increases as the simulation advances, becoming constant in the cases where the piece gets completely broken, while the elastic energy keeps oscillating as the crack advances. Note that for t2 N= 1.5 ·10−3the elastic energy increases at the end, probably because of the massive damage the piece is subjected to. (a) Fracture energy. (b) Elastic energy. Figure 25: Evolution of the fracture and elastic energies throughout time. 29
Dynamics of crack propagation with adaptive refinement based on unfitted meshes 6. Conclusions The main objective of this project was to adapt the refinement strategy developed in [6] to work with a dynamic phase-field model, so we do not have to do a manual adaptation of the mesh, as the author of [2] had to do. Once the phase-field model has been derived, we have defined some tools needed for the adaptive refinement, such as the notion of a broken domain Ω = Ω1∪Ω2. Then, we have stated the weak forms of the equilibrium and the damage equations using Nitsche’s method (to impose continuity in weak form between the refined and the standard domains, i.e., at Ω1∩Ω2) and we have used the so-called Newmark’s method in order to solve, in an implicit way, the linear system of ODEs obtained after discretizing the equilibrium equation’s weak form. The procedure has been tested with two different examples. The first one was an L-shaped piece attached at the bottom and subjected to an upward vertical displacement imposed at one node in order to produce a crack. We also studied the parameters that take action in the simulation: Gc,land the load velocity ˙uD. To do so, besides computing the solution we have also plotted the force-displacement graphic to help us better understand the behaviour of the solution when a variable is changed. The other example was a rectangular piece with a constant stress applied on the top and the bottom during the whole simulation. As we did with the first example we also studied the parameters involved: Gc,land the applied stress tN. The results of the simulation are coupled with energy plots, that describe the energy stored by the material due to the fact that the piece is under deformation (elastic energy), and the energy discharged by the material because of the crack (fracture energy). The elaboration of this project has given me an opportunity to use my basic knowledge of the Finite Element method on a more sophisticated problem. Although I had previously worked on the phase-field model, the introduction of the temporary variable and the use of two different types of elements, standard and refined, have been a major challenge. The fact that most of the simulation took a few days, although using the LaCan’s cluster Clonetroop, was also a hurdle, since I had to make sure everything was OK before starting the computations, as a tiny mistake could delay the whole project for days. During the development of the work we became interested in further studies, that are currently in development. Newmark’s method is an implicit method, that is unconditionally stable although it is somewhat slow since it has to solve a linear system of equations at each time step, so a natural step to take was to try to solve the system of ODEs using an explicit method. We tried to use a centred differences approximation, although the method did not converge even with very small time steps ∆t. We guess that the reason is that this time integration scheme may not be suited for this kind of Differential Algebraic Equation (DAE). That is why a future work could be doing some research on other explicit methods that could work, or even a slight variation of the phase-field model that could give more stability and allow an explicit method as a solver. One option could be, for example, adding a damage velocity on the damage equation as in [3]. 30
References [1] Bourdin, B., Francfort, G.A., Marigo, J.J.. (2008). The variational approach to fracture. Journal of Elasticity 91, p. 5 - 148. https://doi.org/10.1007/s10659-007-9107-3. [2] de la Torre, S.. (2019). Model de Phase-Field din`amic per a fractura fr`agil. Degree thesis. https://upcommons.upc.edu/bitstream/handle/2117/166625/memoria.pdf. [3] Hofacker, M & Miehe, C.. (2013). A phase field model of dynamic fracture: Robust field updates for the analysis of complex crack patterns. International Journal for Numerical Methods in Engineering 93, p. 276 - 301. https://doi.org/10.1002/nme.4387. [4] Miehe, C., Hofacker, M., Welschinger, F.. (2010). A phase-field model for rate-independent crack propagation: Robust algorithmic implementation based on operator splits. Computer Methods in Applied Mechanics and Engineering 199.45-48, p. 2765 - 2778. https://doi.org/10.1016/j.cma.2010.04.011. [5] Muix´ı, A. (2018) An HDG phase-field model with transition to fracture for crack propagation. PhD in Applied Mathematics - Research plan. [6] Muix´ı, A., Fern´andez-M´endez, S. & Rodr´ıguez-Ferran, A.. (2020). Adaptive refinement for phasefield models of brittle fracture based on Nitsche’s method. Comput Mech 66, p. 69 - 85. https://doi.org/10.1007/s00466-020-01841-1 [7] Mux´ı, A., Fern´andez-M´endez, S. & Rodr´ıguez-Ferran, A.. (2018). A hybridizable discontinuous Galerkin phase-field model for brittle fracture. Reports @SCM 4.1, p. 31 - 42. https://doi.org/10.1002/nme.6260. [8] Pons, A.. (2019). Models computacionals de fractura fr`agil. Degree thesis. https://upcommons.upc.edu/bitstream/handle/2117/127306/memoria.pdf. [9] Rudy JM Geelen et al.. (2019). A phase-field formulation for dynamic cohesive fracture. 348, p. 680 - 711. https://doi.org/10.1016/j.cma.2019.01.026 31
Dynamics of crack propagation with adaptive refinement based on unfitted meshes A. Weak form of the Equilibrium equation In this appendix we will deduce the weak form for the equilibrium equation ρ¨u =∇ · σin Ω , σ= (1 −d)2C:ε(u) u=uDon ΓD, σ(u)·n=tNon ΓN. (22) To obtain its weak form, we multiply the first equation of (22) by a function vsuch that v= 0 on ΓD, and then integrate on both sides of the equation: ZΩ ρv·¨u dΩ = ZΩ v·(∇ · σ)dΩ . (23) Using now ∇ · (v·σ) = ∇v:σ+v·(∇ · σ) , on (23), we get ZΩ ρv·¨u dΩ + ZΩ ∇v:σdΩ = ZΩ ∇ · (v·σ)dΩ . Applying now the divergence theorem, we obtain ZΩ ρv·¨u dΩ + ZΩ ∇v:σdΩ = Z∂Ω v·σ·nd∂Ω , where nis the exterior normal vector. Splitting now ∂Ω=ΓN∪ΓD∪Γ, where Γ is the Nitsche’s boundary, we get ZΩ ρv·¨u dΩ + ZΩ ∇v:σdΩ = ZΓD v·σ·ndΓD+ZΓN v·σ·ndΓN+ZΓ v·σ·ndΓ . Since we have chosen vsuch that v= 0 on ΓDand, by (22), we have that σ(u)·n=tNon ΓN, we get to the weak form of the problem: ZΩ ρv·¨u dΩ + ZΩ ∇v:σdΩ = ZΓN v·tNdΓN+ZΓ v·σ·ndΓ . 32
B. Weak form of the damage equation In this appendix we will deduce the weak form for the damage equation −l2∆d+d=2l Gc (1 −d)Hin Ω , ∇d·n= 0 on ΓN. (24) For the sake of helping the calculation, we rearrange it as Gc l+ 2H!d−Gcl∆d= 2Hin Ω , ∇d·n= 0 on ΓN. (25) To obtain its weak form, we multiply the first equation of (25) by a function vand then integrate on both sides of the equation: ZΩ Gc l+ 2H!vd dΩ−ZΩ Gclv∆d dΩ = ZΩ v2HdΩ . (26) Applying now the divergence theorem, we obtain ZΩ Gc l+ 2H!vd dΩ + ZΩ Gcl∇v· ∇d dΩ−Z∂Ω Gclv∇d·nd∂Ω = ZΩ v2HdΩ . (27) where nis the exterior normal vector. Splitting now ∂Ω=ΓN∪Γ, where Γ is the Nitsche’s boundary, and taking into account that ∇d·n= 0 on ΓD∪ΓN, we get to the weak form of the problem: ZΩ Gc l+ 2H!vd dΩ + ZΩ Gcl∇v· ∇d dΩ−ZΓ Gclv∇d·nds =ZΩ v2HdΩ . (28) 33