A penalized φ \varphi -FEM scheme for the Poisson Dirichlet problem Raphaël Bulle, Michel Duprez, Vanessa Lleras, Killian Vuillemot Abstract In this work, we analyze a penalized variant of the φ \varphi -FEM scheme for the Poisson equation with Dirichlet boundary conditions. The φ \varphi -FEM is a recently introduced unfitted finite element method based on a level-set description of the geometry, which avoids the need for boundary-fitted meshes. Unlike the original φ \varphi -FEM formulation, the method proposed here enforces boundary conditions through a penalization term. This approach has the advantage that the level-set function is required only on the cells adjacent to the boundary in the variational formulation. The scheme is stabilized using a ghost penalty technique. We derive a priori error estimates, showing optimal convergence in the H 1 H^{1} semi-norm and quasi-optimal convergence in the L 2 L^{2} norm under suitable regularity assumptions. Numerical experiments are presented to validate the theoretical results and to compare the proposed method with both the original φ \varphi -FEM and the standard fitted finite element method. Keywords. Immersed boundary method; complex geometries; partial differential equations; level-set methods. 1 Introduction The finite element method (FEM) usually requires meshes that conform to the domain boundary, which can be restrictive for complex or evolving geometries. To address this limitation, Immersed Boundary Methods (IBM) [ 14 ] allow the use of meshes that do not fit the physical boundary by extending the problem to a larger domain. More recently, CutFEM [ 3 , 4 ] has been proposed as a robust alternative, based on integrating the weak formulation only over the parts of elements cut by the boundary and adding stabilization terms to ensure numerical stability and coercivity. Another alternative, called the Shifted Boundary Method [ 13 ] , uses a Taylor expansion of the boundary condition. The \varphi -FEM paradigm introduced in [ 12 ] is based on a level-set description of the domain, where the solution is written as u=\varphi w , automatically enforcing boundary conditions and achieving optimal accuracy and good conditioning without requiring boundary or cut-cell integration. This method has been extended to various PDEs and interface problems [ 5 , 9 , 10 , 8 ] . More recently, this approach has been adapted to a finite difference scheme [ 6 ] , combined with a neural network [ 7 ] and an a posteriori estimator, and has been analysed to estimate the error [ 2 ] . In this paper, we consider the Poisson equation with Dirichlet boundary conditions, \begin{cases}-\Delta u&=f\,,\ \hfill\text{ in }\Omega\,,\\ \hfill u&=0\,,\ \hfill\text{ on }\Gamma\,,\end{cases} (1) The present contribution is devoted to the numerical analysis of a \varphi -FEM scheme introduced in [ 5 ] for this problem (see Section 2). This \varphi -FEM scheme enforces boundary conditions weakly by introducing a penalization on the unfitted boundary while still using a level-set description of the domain. So this method combines the robustness of mixed formulations with the flexibility of immersed finite element methods. We define \Omega\subset\mathbb{R}^{d} (here d=2,3 ) a domain of boundary \Gamma , f\in L^{2}(\Omega) and n the outward unit normal to \Omega . We assume that the domain and its boundary are given by a level-set function \varphi such that \Omega:=\{\varphi<0\}\qquad\text{ and }\qquad\Gamma:=\{\varphi=0\}\,. (2) The present paper is organized as follows: in Section 2, we present the scheme and the main theoretical results. In the second and third Section, we demonstrate these results. Section 4 analyzes the conditioning number of associated matrix. Finally, Section 5 is devoted to numerical illustrations. 2 Proposed scheme and theoretical results Let \mathcal{T}_{h}^{\mathcal{O}} be a Cartesian grid covering the domain \mathcal{O} , with triangular cells of size h . Let \varphi_{h}=I_{h,\mathcal{O}}^{(l)}\varphi the standard Lagrange continuous interpolation of \varphi (of degree l>0 ) on \mathcal{T}_{h}^{\mathcal{O}} . This interpolation is then used to construct a submesh \mathcal{T}_{h} of \mathcal{T}_{h}^{\mathcal{O}} collecting all the cells of the grid intersecting the domain \{\varphi_{h}<0\} , i.e. \mathcal{T}_{h}:=\left\{T\in\mathcal{T}_{h}^{\mathcal{O}}:\ T\cap\{\varphi_{h}<0\}\neq\emptyset\right\}\,. Let us finally introduce another submesh of \mathcal{T}_{h} , collecting the cells intersecting the boundary, i.e. \{\varphi_{h}=0\} and a set containing the facets of this submesh, given by \mathcal{T}_{h}^{\Gamma}:=\left\{T\in\mathcal{T}_{h}\>\ T\cap\{\varphi_{h}=0\}\neq\emptyset\right\}\,,\text{ and }\mathcal{F}_{h}^{\Gamma}:=\{F\in\mathcal{T}_{h}^{\Gamma}\setminus\partial\Omega_{h}\}\,. (3) Let us now consider the finite element spaces: for k\geqslant 1 , V_{h}^{(k)}:=\{v_{h}\in H^{1}(\Omega_{h})\>\ v_{h}|_{T}\in\mathbb{P}_{k}(T)\ \forall\ T\in\mathcal{T}_{h}\}\,, (4) and a second one, the local version of the previous space, on \mathcal{T}_{h}^{\Gamma} , Q_{h}^{(k)}:=\{q_{h}\in L^{2}(\Omega_{h}^{\Gamma})\>\ v_{h}|_{T}\in\mathbb{P}_{k}(T)\ \forall\ T\in\mathcal{T}_{h}^{\Gamma}\}\,. We will now present the \varphi -FEM penalized scheme analyzed here, that relies on the \varphi -FEM paradigm used only in the cells of \Omega_{h}^{\Gamma} . For this scheme, we thus introduce an auxiliary variable p on \Omega_{h}^{\Gamma} such that u=\varphi p ; equation that will be enforced by penalization in the following scheme. The penalized \varphi -FEM scheme to solve ( 1 ) is given by: find u_{h}\in V_{h}^{(k)} and p_{h}\in Q_{h}^{(k)} such that \int_{\Omega_{h}}\nabla u_{h}\cdot\nabla v_{h}-\int_{\partial\Omega_{h}}\frac{\partial u_{h}}{\partial n}v_{h}+\frac{\gamma}{h^{2}}\int_{\Omega_{h}^{\Gamma}}(u_{h}-\frac{1}{h}\varphi_{h}p_{h})(v_{h}-\frac{1}{h}\varphi_{h}q_{h})\\ +G_{h}^{lhs}(u_{h},v_{h})=\int_{\Omega_{h}}fv_{h}+G_{h}^{rhs}(v_{h})\,, (5) for all v_{h}\in V_{h}^{(k)} , q_{h}\in Q_{h}^{(k)} with G_{h}^{lhs}(u,v)=\sigma_{D}h\sum_{E\in\mathcal{F}_{h}^{\Gamma}}\int_{E}\left[\frac{\partial u}{\partial n}\right]\left[\frac{\partial v}{\partial n}\right]+\sigma_{D}h^{2}\sum_{T\in\mathcal{T}_{h}^{\Gamma}}\int_{T}\Delta u\Delta v\,, (6) and G_{h}^{rhs}(v)=-\sigma_{D}h^{2}\sum_{T\in\mathcal{T}_{h}^{\Gamma}}\int_{T}f\Delta v\, (7) for some \gamma,~\sigma_{D}>0 . As said in the introduction, this scheme has been introduced in [ 5 ] , but not analyzed. Remark 1 . We can remark three important points: • In the case of \mathbb{P}^{1} finite elements, the second-order terms (the ones multiplied by \sigma_{D}h^{2} ) are not necessary. • In the case of non-homogeneous Dirichlet boundary conditions u=u_{D} , all you need to do is the modification of the penalization form, given by u=\varphi p+u_{D} . It then remains to adapt the scheme to this equation. • A final observation concerns the comparison with the direct \varphi -FEM scheme [ 12 ] , relying on the assumption u=\varphi w over the entire mesh, thereby redefining the problem’s unknown throughout the domain. This has two major consequences: – the computation relies on the level-set only near the boundary, which makes the scheme more robust to the level-set and, in particular, does not require the gradient or the second derivatives of the level-set function, which could present a singularity (for example, if we consider the signed distance function). – the scheme is compatible with the Neumann approach presented in [ 9 ] . Let us now recall some important hypothesis on the mesh and lemmas from [ 12 ] and [ 11 ] and introduce our main theoretical results. Assumption 1 . The boundary \Gamma can be covered by open sets \mathcal{O}_{i} , i=1,\dots,I on which we can introduce local coordinates \xi_{1},\dots,\xi_{d} with \xi_{d}=\varphi such that, up to the order k+1 , all the partial derivatives \partial^{\alpha}\xi_{i}/\partial x^{\alpha} and \partial x^{\alpha}/\partial^{\alpha}\xi_{i} are bound by a constant C_{0}>0 . Moreover, on \mathcal{O} , \varphi is of class C^{k+1} and there exists m>0 such that |\varphi|\geqslant m on \mathcal{O}\setminus\cup_{i=1,\dots,I}\mathcal{O}_{i} . Assumption 2 . The approximated boundary, defined by \Gamma_{h}=\{\varphi_{h}=0\} , can be covered by patches of elements \{\Pi_{r}\}_{r=1,\dots,N_{\Pi}} such that: • Each patch \Pi_{r} can be written as \Pi_{r}=\Pi_{r}^{\Gamma}\cup T_{r} where \Pi_{r}^{\Gamma}\subset\mathcal{T}_{h}^{\Gamma} and T_{r}\in\mathcal{T}_{h}\setminus\mathcal{T}_{h}^{\Gamma} . Moreover \Pi_{r} , contains at most M connected elements, with M independent of h ; • The mesh \mathcal{T}_{h}^{\Gamma} satisfies \mathcal{T}_{h}^{\Gamma}=\cup_{r=1,\dots,N_{\Pi}}\Pi_{r}^{\Gamma} ; • Two patches \Pi_{r} and \Pi_{s} are disjoints if r\neq s . Let us now present the main theorem of this paper: Theorem 1 . We suppose that assumptions 1 and 2 on \Gamma and \mathcal{T}_{h} are satisfied, f\in H^{k-1}(\Omega_{h}) , \Omega\subset\Omega_{h} and \gamma,~\sigma_{D} large enough. Consider u\in{H^{k+1}(\Omega)} the solution of ( 1 ) and u_{h}\in V_{h} the solution of the discrete scheme ( 5 ). It holds |u-u_{h}|_{1,{\Omega}}\leqslant Ch^{k}{\|f\|_{k-1,\Omega_{h}}} with C>0 a constant independent on h . We note that our analysis requires less regularity on u compared to [ 12 ] . Moreover, the results of [ 12 ] can be adapted to show that the condition number of the associated matrix scales like O(h^{-2}) , while the L^{2} -error is of order O(h^{k+1/2}) . In the final section of this paper, optimal convergence of order O(h^{k+1}) is observed numerically. 3 Coercivity of the bilinear form This section is devoted to the proof of the coercivity needed for Theorem 1 . Proposition 1 . Consider the bilinear form given by a_{h}(u,p;v,q)=\int_{\Omega_{h}}\nabla u\cdot\nabla v-\int_{\partial\Omega_{h}}\frac{\partial u}{\partial n}v+\frac{\gamma}{h^{2}}\int_{\Omega_{h}^{\Gamma}}(u-\frac{1}{h}\varphi_{h}p)(v-\frac{1}{h}\varphi_{h}q)\\ +\sigma_{D}h\sum_{F\in\mathcal{F}_{h}^{\Gamma}}\int_{F}\left[\frac{\partial u}{\partial n}\right]\left[\frac{\partial v}{\partial n}\right]+\sigma_{D}h^{2}\int_{\Omega_{h}^{\Gamma}}\Delta u\Delta v\,. (8) Under assumptions 1 and 2, for \gamma and \sigma_{D} sufficiently big, a_{h} is coercive on V_{h}^{(k)}\times Q_{h}^{(k)} for the norm {\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(u,p)\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}^{2}_{h}=|u|_{1,\Omega_{h}}^{2}+\frac{1}{h^{2}}\left\|u-\frac{1}{h}\varphi_{h}p\right\|^{2}_{0,\Omega_{h}^{\Gamma}}+h\sum_{F\in\mathcal{F}_{h}^{\Gamma}}\left\|\left[\frac{\partial u}{\partial n}\right]\right\|^{2}_{0,F}+h^{2}\|\Delta u\|^{2}_{0,\Omega_{h}^{\Gamma}}\,, (9) i.e. {\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(u_{h},p_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}^{2}_{h}\geqslant Ca_{h}(u_{h},p_{h};u_{h},p_{h}) for each (u_{h},p_{h})\in V_{h}^{(k)}\times Q_{h}^{(k)} . Before proving Proposition 1 , we need the following Lemma : Lemma 1 . For all u_{h}\in V_{h}^{(k)} and p_{h}\in Q_{h}^{(k)} , there exists C>0 such that \|\varphi_{h}p_{h}\|_{0,\Omega_{h}^{\Gamma}}\leqslant C(h\|\nabla u_{h}\|_{0,\Omega_{h}^{\Gamma}}+\|u_{h}-\varphi_{h}p_{h}\|_{0,\Omega_{h}^{\Gamma}})\,. Proof. Using the Poincaré inequality, combined to the triangular inequality and an inverse inequality, we obtain \|\varphi_{h}p_{h}\|_{0,\Omega_{h}^{\Gamma}}\leqslant Ch\|\nabla\varphi_{h}p_{h}\|_{0,\Omega_{h}^{\Gamma}}\leqslant Ch(\|\nabla u_{h}\|_{0,\Omega_{h}^{\Gamma}}+\|\nabla(u_{h}-\varphi_{h}p_{h})\|_{0,\Omega_{h}^{\Gamma}})\\ \leqslant C(h\|\nabla u_{h}\|_{0,\Omega_{h}^{\Gamma}}+\|u_{h}-\varphi_{h}p_{h}\|_{0,\Omega_{h}^{\Gamma}})\,. ∎ We also need the following Lemma : Lemma 2 (cf. [ 12 , Lemma 3.3] ) . Under the Assumption 2 , for all \beta>0 , one can choose \alpha\in]0,1[ depending only on the regularity of the mesh, such that for all v_{h}\in V_{h}^{(k)} |v_{h}|^{2}_{1,\Omega_{h}^{\Gamma}}\leqslant\alpha|v_{h}|_{1,\Omega_{h}}^{2}+\beta h\sum_{F\in\mathcal{F}_{h}^{\Gamma}}\left\|\left[\frac{\partial v_{h}}{\partial n}\right]\right\|_{0,F}^{2}+\beta h^{2}\|\Delta v_{h}\|_{0,\Omega_{h}^{\Gamma}}^{2}\,. Proof of Proposition 1 . Let B_{h} the strip between \partial\Omega_{h} and \Gamma_{h} , i.e. B_{h}=\{\varphi_{h}>0\}\cap\Omega_{h} . Since \varphi_{h}=0 on \Gamma_{h} , the boundary term of ( 8 ) can be written for all (u_{h},p_{h})\in V_{h}^{(k)}\times Q_{h}^{(k)} as : \int_{\partial\Omega_{h}}\frac{\partial u_{h}}{\partial n}u_{h}=\overbrace{\int_{B_{h}}|\nabla u_{h}|^{2}}^{I}-\overbrace{\int_{\Gamma_{h}}\frac{\partial u_{h}}{\partial n}(u_{h}-\frac{1}{h}\varphi_{h}p_{h})}^{II}\\ -\underbrace{\sum_{F\in\mathcal{F}_{h}^{\Gamma}}\int_{F\cap B_{h}}\left[\frac{\partial u_{h}}{\partial n}\right]u_{h}}_{III}+\underbrace{\int_{B_{h}}\Delta(u_{h})u_{h}}_{IV}. (10) Using Lemma 2 , for all \beta>0 , there exists \alpha\in(0,1) such that I\leqslant|u_{h}|_{1,\Omega_{h}^{\Gamma}}^{2}\leqslant\alpha|u_{h}|_{1,\Omega_{h}}^{2}+\beta h\sum_{F\in\mathcal{F}_{h}^{\Gamma}}\left\|\left[\frac{\partial u_{h}}{\partial n}\right]\right\|_{0,F}^{2}+\beta h^{2}\|\Delta u_{h}\|_{0,\Omega_{h}^{\Gamma}}^{2}\,. Moreover, thanks to the trace inequality and an inverse inequality, for all \varepsilon>0 , II\leqslant C\left(\frac{1}{\sqrt{h}}\|\nabla u_{h}\|_{0,\Omega_{h}^{\Gamma}}+\sqrt{h}|\nabla u_{h}|_{1,\Omega_{h}^{\Gamma}}\right)\\ \times\left(\frac{1}{\sqrt{h}}\left\|u_{h}-\frac{1}{h}\varphi_{h}p_{h}\right\|_{0,\Omega_{h}^{\Gamma}}+\sqrt{h}\left|u_{h}-\frac{1}{h}\varphi_{h}p_{h}\right|_{1,\Omega_{h}^{\Gamma}}\right)\\ \leqslant\frac{C}{h}|u_{h}|_{1,\Omega_{h}^{\Gamma}}\left\|u_{h}-\frac{1}{h}\varphi_{h}p_{h}\right\|_{0,\Omega_{h}^{\Gamma}}\leqslant C\varepsilon|u_{h}|_{1,\Omega_{h}^{\Gamma}}^{2}+\frac{C}{\varepsilon h^{2}}\left\|u_{h}-\frac{1}{h}\varphi_{h}p_{h}\right\|_{0,\Omega_{h}^{\Gamma}}^{2}\,. Cauchy-Schwarz, Young and trace inequalities as well Lemma 1 lead to III\leqslant\frac{C}{\varepsilon}h\sum_{F\in\mathcal{F}_{h}^{\Gamma}}\left\|\left[\frac{\partial u_{h}}{\partial n}\right]\right\|_{0,F}^{2}+C\varepsilon|u_{h}|_{1,\Omega_{h}^{\Gamma}}^{2}+\frac{C\varepsilon}{h^{2}}\left\|u_{h}-\frac{1}{h}\varphi_{h}p_{h}\right\|_{0,\Omega_{h}^{\Gamma}}^{2}\,. Finally, Lemma 1 gives IV\leqslant\frac{Ch^{2}}{\varepsilon}\|\Delta u_{h}\|_{0,\Omega_{h}^{\Gamma}}^{2}+C\varepsilon|u_{h}|_{1,\Omega_{h}^{\Gamma}}^{2}+\frac{C\varepsilon}{h^{2}}\left\|u_{h}-\frac{1}{h}\varphi_{h}p_{h}\right\|^{2}_{0,\Omega_{h}^{\Gamma}}. Hence, a_{h}(u_{h},p_{h};u_{h},p_{h})\geqslant(1-\alpha-C\varepsilon)|u_{h}|_{1,\Omega_{h}}^{2}\\ +\left(\sigma_{D}-\frac{C}{\varepsilon}-\beta\right)\left(h\sum_{F\in\mathcal{F}_{h}^{\Gamma}}\left\|\left[\frac{\partial u_{h}}{\partial n}\right]\right\|_{0,F}^{2}+h^{2}\|\Delta u_{h}\|_{0,\Omega_{h}^{\Gamma}}^{2}\right)\\ +\left(\gamma-C\varepsilon-\frac{C}{\varepsilon}\right)\frac{1}{h^{2}}\left\|u_{h}-\frac{1}{h}\varphi_{h}p_{h}\right\|^{2}_{0,\Omega_{h}^{\Gamma}}. Choosing \varepsilon sufficiently small, \sigma_{D} and \gamma sufficiently big, we obtain the desired result. ∎ 4 Proof of the H^{1} estimate To prove Theorem 1 , we will need the two following results: Lemma 3 (cf. [ 9 , Lemma 3.4] ) . Under the assumption 1 , all function v\in H^{s}(\Omega_{h}) vanishing on \Omega , with 1\leqslant s\leqslant k+1 , satisfies \|v\|_{0,\Omega_{h}\setminus\Omega}\leqslant Ch^{s}\|v\|_{s,\Omega_{h}\setminus\Omega}. Lemma 4 . We assume that the domain \Omega is given by the level-set \phi , cf. ( 2 ), and satisfies Assumption 1 . Then, for any u\in H^{k+1}(\mathcal{O}) vanishing on \Gamma , \left\|\frac{u}{\phi}\right\|_{k,\mathcal{O}}\leq C\|u\|_{k+1,\mathcal{O}} with C>0 depending only on the constants in Assumption 1 . Proof of Theorem 1 , H^{1} estimate. Let \tilde{u}\in H^{k+1}(\Omega_{h}) an extension of u from \Omega to \Omega_{h} such that \tilde{u}=u on \Omega and \|\tilde{u}\|_{k+1,\Omega_{h}}\leqslant C\|u\|_{k+1,\Omega}\leqslant C\|f\|_{k-1,\Omega}. We consider \tilde{f}:=-\Delta\tilde{u} and p:=\frac{h}{\varphi}\tilde{u} on \Omega_{h} . Then, a_{h}(\tilde{u},p;v_{h},q_{h})=\int_{\Omega_{h}}\tilde{f}v_{h}-\sigma_{D}h^{2}\int_{\Omega_{h}^{\Gamma}}\tilde{f}\Delta v_{h}\\ +\frac{\gamma}{h^{2}}\int_{\Omega_{h}^{\Gamma}}(\tilde{u}-\frac{1}{h}\varphi_{h}p)(v_{h}-\frac{1}{h}\varphi_{h}q_{h})\, for each (v_{h},q_{h})\in V_{h}^{(k)}\times Q_{h}^{(k)} . We obtain the following Galerkin orthogonality a_{h}(\tilde{u}-u_{h},p-p_{h};v_{h},q_{h})=\int_{\Omega_{h}}(\tilde{f}-f)v_{h}-\sigma_{D}h^{2}\int_{\Omega_{h}^{\Gamma}}(\tilde{f}-f)\Delta v_{h}\\ +\frac{\gamma}{h^{2}}\int_{\Omega_{h}^{\Gamma}}(\tilde{u}-\frac{1}{h}\varphi_{h}p)(v_{h}-\frac{1}{h}\varphi_{h}q_{h}). (11) Thus, using the coercivity of the bilinear form (c.f. Proposition 1 ), \displaystyle c{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(u_{h}-I_{h}\tilde{u},p_{h}-I_{h}p)\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h} \displaystyle\leqslant\sup_{(v_{h},q_{h})}\frac{a_{h}(u_{h}-I_{h}\tilde{u},p_{h}-I_{h}p;v_{h},q_{h})}{{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}} \displaystyle\leqslant\sup_{(v_{h},q_{h})}\frac{I-II-III}{{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}}, with I=a_{h}(e_{u},e_{p};v_{h},q_{h})\,,\quad II=\int_{\Omega_{h}}(\tilde{f}-f)v_{h}-\sigma_{D}h^{2}\int_{\Omega_{h}^{\Gamma}}(\tilde{f}-f)\Delta v_{h}\,, III=\frac{\gamma}{h^{2}}\int_{\Omega_{h}^{\Gamma}}(\tilde{u}-\frac{1}{h}\varphi_{h}p)(v_{h}-\frac{1}{h}\varphi_{h}q_{h})\,, where e_{u}=\tilde{u}-I_{h}\tilde{u} and e_{p}=p-I_{h}p . It now remains to estimate each of the terms. For the term I , using the expression ( 10 ), the trace inequality [ 9 , Lemma 3.5] , interpolation inequalities and the expression ( 9 ), I\leqslant Ch^{k}\|\tilde{u}\|_{k+1,\Omega_{h}}{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}\\ \leqslant Ch^{k}\|f\|_{k-1,\Omega}{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}\,. Since \tilde{f}=f on \Omega and \Omega\subset\Omega_{h} , using Lemma 3 , it holds \|\tilde{f}-f\|_{0,\Omega_{h}\setminus\Omega}\leqslant Ch^{k-1}\|\tilde{f}-f\|_{k-1,\Omega_{h}\setminus\Omega}. Hence, using Lemma 1 and the interpolation inequalities, II\leqslant C\|\tilde{f}-f\|_{0,\Omega_{h}\setminus\Omega}\left(\|v_{h}\|_{0,\Omega_{h}\setminus\Omega}+\sigma h^{2}\|\Delta v_{h}\|_{0,\Omega_{h}\setminus\Omega}\right)\\ \leqslant Ch^{k}\|f\|_{k-1,\Omega_{h}}{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}\,. Let us now estimate term III : Since \tilde{u}=\frac{1}{h}p\varphi on \Omega_{h}^{\Gamma} , III\leqslant\frac{C}{h}\|\tilde{u}-\frac{1}{h}\varphi_{h}p\|_{0,\Omega_{h}^{\Gamma}}{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}\leqslant\frac{C}{h}\|\varphi-\varphi_{h}\|_{\infty,\Omega_{h}^{\Gamma}}\|\frac{p}{h}\|_{0,\Omega_{h}^{\Gamma}}{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}\,. Using Lemma 4 and interpolation inequalities, \displaystyle III \displaystyle\leqslant Ch^{k}\|\varphi\|_{W^{\infty}_{k+1}}\|\tilde{u}\|_{1,\Omega_{h}^{\Gamma}}{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h} \displaystyle\leqslant Ch^{k}\|f\|_{k-1,\Omega}{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(v_{h},q_{h})\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}\,. Using the previous estimates and by definition of {\left|\kern-1.07639pt\left|\kern-1.07639pt\left|\cdot\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h} , |u_{h}-I_{h}\tilde{u}|_{1,\Omega_{h}}\leqslant{\left|\kern-1.07639pt\left|\kern-1.07639pt\left|(u_{h}-I_{h}\tilde{u},p_{h}-I_{h}p)\right|\kern-1.07639pt\right|\kern-1.07639pt\right|}_{h}\leqslant Ch^{k}\|f\|_{k-1,\Omega}\,. Finally, using the triangle inequality and some interpolation estimates, |u_{h}-u|_{1,\Omega}\leqslant|u_{h}-I_{h}\tilde{u}|_{1,\Omega_{h}}+|I_{h}\tilde{u}-\tilde{u}|_{1,\Omega_{h}}\leqslant Ch^{k}\|f\|_{k-1,\Omega}\,. ∎ 5 Numerical illustration We conclude this study by numerical test cases implemented in Python, using the Dolfinx [ 1 ] library. For these two test cases, we compare our scheme to a standard finite element method and to the first \varphi -FEM scheme presented in [ 12 ] , respectively referred as "Dual \varphi -FEM", "Standard-FEM" and "Direct \varphi -FEM" in the figures. 5.1 First test case: a 2D complex geometry We first consider a complex geometry (see Fig. 1 ) defined by \varphi(x,y)=(-1)^{5}\prod_{j=1}^{5}\bigg(-1+\exp\left(-\frac{x_{j}^{2}}{2l_{x,j}^{2}}-\frac{y_{j}^{2}}{2l_{y,j}^{2}}\right)\bigg)-0.5\,, (12) with x_{j}=\cos(\theta_{j})(x-x_{0,j})-\sin(\theta_{j})(y-y_{0,j})\text{ and }y_{j}=\sin(\theta_{j})(x-x_{0,j})+\cos(\theta_{j})(y-y_{0,j})\,, for some given parameters (x_{0,j},y_{0,j},l_{x,j},l_{y,j},\theta_{j}) given in Table 1 . This expression was chosen to fit a liver geometry in an other study. j x_{0,j} y_{0,j} l_{x,j} l_{y,j} \theta_{j} 1 0.356 0.507 0.145 0.171 0.000 2 0.588 0.589 0.153 0.090 0.000 3 0.569 0.588 0.008 0.008 0.006 4 0.308 0.443 0.055 0.116 0.622 5 0.741 0.643 0.058 0.035 0.000 Table 1: Test case 1. Parameters of \varphi . The source term is given by f(x,y)=\cos(x)\exp(y) , and homogeneous Dirichlet boundary conditions are imposed on \Gamma . The parameters of the penalized \varphi -FEM scheme are set to \gamma=100 and \sigma_{D}=0.1 . The reference solution and the corresponding absolute errors are displayed in Fig. 1 . In Fig. 2 , we compare the relative L^{2} and semi- H^{1} errors with respect to a fine standard FEM solution computed on a mesh with h\approx 0.002 . The three methods yield comparable results, each exhibiting optimal convergence rates in both the L^{2} and H^{1} norms. Furthermore, Fig. 3 (left) compares the total computational time of each method, including mesh generation, cell selection, and assembly and solution of the finite element system. These results show that both \varphi -FEM approaches are faster than the standard FEM. However, since the finite element system associated with the penalized scheme is larger due to the introduction of an additional variable, higher computation times are observed compared to the direct \varphi -FEM. Finally, Fig. 3 (right) illustrates that optimal conditioning is achieved. Figure 1: Test case 1. From left to right: reference solution (standard FEM with a fine mesh); difference between the reference solution and the projection of each approximated solution (Standard FEM, Direct \varphi -FEM, Dual \varphi -FEM). Figure 2: Test case 1. L^{2} (left) and semi- H^{1} (right) relative errors with respect to the mesh size. Figure 3: Test case 1. Left: computation time with respect to the mesh size. Right: condition number with respect to the mesh size. 5.2 Second test case: a 3D geometry For this test case, we consider a sphere described by the level-set function \varphi(x,y,z)=-0.3125^{2}+(x-0.5)^{2}+(y-0.5)^{2}+(z-0.5)^{2}, and a manufactured solution given by u_{ex}(x,y,z)=1-\exp(\varphi(x,y,z)^{2}) such that u_{ex} vanishes on \Gamma . The parameters of the penalized \varphi -FEM scheme are set to \gamma=100 and \sigma_{D}=0.01 . The reference solution and the absolute errors are given in Fig. 4 . The relative L^{2} and H^{1} errors are given in Fig 5 , verifying the optimal convergence in both norms. Figure 4: Test case 2. From left to right: reference solution (standard FEM with a fine mesh); difference between the reference solution and the projection of each approximated solution (Standard FEM, Direct \varphi -FEM, Dual \varphi -FEM). Figure 5: Test case 2. L^{2} (left) and semi- H^{1} (right) relative errors with respect to the mesh size.