scieee AI-readable full text Open interactive document viewer

Differentiability results and sensitivity calculation for optimal control of incompressible two-phase Navier-Stokes equations with surface tension

Diehl, Elisabeth,Haubner, Johannes,Ulbrich, Michael,Ulbrich, Stefan

Abstract

EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.

Full text

Diehl, Elisabeth; Haubner, Johannes; Ulbrich, Michael; Ulbrich, Stefan Article — Published Version Differentiability results and sensitivity calculation for optimal control of incompressible two-phase Navier- Stokes equations with surface tension Computational Optimization and Applications Provided in Cooperation with: Springer Nature Suggested Citation: Diehl, Elisabeth; Haubner, Johannes; Ulbrich, Michael; Ulbrich, Stefan (2022) : Differentiability results and sensitivity calculation for optimal control of incompressible two-phase Navier-Stokes equations with surface tension, Computational Optimization and Applications, ISSN 1573-2894, Springer US, New York, NY, Vol. 87, Iss. 3, pp. 711-751, https://doi.org/10.1007/s10589-022-00415-6 This Version is available at: https://hdl.handle.net/10419/318628 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. http://creativecommons.org/licenses/by/4.0/ Vol.:(0123456789) Computational Optimization and Applications (2024) 87:711–751 https://doi.org/10.1007/s10589-022-00415-6 1 3 Differentiability results andsensitivity calculation foroptimal control ofincompressible two‑phase Navier‑Stokes equations withsurface tension ElisabethDiehl1· JohannesHaubner2· MichaelUlbrich2· StefanUlbrich1 Received: 17 May 2021 / Accepted: 6 September 2022 / Published online: 29 September 2022 © The Author(s) 2022, corrected publication 2022 Abstract We analyze optimal control problems for two-phase Navier-Stokes equations with surface tension. Based on Lp -maximal regularity of the underlying linear problem and recent well-posedness results of the problem for sufficiently small data we show the differentiability of the solution with respect to initial and distributed controls for appropriate spaces resulting from the Lp -maximal regularity setting. We consider first a formulation where the interface is transformed to a hyperplane. Then we deduce differentiability results for the solution in the physical coordinates. Finally, we state an equivalent Volume-of-Fluid type formulation and use the obtained differentiability results to derive rigorosly the corresponding sensitivity equations of the Volume-of-Fluid type formulation. For objective functionals involving the velocity field or the discontinuous pressure or phase indciator field we derive differentiability results with respect to controls and state formulas for the derivative. The results of the paper form an analytical foundation for stating optimality conditions, justifying the application of derivative based optimization methods and for studying the convergence of discrete sensitivity schemes based on Volume-of-Fluid discretizations for optimal control of two-phase Navier-Stokes equations. Keywords Two-phase flow· Surface tension· Sharp interface· Navier-Stokes equations· Volume of fluid· Differentiability· Optimal control Mathematics Subject Classification 49M41· 76D55· 35Q35· 76D45· 65K10 * Stefan Ulbrich [email protected] Extended author information available on the last page of the article 712 E.Diehl et al. 1 3 1 Introduction We consider the incompressible sharp interface two-phase Navier-Stokes equations. To this end, let the hypersurface (interface) Γ(t) divide ℝn+1 into two open domains Ω1(t) and Ω2(t)= ℝn+1 ⧵Ω1(t) , i=1, 2 , occupied by two viscous incompressible immiscible capillary Newtonian fluids with constant densities 𝜌i>0 and constant viscosities 𝜇i>0 , i=1, 2 . We set and with the indicator functions 1Ωi Moreover, we denote by 𝜈(t,⋅) the normal field on Γ(t) pointing form Ω1(t) to Ω2(t) , by V(t,⋅) the normal velocity of the interface Γ(t) and by 𝜅(t,⋅) the mean curvature of Γ(t) with respect to 𝜈(t,⋅) . Then 𝜅(t,x) is negative when Ω1(t) is convex close to x∈ Γ(t) and is for sufficiently smooth Γ(t) given by (note that this coincides with −div 𝜈(t,⋅) if 𝜈(t,⋅) admits a differentiable extension to a neighborhood of Γ(t) ). Finally, if v is defined and admits boundary traces on both domains Ωi(t) then denotes the jump of v accross Γ(t) . The two-phase Navier-Stokes equations with surface tension then read with the velocity u, the pressure q, the stress tensor S(u,q;𝜇)=−qI +𝜇(∇u+∇u⊤) and the surface tension coefficient 𝜎>0 . Here, c denotes some control. The conditions on the interface ensure the balance between surface tension and the jump of the normal stress on the interface, the continuity of the velocity across the interface and the transport of the interface by the fluid velocity. We note that the first four equations can be written in weak form on the whole domain by Ω(t)∶=Ω 1(t)∪Ω 2(t) 𝜌=𝜌11Ω1 +𝜌21Ω2,𝜇=𝜇11Ω1 +𝜇21Ω2. 𝜅(t,⋅)=−div Γ𝜈(t,⋅) [v]=(v|Ω2(t)−v|Ω1(t))|Γ(t) (1) 𝜌(𝜕 t u+u⋅∇u)−𝜇Δu+∇q=cin Ω(t), div u=0 in Ω(t) , −[S(u,q;𝜇)𝜈]=𝜎𝜅𝜈 on Γ(t) , [u]=0 on Γ(t) , V=u⊤𝜈on Γ(t) , u(0)=u0on Ω(0) , Γ(0)=Γ 0 , 713 1 3 Differentiability results andsensitivity calculation for… Our aim is to study the differentiability properties of local solutions with respect to u0 and c. To this end, we will work in an Lp -maximal regularity setting proposed in [22], see also [20, 23]. There exist several papers on the existence and uniqueness of local solutions for (1). In [8, 9, 24, 25] Lagrangian coordinates are used to obtain local well-posedness. Since this approach makes it difficult to establish smoothing of the unknown interface, [20, 22, 23] use a transformation to a fixed domain and are then able to show local well-posedness in an Lp maximum regularity setting for the case c=0 [20, 22] or for the case of gravitation [23]. Moreover, they prove that the interface as well as the solution become instantaneously real analytic. Since we are considering a distributed control c of limited regularity, the instant analyticity is in general lost. While optimal control problems for the Navier-Stokes equations have been studied by many researchers, see for example [12, 15, 19, 26], there are only a few contributions in the context of two-phase Navier-Stokes equations, mainly for phasefield formulations with semidiscretization in time. In [18] optimal boundary control of a time-discrete Cahn-Hilliard-Navier-Stokes system with matched densities is studied. By using regularization techniques, existence of optimal solutions and optimality conditions are derived. Analogous results for distributed optimal control with unmatched densities for the diffuse interface model of [1] have been obtained in [17]. Using the same model, [14] derive based on the stable time discretization proposed in [13] necessary optimality conditions for the time-discrete and the fully discrete optimal control problem. Moreover, the differentiability of the control-to- state mapping for the semidiscrete problem is shown. Optimal control of a binary fluid described by its density distribution, but without surface tension, is studied in [4]. Different numerical approaches for the optimal control of two-phase flows are discussed in [5]. In this paper we derive differentiability results of the solution of the two-phase Navier-Stokes equations (1) with respect to controls. The results can be used to state optimality conditions and to justify the application of derivative based optimization methods. To the best of our knowledge, this is the first work providing differentiability properties of control-to-state mappings for sharp interface models of two-phase Navier-Stokes flow. The analysis is involved, since the moving interface renders a variational analysis difficult. Therefore it is beneficial, to first consider a transformed problem with fixed interface. However, since most numerical approaches are working in physical coordinates, we derive also differentiability results for the original problem. Since the normal derivative of the velocity is in general discontinuous at the interface, the sensitivities of the velocity are discontinuous across the interface. Moreover, the pressure is in general discontinuous at the interface and (2) ∫ ℝn+1 ( 𝜕t(𝜌u)+div(𝜌u⊗u)−c)⊤𝜑+S(u,q;𝜇)∶∇𝜑 ) dx = ∫ Γ(t) 𝜎𝜅𝜈⊤𝜑dS(x ) ∀𝜑∈C1 c (ℝn+1;ℝn+1), (3) ∫ℝ n+1 div(u)𝜓dx =0∀𝜓∈C1 c(ℝn+1) . 714 E.Diehl et al. 1 3 thus differentiability properties with respect to controls in strong spaces hold only away from the interface while at the interface differentiability properties can only be expected in the weak topology of measures. The same applies to phase indicators which are often used in Volume-of-Fluid (VoF)-type approaches. In order to obtain a PDE-formulation for the sensitivity equations, we work with a Volume-of-Fluid (VoF)-type formulation based on a discontinuous phase indicator and derive carefully a corresponding sensitivity equation. We build on the quite recent existence and uniqueness results obtained for sufficiently small data by [22], see also [20, 23]. We consider first a formulation, where the interface is transformed to a hyperplane. By using Lp -maximal regularity of a linear system and applying a refined version of a fixed point theorem, we show differentiability of the transformed state with respect to controls in the maximum regularity spaces. A similar technique was recently used in [16] to show differentiability properties for shape optimization of fluid-structure interaction, but the analysis of the fixed point iteration is very different from two-phase flows considered here. In fact, the main difficulties in fluid-structure interaction arise from the coupling of a hyperbolic equation for the solid with the Navier-Stokes equations for the fluid while in two phase flows the moving interface and the surface tension are the main challenge. In a second step we deduce differentiability results for the control-to-state map in the physical coordinates. Finally, we derive an equivalent Volume-of-Fluid (VoF)-type formulation based on a discontinuous phase indicator that is governed by a multidimensional transport equation. By using the obtained differentiability results, we are able to justify a sensitivity system for the VoF-type formulation, which invokes measure-valued solutions of the linearized transport equation. This can be used as an analytical foundation to study the convergence of discrete sensitivity schemes for VoF-type methods. Moreover, we obtain the differentiability of objective functionals invoking the velocity field or the discontinuous pressure or phase indicator field and state formulas for the derivative. The paper is organized as follows. In Sect.2, the transformed problem is formulated. In Sect.3, existence, uniqueness and differentiability of the control-to-state mapping is shown. The analysis starts in3.1 for the transformed problem with flat interface. In 3.2 differentiability results for the original problem in physical coordinates are derived. In3.3 the VoF-type formulation and its sensitivity equation are justified. In Sect.4 we derive some analytical settings for the application of optimization methods. In4.1 we consider objective functionals involving the velocity field and state differentiability results. Subsequently, we discuss in4.2 objective functionals involving the pressure field or the phase indicator, obtain their differentiability with respect to controls as well as a formula for the derivative. 2 Transformation toaflat interface In this paper, we consider as in Prüss and Simonett [22] the problem in n+1 dimensions, where Γ0 is the graph of a sufficiently smooth function h0∶ℝn→ℝ , i.e., 715 1 3 Differentiability results andsensitivity calculation for… The interface has then the form where h∶[0, t0]×ℝn→ℝ with h(0, ⋅)=h0 and t0>0 is some final time. We note that the case of bounded fluid domains is considered in [20]. The analysis of this paper should also extend to this setting, but the presentation would be more technical. If h(t,⋅) has second derivatives then normal and curvature of the interface Γ(t) are given by where ∇h and Δh denote the gradient and Laplacian of h with respect to x and Following [22], we now transform the problem to  ℝn+1= {(x,y)∈ ℝ n+1∶y≠0} with a flat interface at y=0 by using the transformation Analogously, let with ℝn+1 ± = {(x,y)∈ℝ n ×ℝ∶±y>0 } As in [22], we work with the following function spaces. Let Ω⊂ℝm be open and X be a Banach space. Lp(Ω;X) , Hs p(Ω;X) , 1≤p≤∞ , s∈ℝ , denote the X-val- ued Lebesgue and Bessel potential spaces of order s, respectively. We note that Hk p (Ω;X)=W k p (Ω;X ) for k∈ ℕ 0 , 1<p<∞ with the Sobolev-Slobodetskiǐ spaces Wk p . Moreover, we will use the fractional Sobolev-Slobodetskiǐ spaces Ws p(Ω;X) , 1≤p<∞ , s∈(0, ∞) ⧵ℕ , with norm Γ0= { (x,y)∈ℝ n ×ℝ∶y=h0(x) }, Ω 1(0)= { (x,y)∈ℝn×ℝ∶y<h0(x) }, Ω2 (0)= { (x,y)∈ℝn×ℝ∶y>h 0 (x) }. Γ(t)={(x,h(t,x)) ∶ x∈ℝn}, (4) 𝜈 (t,x)=𝜈(t,x,h(t,x)) = 1 √1+�∇h(t,x)�2 � −∇h(t,x) 1 � , 𝜅 (t,x)=𝜅(t,x,h(t,x)) = divx � ∇h(t,x) √1+�∇h(t,x)� 2 � =Δh−G𝜅(h) , (5) G 𝜅(h)= � ∇h �2 Δh � 1+ √ 1+ � ∇h � 2 �√ 1+ � ∇h � 2 +∇h⊤∇2h∇h � 1+ � ∇h � 2 � 3∕2 . (6) u (t,x,y)= ( v(t,x,y) w(t,x,y) ) ∶= u(t,x,h(t,x)+y),𝜋(t,x,y) ∶= q(t,x,h(t,x)+y) . 𝜌 (t,x,y)=𝜌(t,x,h(t,x)+y)=𝜒 ℝn+1 − (x,y)𝜌 1 +𝜒 ℝn+1 + (x,y)𝜌 2 , 𝜇 (t,x,y)=𝜇(t,x,h(t,x)+y)=𝜒ℝn+1 − (x,y)𝜇 1 +𝜒ℝn+1 + (x,y)𝜇 2. 716 E.Diehl et al. 1 3 We recall that Ws p(Ω;X)=Bs pp(Ω;X) for s∈(0, ∞) ⧵ℕ with the Besov space Bs pp . Finally, the homogeneous Sobolev space  H1 p(Ω) is defined by Then  H1 p(Ω) is for connected Ω a Banach space if we factor out the constant functions and equip the resulting space with the corresponding quotient norm. Finally, for Ω⊂ℝm open or closed we denote by BUC(Ω;X) and BC(Ω;X) the space of bounded uniformly continuous and the space of bounded continuous functions equipped with the supremum norm, respectively. Analogously, BUCk(Ω;X) and BCk(Ω;X) , k∈ℕ0 , are defined for k-times continuously differentiable functions with bounded uniformly continuous or bounded continuous derivatives up to order k. If Ω is compact, we may briefly write Ck(Ω;X) , since boundedness und uniform continuity are automatically satisfied. To state the transformed problem, we follow [22] and we use a fixed point formulation consisting of a linearized Stokes problem with nonlinear right hand side. In fact, define with J=(0, t0) and p>n+3 the space 𝔼(t0) by and denote by (i.e., r=[𝜋] by the definition of 𝔼(t0) ) the Stokes problem with free boundary ‖ g ‖ Ws p(Ω;X)= ‖ g ‖ W[s] p(Ω;X)+ � �𝛼�=[s]� ∫Ω∫Ω ‖ 𝜕𝛼g(x)−𝜕𝛼g(y) ‖ p X � x−y � m+(s−[s])pdx dy �1∕p  H 1 p(Ω) ∶= �� g∈L1,loc(Ω) ∶ ‖ ∇g ‖ Lp(Ω) <∞ � , ‖ ⋅ ‖  H1 p(Ω) � , ‖ g ‖  H1 p(Ω) ∶= ‖ ∇g ‖ Lp(Ω;ℝm) . (7) 𝔼 1(t0)= { u∈H1 p ( J;Lp ( ℝn+1,ℝn+1 )) ∩Lp ( J;H2 p (  ℝn+1,ℝn+1 )) ∶[u]=0 }, 𝔼 2(t0)=Lp(J; H1 p( ℝn+1)), 𝔼 3(t0)=W1∕2−1∕(2p) p(J;Lp(ℝn))∩Lp(J;W1−1∕p p(ℝn)), 𝔼 4(t0)=W2−1∕(2p) p(J;Lp(ℝn))∩H1 p(J;W2−1∕p p(ℝn)) ∩W1∕2−1∕(2p) p(J;H2 p(ℝn))∩Lp(J;W3−1∕p p(ℝn)), 𝔼(t 0 )= { (u,𝜋,r,h)∈𝔼 1 (t 0 )×𝔼 2 (t 0 )×𝔼 3 (t 0 )×𝔼 4 (t 0 )∶[𝜋]=r } , (8) L(u,𝜋,r,h)=(f,fd,gv,gw,gh),(u(0),h(0)) = (u0,h0),(u,𝜋,r,h)∈ 𝔼 (t0) 717 1 3 Differentiability results andsensitivity calculation for… for t>0 . Here, [u] denotes the jump across the transformed interface y=0 and 𝛾w(x)=w(x,0) denotes the trace of a function w∶  ℝn+1→ℝ at y=0 satisfying [w]=0 . Then it is shown in [22] that the transformation (6) leads to the following problem for u=(v,w),𝜋,h where the right hand sides are given by F=(Fv,Fw) and Note that all terms except G𝜅(h) are polynomials in (v,w,𝜋,[𝜋],h) and derivatives of (v,w,𝜋,h) . Moreover, all terms are linear with respect to second derivatives and G𝜅(h) is the pointwise superposition of a smooth function with ∇h and ∇2h . Remark 1 The transformed version of the deformation tensor D(u)=∇u+∇u⊤ is given by D(u,h)=D(v,w,h) , where (9) 𝜌 𝜕 tu−𝜇 Δu+∇𝜋=fin  ℝ n+1, div u=fdin  ℝn+1 , −[ 𝜇 𝜕 yv]−[𝜇 ∇xw]=gvon ℝn , − 2[𝜇 𝜕 yw]+[𝜋]−𝜎Δh=gwon ℝn , [u]=0 on ℝn , 𝜕th−𝛾w=ghon ℝn ,  u(0)=  u0,h(0)=h0 (10) L (u,𝜋,[𝜋],h)= ( c+F(u,𝜋,h),Fd(u,h),Gv(u,[𝜋],h),Gw(u,h),H(u,h) ), (u(0),h(0)) = (u0,h0), (11) Fv(v,w,𝜋,h)=𝜇 ( −2(∇h⋅∇x)𝜕yv+|∇h|2𝜕2 yv−Δh𝜕yv ) +𝜕y𝜋∇h +𝜌 (−(v⋅∇x)v+ (∇h⊤v)𝜕yv−w𝜕yv)+𝜌 𝜕 th𝜕yv, Fw(v,w,h)=𝜇 (−2(∇h⋅∇x)𝜕yw+|∇h|2𝜕2 yw−Δh𝜕yw) +𝜌 (−(v⋅∇x)w+ (∇h⊤v)𝜕yw−w𝜕yw)+𝜌 𝜕 th𝜕yw, Fd(v,h)=∇h⊤𝜕yv, G v(v,w,[𝜋],h)=−[𝜇 (∇xv+ (∇xv)⊤)]∇h+|∇h|2[𝜇 𝜕 yv]+(∇h⊤[𝜇 𝜕 yv])∇ h −[𝜇 𝜕 yw]∇h+([𝜋]−𝜎(Δh−G𝜅(h)))∇h, Gw(v,w,h)=−∇h⊤[𝜇 𝜕 yv]−∇h⊤[𝜇 ∇xw]+ | ∇h | 2[𝜇 𝜕 yw]−𝜎G𝜅(h), H(v,w,h)=−(𝛾v) ⊤ ∇h. D (u,h)=∇u+∇u⊤− ( ∇h𝜕yu⊤ 0 ) − ( ∇h𝜕yu⊤ 0 )⊤ . 718 E.Diehl et al. 1 3 Then the compatibility condition (14) can with 𝜈 (0, x)= 1 √ 1+ � ∇h0(x) � 2 � −∇h0(x) 1 � equivalently be written as 3 Well‑posedness anddifferentiability withrespect tocontrols 3.1 Results forthetransformed problem By applying a fixed point theorem to (10), the following result is shown in [22] for c=0 . Theorem2 Let p>n+3 and consider the case c=0 , i.e. c=0 . Let and let with J=(0, t0) the space 𝔼(t0) be defined by (7). Then for any t0>0 there exists 𝜀 0=𝜀 0(t0)>0 such that for all initial values satisfying, with u0(x,h0(x)+y)=u0(x,y) , the compatibility conditions as well as the smallness condition there exists a unique solution of the transformed problem (10) with Moreover, (u,𝜋,[𝜋],h)∈𝔼(t0) depends continuously on (u0,h0)∈𝕌u×𝕌h satisfying (14). Proof See [22, Thm. 6.3]. ◻ Our first aim is to study the differentiability properties of the control-to-state map (u0,c)↦(u,𝜋,[𝜋],h) . Note that we consider also the case c≠0 . The proof is carried out by an appropriate extension of the fixed point argument for (10) based on Theorem7. (12) [ 𝜇 D(u0,h0)𝜈 (0)− 𝜇 (𝜈 (0) ⊤ D(u0,h0)𝜈 (0)) 𝜈 (0)] = 0, div u 0 =F d (u 0 ,h 0 ),[u 0 ]=0. (13) 𝕌 u∶= W 2−2∕p p (  ℝ n+1 ,ℝ n+1 ),𝕌h∶= W 3−2∕p p (ℝ n) (u0,h0)∈𝕌u×𝕌h (14) [𝜇D(u0)𝜈(0)−𝜇(𝜈(0)⊤D(u0)𝜈(0))𝜈(0)] = 0, div u0=0, [u0]=0, ‖u 0 ‖ 𝕌 u +‖h 0 ‖ 𝕌 h≤𝜀 0 (u,𝜋,[𝜋],h)∈𝔼(t0). 725 1 3 Differentiability results andsensitivity calculation for… where the imbeddings follow by real interpolation and g∗ ,g∗ h are real analytic in (u0,h0)∈𝕌u×𝕌h . (31) ensures that (17) holds for g∗ . Next, let where E± ∈L(W 2−2∕p p(ℝn+1 ± ),W 2−2∕p p(ℝn+1 ))) are extension operators and R± are the restrictions to ℝn+1 ± . Now ( u 0 ,h 0 )∈𝕌 u ×𝕌 h ↦v⊤ 0 ∇h 0 ∈W 2−2∕p p(  ℝn+1 ) is by Lemma 6 real analytic. By Lp -regularity for Dn+1 c∗ d ∈H 1 p (J;Lp(ℝ n+1 )) ∩ Lp(J;H 2 p (  ℝ n+1)) and thus is real analytic with respect to (u0,h0)∈𝕌u×𝕌h . Hence, also (16) holds for f∗ d and we conclude that R∗∶= (0, f∗ d,g∗,g∗ h)∈𝔽(t0) satisfies the compatibility conditions (16), (17) and by construction (u0,h0)∈𝕌u×𝕌h↦R∗∈𝔽(t0) is real analytic. Hence, by Theorem3 the linear problem (29) has a unique solution z∗=z∗(u0,h0) that is real analytic and by Lemma 6 the first derivative vanishes in 0, i.e., Dz∗(0, 0)=0 . Now consider (30). By construction of z∗ the right hand side of (30) is in 0𝔽(t0) . Denote by L0∈L(0𝔼(t0),0𝔽(t0)) the restriction of L which is an isomorphism by Corollary4. Hence, (30) can be written as To apply Theorem7 we set now with suitable 𝜀 0>0 and 𝛿>0 where 𝜀 0,𝛿>0 will be adjusted later. Let M = ‖ L −1 0‖ L( 0 𝔽(t 0 ), 0 𝔼(t 0)) . We know by Lemma5 and the properties of z∗ that the right hand side is real analytic with Hence, the Lipschitz constant Lz of K with respect to z is arbitrary small close to 0 and the Lipschitz constant of K with respect to (u0,h0,c) is Lu=2 close enough to 0 (note that the Lipschitz constant with respect to c is 1). Hence, if we set 𝛿=4M𝜀 0 then for 𝜀 0 small enough K has the Lipschitz constants Lz =1∕(2M ) and Lu=2 on BZ(𝛿)×BU(𝜀 0) . Hence, for all (z,u0,h0,c)∈BZ(𝛿)×BU(𝜀 0) c ∗ d(t)= { R+e −tD n+1E+v ⊤ 0∇h0in ℝ n+1 + , R − e−tDn+1E − v⊤ 0 ∇h 0 in ℝn+1 −, f∗ d∶= 𝜕yc∗ d∈𝔽2(t0)with f∗ d(0)=Fd(v0,h0) (32) L0 z=N(z+z∗(u0,h0))+(c,0)−Lz∗(u0,h0) =∶ K(z;u0,h0,c),z∈0 𝔼 (t0). B U(𝜀 0) ∶= � (u0,h0,c)∈𝕌u×𝕌h×𝕌c(t0)∶ (u0,h0,c)satisfy (12), (27) �, B Z (𝛿) ∶= � z∈ 0 𝔼(t 0 )∶ ‖ z ‖0 𝔼 (t0) ≤𝛿 � , (33) (z,u0,h0,c)∈0𝔼(t0)×𝕌u×𝕌h×𝕌c(t0)↦K(z;u0,h0,c)∈𝔽(t0) K(0)=0, D (z,u 0 ,h 0 ) K(0)=0. 726 E.Diehl et al. 1 3 Thus, (23) is satisfied and (32) has by Theorem7 for all (u0,h0,c)∈BU(𝜀 0) a unique solution z=z(u0,h0,c)∈BZ(𝛿) satisfying the Lipschitz stability (24). Since also the real analytic operator z∗(u0,h0)∈𝔼(t0) is Lipschitz continuous on BU(𝜀 0) , the solution z(u0,h0,c)=z+z∗∈𝔼(t0) is unique and Lipschitz continuous on BU(𝜀 0) . Now let (u∗ 0,h∗ 0,c∗)∈BU(𝜀 0) be arbitrary. Then {(u0,h∗ 0,c)∈BU(𝜀 0)} is a relatively open subset of an affine subspace of 𝕌u×𝕌h×𝕌c(t0) . Since (33) is real analytic, it follows from Theorem 7, b) that z(u0,h∗ 0,c)∈0𝔼(t0) is infinitely many times differentiable with respect to (u0,c) and the same holds for z(u0,h∗ 0,c)=z+z∗∈𝔼(t0) . ◻ 3.2 Results fortheoriginal problem We transfer now the results of Theorem8 for the transformed problem (10) to the original problem (1). To this end, we define for h0∈ 𝕌 h the spaces Since the pressure 𝜋(t,⋅) is only determined up to a constant, we select from now on without restriction the unique representative satisfying (note that [𝜋] is uniquely determined in (10)) Then with the convention (36) and by the trace theorem, we find a Poincaré constant CP>0 with The following imbeddings will be useful. Lemma 9 Let p>n+3 . Then the following imbeddings hold with J=(0, t0) , t0>0 . (34) ‖ L −1 0K(z;u0,h0,c) ‖ 0𝔼(t0) ≤MLz ‖ z ‖ 0𝔼(t0)+MLu( ‖ u0 ‖ 𝕌u+ ‖ h0 ‖ 𝕌h+ ‖ c ‖ 𝕌c(t0))<1 2 𝛿+2M𝜀 0=𝛿 . (35) 𝕌 u(h0) ∶= W2−2∕p p ( ℝn+1⧵Γ(0),ℝn+1 ) ,𝕌c(t0) ∶= Lp ( J;H1 p ( ℝn+1,ℝn+1 )). (36) 𝜋 ∈𝔼1(t0), ∫[−1,1] n 𝜋(t,x,0−) dx =0 for a.a. t∈(0, t0) . (37) ‖ 𝜋(t,⋅) ‖ H1 p ( ℝn+1) ≤ CP �‖ 𝜋(t,⋅) ‖  H1 p ( ℝn+1)+ ‖ [𝜋] ‖ W1−1∕p p (ℝn) �. (38) 𝔼1 (t 0 )↪C ( J;BUC 1( ℝ n+1 ,ℝ n+1)) ∩C ( J;BUC ( ℝ n+1 ,ℝ n+1)), (39) 𝔼 1(t0)↪H1 p ( J×ℝn+1,ℝn+1 ) ∩C (  J;H1 p ( ℝn+1,ℝn+1 )), 727 1 3 Differentiability results andsensitivity calculation for… Proof For the imbeddings (38), (41) see [22, Lem. 6.1]. Moreover, it is obvious that and also 𝔼1 (t 0 )↪C(  J;W 2−2∕p p (  ℝn+1,ℝn+1 )) holds, see [2, Theorem III.4.10.2]. Since the functions u∈𝔼1(t0) are continuous by (38) and thus [u]=0 , this implies the imbedding (39). Now (40) follows from interpolation between (38) and (39). ◻ Theorem10 Let (u,𝜋,[𝜋],h)∈𝔼(t0) , h0∈𝕌h , u0∈𝕌u(h0) , and consider, see (6), Then there exist constants C(‖h‖ 𝔼 4(t0))>0 and C(‖h0‖ 𝕌 h) such that Proof Let (u,𝜋,[𝜋],h)∈𝔼(t0) and consider, see (6), By (41) the mapping Th(t)∶(x,y)↦(x,y−h(t,x)) is for all t∈[0, t0] a C2 -diffeo- morphism with T−1 h(t) (x,y)=(x,y+h(t,x )) and det (DTh(t)(x,y)) = 1 . By (39) the chain rule for Sobolev functions can be applied and yields u ∈H 1 p (J×ℝ n+1 ,ℝ n+1) with Moreover, again by (41) and ∇ u∈Lp(J;H 1 p (  ℝ n+1 ,ℝ n+1,n+1)) we have (40) 𝔼 1(t0)↪H1 p ( J×ℝn+1,ℝn+1 ) ∩C (  J;H1 p ( ℝn+1,ℝn+1 )) ∀p∈[p,∞) , (41) 𝔼4 (t 0 )↪C 1( J;BC 1 (ℝ n ) ) ∩C ( J;BC 2 (ℝ n ) ). 𝔼1 (t 0 )↪H 1 p (J×  ℝ n+1 ,ℝ n+1) (42) u(t,x,y)=u(t,x,y−h(t,x)),q(t,x,y)=𝜋(t,x,y−h(t,x)), u0 (x,y)=u 0( x,y−h 0 (x) ) . (43) ‖ u‖W1 p(J×ℝn+1,ℝn+1)+ � �J‖u(t)‖p H2 p(ℝn+1⧵Γ(t),ℝn+1)dt �1∕p≤ C(‖h‖𝔼4(t0))‖u‖𝔼1(t0) , � �J‖q(t)‖p  H1 p(ℝn+1⧵Γ(t),ℝn+1)dt�1∕p≤C(‖h‖𝔼4(t0))‖𝜋‖𝔼2(t0), � �J ‖ [q(t)] ‖ p W1−1∕p p(Γ(t)) dt�1∕p≤C( ‖ h ‖ 𝔼4(t0)) ‖ [𝜋] ‖ Lp(J;W1−1∕p p(ℝn)), ‖ u 0‖ 𝕌 u ≤C( ‖ h 0‖ 𝕌 h ) ‖ u 0‖ 𝕌 u(h0) . u(t,x,y)=u(t,x,y−h(t,x)). 𝜕tu(t,x,y)=𝜕tu ( t,Th(t)(x,y) ) −𝜕yu ( t,Th(t)(x,y) ) 𝜕th(t,x) , 𝜕(x,y) u(t,x,y)=𝜕 (x,y) u ( t,T h(t) (x,y) ) DT h(t) (x,y). 728 E.Diehl et al. 1 3 Completely analogous one obtains Now consider r=[𝜋] and r=[q] then r(t,x,h(t,x)) = r(t,x) and Similarly, one obtains also the estimate for ‖u0‖ 𝕌 u , see [22, Proof Thm 1.1]. ◻ Lemma 11 Consider the transformation (42), where we choose for 𝜋∈𝔼2(t0),[𝜋]∈𝔼3(t0) the unique representative 𝜋 satisfying (36). Then for all p∈[p,∞) the mapping is continuously differentiable with derivative Let E ±∈L(H l p (ℝ n+1 ± ),H l p (ℝ n+1)) be extension operators for l=1, 2 and set Then the mappings are continuously differentiable with derivative ‖ u ‖ H1 p(J×ℝn+1,ℝn+1)+ � � J‖ u(t) ‖ p H2 p(ℝn+1⧵Γ(t),ℝn+1)dt �1∕p≤ C �‖ h ‖ 𝔼4(t0) �‖ u ‖ 𝔼1(t0) . � � J‖ q(t) ‖ p  H1 p(ℝn+1⧵Γ(t),ℝn+1)dt �1∕p≤ C �‖ h ‖ 𝔼4(t0) �‖ 𝜋 ‖ 𝔼2(t0) . ‖ r(t,⋅)‖p W1−1∕p p(Γ(t)) = � ℝn � ℝn �r(t,x,h(t,x)) − r(t,x,h(t,x))�p �√�x−x�2+�h(t,x)−h(t,x)�2�n+p−1 ⋅√1+�∇h(t,x)�2√1+�∇h(t,x)�2dx dx ≤�ℝn�ℝn�r(t,x)−r(t,x)�p � x−x � n+p−1dx dx(1+ � h(t,⋅) � BC1(ℝn)) 2 ≤ ‖ r(t,⋅) ‖ p W1−1∕p p (ℝn)C �‖ h ‖ 𝔼4(t0) � p. (44) ( u,𝜋,[𝜋],h)∈𝔼(t 0 )↦u∈C ( J;L p( ℝ n+1 ,ℝ n+1)) (𝛿u,𝛿𝜋,[𝛿𝜋],𝛿h)∈𝔼(t 0 )↦𝛿u(t,x,y) =𝛿u(t,x,y−h(t,x))−𝜕 y u(t,x,y−h(t,x))𝛿h(t,x) . (45) u ± (t,⋅)=E ± u(t,⋅),u ± (t,x,y)=u ± (t,T h(t) (x,y)), 𝜋± (t,⋅)=E ± 𝜋(t,⋅),q ± (t,x,y)=𝜋 ± (t,T h(t) (x,y)) . (46) ( u,𝜋,[𝜋],h)∈𝔼(t0)↦u±∈Lp ( J;H1 p ( ℝn+1,ℝn+1 )), (47) ( u,𝜋,[𝜋],h)∈𝔼(t 0 )↦q ± ∈L p( J;L p( ℝ n+1)) 729 1 3 Differentiability results andsensitivity calculation for… Proof Define as in the previous proof the C2 -diffeomorphisms Th(t)∶(x,y) ↦ (x,y−h(t,x)) . Then u(t,x,y)=u(t,Th(t)(x,y)) . Let (u,𝜋,[𝜋],h),(𝛿u,𝛿𝜋,[𝛿𝜋],𝛿h)∈ 𝔼 (t0) be arbitrary. We recall the well known fact that for any v ∈C(  J;L p (ℝ n+1)) , p≤p<∞ , it holds which can be shown by an approximation of v through a sequence of continuous functions with compact support. Similarly, for v ∈L p (J;L p (ℝ n+1)) one has Consider the remainder term Let p≤p<∞ be arbitrary. We obtain Here, we have used (47) and the imbeddings (40), (41). This shows that (43) is Fréchet differentiable. The continuity of the derivative follows from the fact that for (u1,𝜋1,[𝜋1],h1)→(u,𝜋,[𝜋],h) in 𝔼(t0) we have ( 𝛿u,𝛿𝜋,[𝛿𝜋],𝛿h)∈𝔼(t0)↦ ( 𝛿u± 𝛿q± ) (t,x,y) = ( 𝛿u± 𝛿𝜋 ±) (t,x,y−h(t,x)) − 𝜕y ( u± 𝜋 ±) (t,x,y−h(t,x))𝛿h(t,x) . (48) sup t∈J� � � v � t,T(h+𝛿h)(t)(⋅) � −v � t,Th(t)(⋅) �� � � L p (ℝn+1) →0 as ‖ 𝛿h ‖ C( J;BC1(ℝn)) → 0, (49) ∫J� � � v � t,T(h+𝛿h)(t)(⋅) � −v � t,Th(t)(⋅) �� � � p L p (ℝn+1)dt →0 as ‖ 𝛿h ‖ C( J;BC1(ℝn)) → 0. (50) R u(t,x,y) ∶=(u+𝛿u) ( t,T(h+𝛿h)(t)(x,y) ) −u ( t,Th(t)(x,y) ) −𝛿u ( t,T h(t) (x,y) ) +𝜕 y u ( t,T h(t) (x,y) ) 𝛿h(t,x) . ‖Ru‖C( J;Lp(ℝn+1)) ≤ sup t∈J � � � � ��1 0 (𝜕y𝛿u(t,T(h+𝜏𝛿h)(t)(⋅)) d𝜏𝛿h(t,⋅) � � � � �Lp(ℝn+1) +sup t∈J � � � � ��1 0 (𝜕yu(t,T(h+𝜏𝛿h)(t)(⋅)) − 𝜕yu(t,Th(t)(⋅))) d𝜏𝛿h(t,⋅)� � � � �Lp(ℝn+1) ≤ ‖𝛿u‖C( J;H1 p(ℝn+1)‖𝛿h‖C( J;BC(ℝn)) +sup t∈J,𝜏∈[0,1]� � �𝜕yu(t,T(h+𝜏𝛿h)(t)(⋅)) − 𝜕yu(t,Th(t)(⋅))� � �Lp(ℝn+1)‖𝛿h‖C( J;BC(ℝn )) =‖ 𝛿u ‖ C( J;H1 p(ℝn+1) ‖ 𝛿h ‖ C( J;BC(ℝn)) +o� ‖ 𝛿h ‖ C( J;BC(ℝn))� = o �‖ 𝛿u ‖ 𝔼 1 (t 0 )+ ‖ 𝛿h ‖ 𝔼 4 (t 0 ) � . 730 E.Diehl et al. 1 3 as well as ‖𝛿h‖C(  J;BC( ℝn )) ≤C‖𝛿h‖ 𝔼 4(t0) and where we have used (47). The continuous differentiability of (46) follows very similarly by using (48) instead of (47) and by applying (36), (37) and Theorem10. Finally, consider (45), (44). Then u ±,𝛿u±∈Lp(J;H 2 p (ℝ n+1 ,ℝ n+1)) . Define the remainder terms R u ± as in (49) with u,  𝛿u replaced by u±,𝛿u± . After differentiation a calculation as above yields sup t∈J � � �𝛿u � t,Th1(t)(⋅) � −𝛿u � t,Th(t)(⋅) �� � �Lp(ℝn+1) =sup t∈J � � � � ��1 0 𝜕y𝛿u�t,T(h+𝜏(h1−h))(t)(⋅)�d𝜏(h1−h)(t,⋅)� � � � �Lp(ℝn+1 ) ≤ ‖ 𝛿u ‖ C( J;H1 p(ℝn+1)) ‖ h1−h ‖ C( J;BC(ℝn)) ≤C ‖ 𝛿u ‖ 𝔼 1(t0)‖ h 1 −h ‖ 𝔼 4(t0) sup t∈J ‖𝜕 y u 1 (t,T h1(t) (⋅)) − 𝜕 y u(t,T h(t) (⋅))‖ Lp(ℝn+1) ≤ ‖ u1−u ‖ C( J;H1 p(ℝn+1)) +sup t∈J ‖ 𝜕yu1(t,Th1(t)(⋅)) − 𝜕yu(t,Th(t)(⋅)) ‖ Lp(ℝn+1)→ 0, ‖∇R u± ‖ Lp(J;Lp(ℝn+1)) ≤ � � � � ��1 0 (𝜕y∇𝛿u±�t,T(h+𝜏𝛿h)(t)(⋅)�⊤DT(h+𝜏𝛿h)(t)d𝜏𝛿h(t,⋅)� � � � �Lp(J;Lp(ℝn+1)) +� � � � ��1 0 𝜕y𝛿u±�t,T(h+𝜏𝛿h)(t)(⋅)�d𝜏∇𝛿h(t,⋅)⊤� � � � �Lp(J;Lp(ℝn+1)) +� � � � ��1 0 ∇�𝜕yu±�t,T(h+𝜏𝛿h)(t)(⋅)�−𝜕yu±�t,Th(t)(⋅)��⊤DTh(t)d𝜏𝛿h(t,⋅)� � � � �Lp(J;Lp(ℝn+1 )) +� � � � ��1 0 𝜕y∇u±�t,T(h+𝜏𝛿h)(t)(⋅)�⊤�DT(h+𝜏𝛿h)(t)−DTh(t)�d𝜏𝛿h(t,⋅)� � � � �Lp(J;Lp(ℝn+1)) +� � � � ��1 0�𝜕yu±�t,T(h+𝜏𝛿h)(t)(⋅)�−𝜕yu±�t,Th(t)(⋅)��d𝜏∇𝛿h(t,⋅)⊤� � � � �Lp(J;Lp(ℝn+1)) ≤ ‖𝛿u±‖Lp(J;H2 p(ℝn+1))�1+‖h‖C( J;BC1(ℝn)) +‖𝛿h‖C( J;BC1(ℝn))�‖𝛿h‖C( J;BC(ℝn)) +‖𝛿u±‖Lp(J;H1 p(ℝn+1))‖𝛿h‖C( J;BC1(ℝn)) +‖𝜕y∇u±�t,T(h+𝜏𝛿h)(t)(⋅)�−𝜕y∇u±�t,Th(t)(⋅)�‖Lp(J;Lp(ℝn+1)) ⋅�1+‖h‖C( J;BC1(ℝn))�‖𝛿h‖C( J;BC(ℝn)) +‖u±‖Lp(J;H2 p(ℝn+1))‖𝛿h‖2 C( J;BC(ℝn)) + ‖ 𝜕yu±�t,T(h+𝜏𝛿h)(t)(⋅)�−𝜕yu±�t,Th(t)(⋅)� ‖ Lp(J;Lp(ℝn+1)) ‖ 𝛿h ‖ C( J;BC1(ℝn)) = o �‖ 𝛿u ‖ Lp(J;H2 p (ℝn+1)) + ‖ 𝛿h ‖ C( J;BC1(ℝn)) � =o �‖ 𝛿u ‖ 𝔼1(t0)+ ‖ 𝛿h ‖ 𝔼4(t0) � . 731 1 3 Differentiability results andsensitivity calculation for… Here we have used (48) and the imbedding (41). The continuity of the derivative follows with very similar estimates. ◻ Similarly, we have Lemma 12 Let 𝕌 c(t0)=Lp(J;H 1 p (ℝ n+1)) . Then the mapping with c(c,h)(t,x,y)=c(t,x,y+h(t,x)) is continuously differentiable with derivative Proof The proof is the same as for (46). ◻ For the original data (u0,h0,c) we obtain the following existence and differentiability result. Theorem13 Let p>n+3 and 𝕌u(h0), 𝕌 c(t0) be defined by (35). Then for any t0>0 there exists 𝜀0=𝜀0(t0)>0 such that for all data satisfying the compatibility condition (14) as well as the smallness condition there exists a unique solution of the transformed problem (10) with Moreover, for any h0 with ‖h 0 ‖ 𝕌 h <𝜀 0 the mapping is continuously differentiable. By the chain rule in Lemma11, also the original state (u,q) depends continuously differentiable on (u0,c) with the spaces given in (43), (45), (46). Proof We adapt the fixed point argument in the proof of Theorem8. Let The only difference compared to the situation in Theorem8 results from the fact that c(c,h) depends now on h. Hence, the fixed point equation (32) changes to Let 𝜀 0>0 be as in Theorem8. We have (51) (c,h)∈𝕌c(t0)×𝔼4(t0)↦c(c,h)∈𝕌c(t0) (𝛿c,𝛿h)∈ 𝕌 c(t0)× 𝔼 4(t0) ↦ 𝛿c(t,x,y+h(t,x)) + 𝜕yc(t,x,y+h(t,x))𝛿h(t,x). (h0,c)∈𝕌h×𝕌c(t0),u0∈𝕌u(h0) (52) ‖u0‖ 𝕌 u( h 0)+‖h0‖ 𝕌 h+‖c‖ 𝕌 c( t 0)<𝜀 0 (u,𝜋,[𝜋],h)∈𝔼(t0). {(u0,c)∈ 𝕌 u(h0)× 𝕌 c(t0)∶(u0,h0,c)satisfy (14), (51) } ↦ (u,𝜋,[𝜋],h)∈ 𝔼 (t0) (53) c(c,h)(t,x,y)=c(t,x,y+h(t,x)). (54) L0  z=K ( z;  u 0 ,h 0 ,  c ( c,  z+z ∗ (  u 0 ,h 0 ) )) ,  z∈ 0 𝔼(t 0 ) . 732 E.Diehl et al. 1 3 and the last estimate in (43) shows that for 𝜀0>0 small enough (51) implies (27). Hence, for all (u0,h0,c) satisfying (51) we have (u0,h0,c(c,h)) ∈ BU(𝜀 0) (note that (54) holds independently of h) and thus by (34) Finally, the Lipschitz constant of K(z;u0,h0,c) with respect to c is 1 and the mapping (50), (52) is by Lemma 12 continuously differentiable and the Lipschitz constant with respect to h is bounded by ‖c‖ 𝕌 c(t0)<𝜀 0 . Hence, for 𝜀0>0 small enough, (53) is a contraction and the existence, uniqueness and continuous differentiability follow as in the proof of Theorem8. Lemma11 and the chain rule yield now the continuous differentiability of the original state (u,q) with respect to (u0,c) for the spaces given in (43), (45), (46). ◻ 3.3 Volume‑of‑fluid type formulation Our aim is finally to derive a Volume-of-Fluid (VoF) type formulation with corresponding sensitivity equation that is satisfied by the solution (u,q) of the problem (1) and its sensitivities (𝛿u,𝛿q) . This provides an analytical foundation to derive and analyze appropriate numerical VoF schemes for sensitivity calculations. Let 𝛼∶ ℝ n+1→[0, 1] be a phase indicator satisfying the transport equation We note that for u ∈L 1 (J;W 1 ∞ (ℝ n+1 ;ℝ n+1)) with div u=0 a.e. any distributional solution 𝛼 ∈L 1 (J;L 1,loc (ℝ n+1)) is also a distributional solution of We define now We will show that the unique solution (u,q) of (1) according to Theorem13 satisfies the VoF-type formulation (55) ‖c(c,h)‖ 𝕌 u=‖c‖ 𝕌 u ‖ ‖ ‖ L−1 0K(z;u0,h0,c) ‖ ‖ ‖0 𝔼(t 0 ) <𝛿. (56) 𝜕t 𝛼+u⋅∇𝛼=0 in J×ℝ n+1 ,𝛼(0)=1 Ω1(0) on ℝ n+1. (57) 𝜕t 𝛼+div(u𝛼)=0 in J×ℝ n+1 ,𝛼(0)=1 Ω1(0) on ℝ n+1. 𝜌(𝛼)=𝛼𝜌1+(1−𝛼)𝜌2,𝜇(𝛼)=𝛼𝜇1+(1−𝛼)𝜇2. (58) ∫ ℝn+1 ( 𝜕t(𝜌(𝛼)u)+div(𝜌(𝛼)u⊗u) ) (t,x,y)⊤𝜑(x,y) +S(u,q;𝜇(𝛼))(t,x,y)∶∇𝜑(x,y))d(x,y)∀𝜑∈C1 c( ℝn+1;ℝn+1 ) 733 1 3 Differentiability results andsensitivity calculation for… where 𝜈𝜀 is a suitable smoothed normal computed from ∇𝛼 , see (70) below. In order to deal with the sensitivity equation, it will be beneficial to consider measure-valued solutions of the general equation For u ∈L 1 (J;W 1 ∞ (ℝ n+1 ;ℝ n+1)) we can define uniquely the continuous mapping (x,y)↦X(t;x,y) , where X(t;x,y) satisfies the characteristic equation In the following, we denote by Mloc( ℝ n+1) the space of locally bounded Radon measures. Proposition 14 Let u ∈L 1 (J;W 1 ∞ (ℝ n+1 ;ℝ n+1)) . Then for any 𝛿𝛼0 ∈M loc (ℝ n+1) there exists a unique distributional solution of (60) in C (  J;M loc (ℝ n+1 )− weak ∗) , given by Here, X is the forward flow defined by (61) and 𝛿𝛼t=X(t)(𝛿𝛼0) is the measure satisfying Proof For u∈L1(J;C1( ℝ n+1; ℝ n+1)) , see [21, Thm. 3.1 and 3.3]. Since the characteristics are unique and stable also for u ∈L 1 (J;W 1 ∞ (ℝ n+1 ;ℝ n+1)) , the proofs directly extend to this case, see also [3]. ◻ Proposition 15 If u∈𝔼1(t0) , [u]=0 and u is given by (42) then (55) as well as (56) have a unique solution given by and thus 𝛼(t,⋅)=1Ω1(t) . Moreover, for 𝜀0 from Theorem13 and any h0 with ‖h0‖ 𝕌 h <𝜀 0 the mapping (59) =−lim 𝜀↘0∫ℝn+1 𝜎 𝜈 𝜀(t,x,y) ⊤ | 𝜈𝜀(t,x,y) | (D𝜑−div(𝜑)I)(x,y)∇𝛼(t,x,y)d(x,y) , ∫ℝ n+1 div(u)𝜓dx =0∀𝜓∈C1 c ( ℝn+1 ) , (60) 𝛼satisfies (56) , (61) 𝜕t𝛿𝛼 +div(u𝛿𝛼)=bin J× ℝ n+1,𝛿𝛼(0)=𝛿𝛼0on ℝ n+1. (62) 𝜕tX(t;x,y)=u(t,X(t;x,y)),t∈J,X(0;x,y)=(x,y). (63) 𝛿𝛼 (t)=X(t)(𝛿𝛼0)+ ∫t 0 X(t−s)(b(s)) . ∫ℝ n+1 𝜙(x,y)d𝛿𝛼t(x,y)=∫ ℝ n+1 𝜙(X(t;x,y))d𝛿𝛼0(x,y)∀𝜙∈Cc ( ℝn+1 ). (64) 𝛼(t,X(t;x,y))=1Ω1(0)(x,y) 734 E.Diehl et al. 1 3 is continuously differentiable. The derivative is given by the unique measure-valued solution of Finally, 𝛿𝛼 satisfies Proof If u∈𝔼1(t0) , [u]=0 and u is given by (42) then u ∈C(  J;W 1 ∞ (ℝ n+1 ;ℝ n+1)) by (38), (41). Now it is well known that (63) provides the unique weak solution of (55) in L1,loc (J×ℝ n+1) , see [3, Prop. 2.2] and [10, Cor. II.1]. Since div(u)=0 a.e., it is also a distributional solution of (56), which is unique by Proposition14. Let now ( u 0, h 0, c ),(𝛿 u 0, 0, 𝛿 c )∈ 𝕌 u( h 0)× 𝕌 h× 𝕌 c( t 0) be such that ( u 0, h 0, c ) and ( u 0, h 0, c )+(𝛿 u 0, 0, 𝛿 c ) satisfy the conditions of Theorem13. Denote by (u,𝜋,[𝜋],h) the unique solution of (10) for data ( u 0, h 0, c ) and by (us ,𝜋s ,[𝜋s],hs) the one for data ( u 0, h 0, c )+ s (𝛿 u 0, 0, 𝛿 c ) . Let (u,q) and (us ,qs) be the corresponding states in physical coordinates according to (6) and let 𝛼=1 Ω 1 (t) ,𝛼s=1 Ωs 1 (t ) be the corresponding solutions of (56). Finally, let (𝛿u,𝛿h,𝛿q) be the directional derivatives (sensitivities) in direction (𝛿u0, 0, 𝛿c) which exist by Theorem13. We show that where 𝛿𝛼 solves (64). Let 𝜙∈Cc( ℝ n+1) be arbitrary. Then as s→0 uniformly in t∈  J , where we have used the differentiability result of Theorem13. Moreover, it is obvious that the middle term is continuous with respect to t. Hence, (66) is proven and we have only to show that 𝛿𝛼 solves (64). To this end, let 𝜑 ∈C 1 c (J×ℝ n+1) be arbitrary. Since 𝛼,𝛼s are distributional solutions of (56), we have { (u 0 ,c)∈𝕌 u (h 0 )×𝕌 c (t 0 )∶(u 0 ,h 0 ,c)satisfy (14), (51) } ↦𝛼∈C ( J;M loc( ℝ n+1) −weak ∗) ( 𝛿u 0 ,𝛿c)∈𝕌 u (h 0 )×𝕌 c (t 0 )↦𝛿𝛼 ∈C ( J;M loc( ℝ n+1) −weak ∗) (65) 𝜕t𝛿𝛼 +div(u𝛿𝛼)=−div(𝛿u𝛼)in J× ℝ n+1,𝛿𝛼(0)=0 on ℝ n+1. (66) ∫ℝn+1 𝜙(x,y)d𝛿𝛼(t)(x,y)= ∫ℝn 𝜙(x,h(t,x))𝛿h(t,x)dx . (67) 𝛼s−𝛼 s →𝛿𝛼 in C (  J;Mloc ( ℝn+1 ) −weak∗ ) as s→ 0, ∫ ℝn+1 𝛼s−𝛼 s(t,x,y)𝜙(x,y)d(x,y)=∫ℝn∫ hs(t,x) h(t,x) 1 s𝜙(x,y)d(x,y ) → ∫ℝ n 𝜙(x,h(t,x))𝛿h(t,x)dx 0 = ∫ J ∫ ℝn+1 − (( 𝜕t𝜑+(u⋅∇)𝜑 ) 𝛼s−𝛼 s+𝛼s ( us−u s ⋅∇ ) 𝜑 ) (t,x,y)d(x,y) dt →∫ J ∫ ℝ n+1 − (( 𝜕t𝜑+(u⋅∇)𝜑 ) 𝛿𝛼 +𝛼(𝛿u⋅∇)𝜑 ) (t,x,y)d(x,y)dt 741 1 3 Differentiability results andsensitivity calculation for… where we have used (65), (38) and (41) in the last step. For the next term in (73) we note that Now (78), (79) yield Moreover, by using (38) and Theorem8 we have Here, we have used (65) and (38) in the last step. Finally, the surface tension term (67) has with the abbreviations ∫ Ωc s −1 s ( (𝜌(𝛼s)us−𝜌(𝛼)u)⊤𝜕t𝜑+𝜌(𝛼s)(us)⊤(us⋅∇𝜑)−𝜌(𝛼)u⊤(u⋅∇𝜑) ) d(t,x,y) =∫J×ℝn −1 s∫max(h(t,x),hs(t,x)) h(t,x)((𝜌1us−𝜌2u)⊤𝜕t𝜑+𝜌1(us)⊤(us⋅∇𝜑)−𝜌2u⊤(u⋅∇𝜑))d(t,x,y ) +∫J×ℝn −1 s∫max(h(t,x),hs(t,x)) hs(t,x)((𝜌2us−𝜌1u)⊤𝜕t𝜑+𝜌2(us)⊤(us⋅∇𝜑)−𝜌1u⊤(u⋅∇𝜑))d(t,x,y) → ∫J×ℝn (𝜌2−𝜌1)u⊤(𝜕t𝜑+u⋅∇𝜑)(t,x,h(t,x))𝛿h(t,x)d(t,x) =∫ J ∫ℝn+1 (𝜌2−𝜌1)u⊤ ( 𝜕t𝜑+u⋅∇𝜑 ) d𝛿𝛼(t)(x,y)dt, (81) ∫ J×ℝn+1 1 s(S(us,qs;𝜇(𝛼s))−S(u,q;𝜇(𝛼))) ∶∇𝜑d(t,x,y) =∫Ωs 1 s(S(us−u,qs−q;𝜇(𝛼))∶∇𝜑d(t,x,y) +∫Ωc s 1 s(S(us,qs;𝜇(𝛼s))−S(u,q;𝜇(𝛼))∶∇𝜑d(t,x,y) . ∫Ωs 1 s(S(us−u,qs−q;𝜇(𝛼))∶∇𝜑d(t,x,y)→ ∫J× ℝn+1 S(𝛿u,𝛿q;𝜇(𝛼))∶∇𝜑d(t,x,y) . ∫ Ωc s 1 s(S(us,qs;𝜇(𝛼s))−S(u,q;𝜇(𝛼))) ∶∇𝜑d(t,x,y) =∫J×ℝn 1 s∫max(h(t,x),hs(t,x)) h(t,x) (S(us −,qs −;𝜇1)−S(u+,q+;𝜇2))∶∇𝜑d(t,x,y) +∫J×ℝn 1 s∫max(h(t,x),hs(t,x)) hs(t,x) (S(us +,qs +;𝜇2)−S(u−,q−;𝜇1))∶∇𝜑d(t,x,y ) → −∫J×ℝn [S(u,q;𝜇(𝛼))](t,x,h(t,x))𝛿h(t,x)∶∇𝜑(t,x,h(t,x)) d(t,x) =− ∫J∫ℝ n+1 [ S(u,q;𝜇(𝛼)) ] ∶∇𝜑d𝛿𝛼(t)(x,y)dt. 742 E.Diehl et al. 1 3 by Theorem13 and (41) the directional derivative Now the first integral on the right hand side of (73) converges to the first intergal in (81) by first applying Lemma17 and then Lemmas 18 and 19 . By using first Lemma21 (note that 𝜈𝜀(t,x,y) depends close to Γ(t) only on x by (69), see (70)), and then Lemma18 and the fact that ∇𝛿h is continuous by (41), the second integral on the right hand side of (73) converges to the second intergal in (81). (74), (76) are obvious and (75) follows by Proposition15. Let vice versa (u,q,𝛼) be a solution of the VoF-type formulation (57)–(59) and (𝛿u,𝛿q,𝛿𝛼) a solution of (73)–(76) with the regularities as in Theorem13. By Theorem20 (u,q,h) coincides with the solution of (1) in Theorem13 and (64) implies by Proposition15 that 𝛿𝛼 and 𝛿h correspond to each other via (65). Hence, (73)–(76) ensure that (u, q) satisfy the linearization of (1) on Ω(t) and that 𝛿𝛼 provides for given 𝛿u the correct 𝛿h . It remains to show that (73)–(76) implies the correct linearized jump condition. Denote the tested surface tension term from (67) for 𝜙 ∈C ∞ c (J×ℝ n ;ℝ n+1) by The jump condition in strong form is equivalent to for all 𝜙 ∈C ∞ c (J×ℝ n ;ℝ n+1) with S( u , q ; 𝜇 )=− qI + 𝜇 (∇ u +∇ u ⊤) . In the transformed variables the jump condition reads for all 𝜙 ∈C ∞ c (J×ℝ n ;ℝ n+1) , where with the notation of Remark1  S(u,𝜋,h;𝜇 )=−𝜋I+𝜇 D (u,h) . Thus, the sensitivities 𝛿u,𝛿𝜋,𝛿h satisfy the linearized jump condition 𝜈 (t,x)= ( −∇h(t,x) 1 ) ,𝛿 𝜈 (t,x)= ( −∇𝛿h(t,x) 0 ) (82) ∫ J×ℝn 𝜎 ( 𝛿 𝜈 ⊤ |𝜈 |−𝛿 𝜈 ⊤ 𝜈 𝜈 ⊤ |𝜈 |3 ) (t,x)(D𝜑−div(𝜑)I)(t,x,h(t,x))𝜈 (t,x)d(t,x ) + ∫J×ℝn 𝜎𝜈 ⊤ | 𝜈 | (𝜕y(D𝜑−div(𝜑)I)(t,x,h(t,x))𝛿h(t,x)𝜈 (t,x) +(D𝜑−div(𝜑)I)(t,x,h(t,x))𝛿 𝜈 (t,x) ) d(t,x). K (h;𝜙) ∶= ∫ J× ℝn 𝜎divx � ∇h(t,x) √ 1+ � ∇h(t,x) � 2 �� −∇h(t,x) 1 �⊤ 𝜙(t,x)d(t,x) . (83) − ∫ J×ℝ n 𝜙(t,x)⊤ [ S(u,q;𝜇)(t,x,h(t,x)) ]( −∇h(t,x) 1 ) d(t,x)=K(h;𝜙 ) − ∫ J×ℝ n 𝜙(t,x)⊤ [  S(u,𝜋,h;𝜇 )(t,x,0) ]( −∇h(t,x) 1 ) d(t,x)=K(h;𝜙 ) 743 1 3 Differentiability results andsensitivity calculation for… for all 𝜙 ∈C ∞ c (J×ℝ n ;ℝ n+1) . We show now, that under the regularity ensured by Theorem13, (83) is implied by the weak formulation (73) by using test functions of the form with 𝜙 ∈C ∞ c (J×ℝ n ;ℝ n+1) , 𝜓𝜏(s)=𝜓(s∕𝜏) , 𝜓 ∈C 1 c ((−1, 1 )) , 𝜓≥0 , 𝜓(0)=1 , 𝜓(−s)=𝜓(s) for 𝜏↘0 . Then We test the weak form (57) also in time and rewrite it in the transformed variables. This results in For the right hand side we have used that as in the proof of Theorem20 the right hand side of (57) coincides with (67). For the test function (84) we obtain Moreover, for any (x,y)∈Γ(  t) and (x(t), y(t)) with (x�(t),y�(t)) = u(x(t),y(t)) , (x( t),y( t))=(x,y) one has y(t)−h(t,x(t)) = 0 and thus Hence, and inserting 𝜑𝜏 in (85) yields (84) − ∫J×ℝn 𝜙(t,x)⊤ ([ 𝜕(u,𝜋,h) S(u,𝜋,h;𝜇 )⋅(𝛿u,𝛿 𝜋 ,𝛿h)(t,x,0) ]( −∇h(t,x) 1 ) + [  S(u,𝜋,h;𝜇 )(t,x,0) ]( −∇𝛿h(t,x) 0 )) d(t,x)=𝜕hK(h;𝜙)⋅𝛿 h (85) 𝜑𝜏(t,x,y)=𝜙(t,x)𝜓𝜏(y−h(t,x)) ∇ 𝜑𝜏(t,x,y)=𝜓� 𝜏(y−h(t,x)) ( −∇h(t,x) 1 ) 𝜙(t,x)⊤+𝜓𝜏(y−h(t,x)) ( ∇𝜙(t,x) 0 ), 𝜕t 𝜑 𝜏 (t,x,y)=−𝜙(t,x)𝜓� 𝜏 (y−h(t,x))𝜕 t h(t,x)+𝜕 t 𝜙(t,x)𝜓 𝜏 (y−h(t,x)). (86) ∫ J×ℝn+1 (( 𝜕t(𝜌(𝛼)u)+div(𝜌(𝛼)u⊗u) ) (t,x,y)⊤𝜑+S(u,q;𝜇)∶∇𝜑 ) d(t,x,y )= ∫ J×ℝn+1(−𝜌 (x,y)u⊤(𝜕t𝜑(t,x,y+h(t,x)) + u⋅∇𝜑(t,x,y+h(t,x))) + S(u,𝜋,h;𝜇 )(t,x,y)∶∇𝜑(t,x,y+h(t,x)) ) d(t,x,y)=K(h;𝜑(⋅,⋅,h(⋅,⋅))). 𝜕 t 𝜑 𝜏 (t,x,y+h(t,x)) + u⋅∇𝜑 𝜏 (t,x,y+h(t,x)) =−𝜙(t,x)𝜓� 𝜏 (y)(𝜕 t h(t,x)+v⊤∇h(t,x)−w)+𝜓 𝜏 (y)(𝜕 t 𝜙(t,x)+v⋅∇𝜙(t,x)) . 0 =y � (t)− 𝜕 th(t,x(t)) − 𝜕 xh(t,x(t))x � (t) =w(t,x(t),y(t)) − 𝜕 th(t,x(t)) − v(t,x(t),y(t)) ⊤ ∇h(t,x(t)). 𝜕t𝜑𝜏(t,x,y+h(t,x)) + u⋅∇𝜑𝜏(t,x,y+h(t,x)) = 𝜓𝜏(y)(𝜕t𝜙(t,x)+v⋅∇𝜙(t,x)), 744 E.Diehl et al. 1 3 We have already observed that the right hand side of (57) coincides with (67) and the right hand side of (73) with the derivative (81) of (67). Since K(h;𝜙) corresponds to using 𝜑𝜏 in (67), 𝜕hK(h;𝜙)⋅𝛿h can be expressed as the sum of the right hand side of (73) with 𝜑=𝜑𝜏 and of the right hand side of (57) with 𝜑=−𝜕y𝜑𝜏𝛿h (note again that 𝜑𝜏 depends on h). Similarly taking the derivative of the left hand side of (85) corresponds to the sum of the left hand side of (73) with 𝜑=𝜑𝜏 and of the left hand side of (85) with 𝜑=−𝜕y𝜑𝜏𝛿h (note that 𝜑𝜏 depends on h) and is given by (we differentiate equivalently the middle term of (85) in transformed variables) By the assumed regularity for 𝜏↘0 all terms containing the factor 𝜓𝜏(y) tend to zero and the remaining terms converge to This is exactly the linearized jump condition (83). ◻ 4 Analytical settings fortheapplication ofoptimization methods The results of this paper justify the application of derivative based optimization methods. We discuss now some possible settings. While some are canonical, the treatment of optimization problems involving the state across the interface, in particular the pressure or the position of the interface, requires care, since the pressure and phase indicator field are discontinuous across the interface. Let p>n+3 and 𝕌u(h0),𝕌c(t0) be defined by (35). Let h0∈𝕌h with ‖h0‖ 𝕌 h small enough ∫ J×ℝn+1 ( −𝜌 (x,y)u⊤𝜓𝜏(y)(𝜕t𝜙(t,x)+v⋅∇𝜙(t,x)) + S(u,𝜋,h;𝜇 )∶ ( 𝜙(t,x)𝜓� 𝜏(y) ( −∇h(t,x) 1 ) +𝜓𝜏(y) ( ∇𝜙(t,x) 0 ))) d(t,x,y)=K(h;𝜙) . ∫ J×ℝn+1 ( −𝜌 (x,y)𝜓𝜏(y) ( 𝛿u⊤(𝜕t𝜙(t,x)+v⋅∇𝜙(t,x)) + u⊤(𝜕t𝜙(t,x)+𝛿v⋅∇𝜙(t,x)) ) +𝜕(u,𝜋,h) S(u,𝜋,h;𝜇 )(x,0)⋅(𝛿u,𝛿 𝜋 ,𝛿h)∶(𝜙(t,x)𝜓� 𝜏(y)(−∇h(t,x) 1)+𝜓𝜏(y)(∇𝜙(t,x) 0 )) + S(u,𝜋,h;𝜇 )(x,0)∶𝜙(t,x)𝜓� 𝜏(y) ( −∇𝛿h(t,x) 0 )) d(t,x,y)=𝜕hK(h;𝜙)⋅𝛿h. ∫ J×ℝn ( − [ 𝜕(u,𝜋,h) S(u,𝜋,h;𝜇 )(x,0)⋅(𝛿u,𝛿 𝜋 ,𝛿h) ] ∶ ( −∇h(t,x) 1 ) − [  S(u,𝜋,h;𝜇 )(x,0) ] ∶ ( −∇𝛿h(t,x) 0 )) 𝜙(t,x)d(t,x)=𝜕hK(h;𝜙)⋅𝛿h . 745 1 3 Differentiability results andsensitivity calculation for… and consider the control-to-state mapping given by (10), which is differentiable at least for sufficiently small controls by Theorem13, and the corresponding original state solving (1). Denote the solution operator by Now we are interested in optimization problems of the form where additional constraints would be possible. We discuss now analytical settings, for which the continuous differentiability of the reduced objective function (u0,c)∈Uad ↦J(S(u0,c),u0,c) is ensured. 4.1 Objective functions involving thevelocity field We consider first the simpler case, where the state-dependence of the objective function involves only the velocity, i.e., Using the differentiability results of Theorem13 with the space given in (43), the reduced objective functional (86) is continuously differentiable, if the mapping is continuously differentiable for some p∈[p,∞) . This applies for example in the case of least squares functionals or many other types of tracking functionals. The derivative is easily obtained by the chain rule and by using the sensitivities 𝛿u , where 𝛿u can be obtained by the VoF-type formulation (73) or by using the linearization of the transformed problem (10) together with Lemma 11 and Lemma12. If the objective function (86) evaluates the velocity field u only in an open observation domain J×Ω o with positive distance from the interface ⋃t∈J({t} × Γ(t)) , then it is by Theorem13 sufficient if the mapping is continuously differentiable for some p∈[p,∞) . Uad ∶= { (u 0 ,c)∈𝕌 u (h 0 )×𝕌 c (t 0 )∶(u 0 ,h 0 ,c)satisfy (14), (51) } (u0,c)∈Uad ⊂𝕌u(h0)×𝕌c(t0)↦(u,𝜋,[𝜋],h)∈𝔼(t0) (u,q)(t,x,y)=(u,𝜋)(1, x,y−h(t,x)) (u,q)=(Su(u0,c),Sq(u0,c)) = S(u0,c). min ( u 0 ,c) J ( S ( u0,c ) ,u0,c ) s.t. ( u0,c )∈ Uad , (87) (u0,c)∈Uad ↦J(S(u0,c),u0,c)=Ju(Su(u0,c),u0,c). ( u,u 0 ,c)∈C ( J;L p( ℝ n+1 ,ℝ n+1)) ×𝕌 u (h 0 )×𝕌 c (t 0 )↦J u (u,u 0 ,c ) ( u,u0,c)∈ ( C (  J;Lp ( ℝn+1,ℝn+1 )) ∩Lp ( J;H1 p ( Ωo,ℝn+1 ))) ×𝕌u(h0)×𝕌c(t0 ) ↦Ju(u,u 0 ,c) 746 E.Diehl et al. 1 3 4.2 Objective functions involving thepressure orphase indicator Since the pressure field is discontinuous across the interface, the differentiability results of Theorem 13 apply only for extensions q± of the pressure across the interface. We show now that certain types of objective functionals are nevertheless differentiable. As before we work with the unique representative of the pressure satisfying (36). We consider objective functions of the form Here, 𝓁∶ℝ×J×ℝn×ℝ→ℝ is a continuous function, twice differentiable with respect to q and y such that there are R>0, C𝓁>0 with (other settings are possible) This implies the estimate with the constant C� 𝓁=‖𝜕q𝓁(0, ⋅)‖L∞( ℝn+1 )+2C𝓁 as well as with C�� 𝓁 = ‖ 𝓁(0, ⋅) ‖L∞( ℝn+1 ) +2C � 𝓁 . Now, using the transformation (x,y)=Th(t)(x,y)=(x,y−h(t,x)) we can rewrite (87) as We will now show the following result. Theorem23 Let (88) hold. Then with the convention (36) the objective function (87) is continuously differentiable with derivative (88) (u 0 ,c)∈U ad ↦ J(S(u 0 ,c),u 0 ,c)=Jq(Sq(u 0 ,c),u 0 ,c) = ∫J∫ℝ n+1 𝓁(Sq(u0,c)(t,x,y),t,x,y)d(x,y)dt . (89) supp(𝓁(q,⋅)) ⊂{(t,x,y)∈J× ℝ n× ℝ ∶|(x,y)|≤R}∀q∈ ℝ , | 𝜕2 (q,y) 𝓁(q,t,x,y) | ≤C𝓁 ( 1+ | q | p−2 ) ∀(t,x,y)∈J×ℝn×ℝ. | 𝜕q𝓁(q,t,x,y) |≤| 𝜕q𝓁(0, t,x,y) | + | | | |�q 0 𝜕2 qq𝓁(s,t,x,y)ds | | | |≤ C� 𝓁(1+ | q | p−1 ) (90) | 𝓁(q,x,y) |≤| 𝓁(0, x,y) | + | | | | � q 0 𝜕q𝓁(s,x,y)ds | | | |≤ C�� 𝓁(1+ | q | p ) (91) J q(q,u0,c)= ∫ J ∫ ℝn+1 𝓁(q(t,x,y),t,x,y)d(x,y)dt =∫J∫ℝn+1 𝓁(𝜋(t,x,y−h(t,x)),t,x,y)d(x,y)dt =∫J∫ℝn+1 𝓁(𝜋(t,x,y),t,x,y+h(t,x))d(x,y)dt =∫ J ∫ R n+1 𝓁(𝜋(t,x,y),t,x,y+h(t,x))d(x,y)dt . 747 1 3 Differentiability results andsensitivity calculation for… where [𝓁(q(t,x,h(t,x)),t,x,h(t,x))] is the jump across Γ(t) at (x,h(t,x)) and the sensitivities 𝛿q , 𝛿𝛼 can be obtained by the VoF-type formulation (73) or 𝛿𝜋 , 𝛿h can be computed by using the linearization of the transformed problem (10) together with Lemma12 and 𝛿q by using Lemma11. Remark 24 If we consider an objective function J𝛼 of the form (87) with the pressure q replaced by the phase indicator 𝛼 then an analogue of Theorem23 holds and the derivative simplifies to since 𝛿𝛼 has its support on the complement of  ℝn+1 . Remark 25 A practically relevant example satisfying (88) is a tracking type functional for the pressure q or the phase indicator 𝛼 of the form with desired pressure field qd∈BC2(J× ℝ n+1) and a weighting function 𝜓 ∈C 2 c (ℝ n+1) (or similarly with S𝛼 and desired phase indicator 𝛼d∈BC2(J× ℝ n+1;[0, 1]) ). Note that discontinuous qd can lead to nonsmoothness if the jump set of q and qd coincide on a set of positiv surface measure. In order to cover discontinuous qd (or 𝛼d ) a variant with smoothed observation of the form with a mollifier 𝜙 ∈C 2 c (ℝ n+1) (the convolution is only in space) can be shown to be continuously differentiable similarly as for (87) under assumption (88). We use the following auxiliary result. ( Jq)� ( Sq(u0,c),u0,c ) ⋅ ( 𝛿u0 𝛿c ) =∫J∫ ℝn+1 𝜕q𝓁(q(t,x,y),t,x,y)𝛿q(t,x,y)d(x,y)dt −∫J∫ℝn[𝓁(q(t,x,h(t,x)),t,x,h(t,x))]𝛿h(t,x)dx dt =∫J∫ ℝn+1 𝜕q𝓁(q(t,x,y),t,x,y)𝛿q(t,x,y)d(x,y)dt − ∫J∫ℝ n [ 𝓁(q(t,x,h(t,x)),t,x,h(t,x)) ] d𝛿𝛼(t)(x,y)dt , ( J𝛼)�(S𝛼(u0,c),u0,c)⋅ ( 𝛿u0 𝛿c ) =−∫ J ∫ ℝ n [𝓁(𝛼(t,x,h(t,x)),t,x,h(t,x))]d𝛿𝛼(t)(x,y)dt , J q ( Sq(u0,c),u0,c) ) = ∫J∫ℝ n+1 𝜓(x,y) ( Sq(u0,c)−qd ) 2(t,x,y)d(x,y)dt , J q ( Sq(u0,c),u0,c) ) = ∫J∫ℝ n+1 𝜓(x,y) ( 𝜙∗ ( Sq(u0,c)−qd )) 2(t,x,y)d(x,y) dt 748 E.Diehl et al. 1 3 Lemma 26 Let (88) hold. Then the mapping is continuously differentiable with derivative Proof We have by using (88) and its consequence (89) To show the differentiability, we note that by Taylor expansion and (89) Hence, we obtain with the asserted derivative by using (88) where we have applied Hölder’s inequality in the last step. The continuity of the derivative follows with (89) by very similar calculations. ◻ ( 𝜋,h)∈Lp(J;L∞(ℝ n+1 )) × Lp(J;L∞(ℝ n )) ↦� Jq(𝜋,h) ∶= ∫ J ∫  R n+1 𝓁(𝜋(t,x,y),t,x,y+h(t,x)) d(x,y) dt ( � Jq)�(𝜋,h)⋅ ( 𝛿𝜋 𝛿h ) =∫ J ∫ R n+1 ( 𝜕q𝓁 𝜕 y 𝓁 ) (𝜋(t,x,y),t,x,y+h(t,x))⊤ ( 𝛿𝜋(t,x,y) 𝛿h(t,x) ) d(x,y)dt . � J q(𝜋,h) ≤� J �  Rn+1 �𝓁(𝜋(t,x,y−h(t,x)),t,x,y)�d(x,y)dt ≤�J��(x,y)�≤R C�� 𝓁(1+�𝜋(t,x,y−h(t,x))�p)d(x,y)dt ≤C�� 𝓁(2R)n+1� J (1+ ‖ 𝜋(t,⋅) ‖ p L∞(ℝn+1))≤C�� 𝓁(2R)n+1(t0+ ‖ 𝜋 ‖ p Lp(J;L∞(ℝn+1))) . | |||| 𝓁((𝜋+𝛿𝜋)(t,x,y),t,x,y+(h+𝛿h)(t,x)) − 𝓁(𝜋(t,x,y),t,x,y+h(t,x )) −(𝜕q𝓁 𝜕y𝓁)(𝜋(t,x,y),t,x,y+h(t,x))⊤(𝛿𝜋(t,x,y) 𝛿h(t,x))|| ||| ≤C𝓁(1+(|𝜋(t,x,y)|+|𝛿𝜋(t,x,y)|) p−2 )(|𝛿𝜋(t,x,y)| 2 +|𝛿h(t,x)| 2 ). ����� � Jq(𝜋+𝛿𝜋,h+𝛿h)−� Jq(𝜋,h)−( � Jq)�(𝜋,h)⋅ � 𝛿𝜋 𝛿h �� ���� ≤�J� ℝn+1∩ [−R,R]n+1 C𝓁�1+(�𝜋(t,x,y)�+�𝛿𝜋(t,x,y)�)p−2���𝛿𝜋(t,x,y)�2+�𝛿h(t,x)�2�d(x,y)dt ≤(2R)n+1C𝓁�J�1+‖�𝜋(t,⋅)�+�𝛿𝜋(t,⋅)�‖p−2 L∞�⋅�‖𝛿𝜋(t,⋅)‖2 L∞+‖𝛿h(t,⋅)‖2 L∞�dt ≤(2R)n+1C𝓁�t(p−2)∕p 0+ ‖� 𝜋 � + � 𝛿𝜋 �‖ p−2 Lp(J;L∞)�� ‖ 𝛿𝜋 ‖ 2 Lp(J;L∞)+ ‖ 𝛿h ‖ 2 Lp(J;L∞)� =O �‖ 𝛿𝜋 ‖ 2 Lp(J;L∞)+ ‖ 𝛿h ‖ 2 Lp(J;L∞) � , 749 1 3 Differentiability results andsensitivity calculation for… Proof of Theorem23 From Theorem8, Theorem10 and Lemma12 we know that is continuously differentiable and with the convention (36) the mapping ( u,𝜋,[𝜋],h)∈𝔼(t0)↦𝜋∈Lp(J;H 1 p (  ℝ n+1)) is linear and continuous by (37). Moreover, by p>n+3 we have clearly L p(J;H 1 p (  ℝ n+1 )) ↪Lp(J;L∞(ℝ n+1)) and 𝔼4(t0)↪Lp(J;L∞(ℝn)) . Hence, the mapping is continuously differentiable and thus (87) is continuously differentiable by Lemma26 and the last representation of (87) in (90). The derivative is given by Lemma26. Using that integration by parts yields Here, we have used Lemma11 and (65) in the last step. ◻ Acknowledgements The authors would like to thank the referee for his/her helpful comments. Funding Open Access funding enabled and organized by Projekt DEAL. The work of Johannes Haubner and Michael Ulbrich was supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)—Project Number 188264188/GRK1754—as part of the International Research Training Group IGDK 1754 Optimization and Numerical Analysis for Partial Differential Equations with Nonsmooth Structures. The work of Elisabeth Diehl and Stefan Ulbrich was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation)—Project-ID 265191195—SFB 1194 Interaction between Transport and Wetting Processes, Project B04. (u0,c)∈Uad ↦(u,𝜋,[𝜋],h)∈𝔼(t0) ( u 0 ,c)∈U ad ↦(𝜋,h)∈L p (J;L ∞ (ℝ n+1 )) × L p (J;L ∞ (ℝ n)) d d y 𝓁(𝜋(t,x,y),t,x,y+h(t,x)) = 𝜕y𝓁(𝜋(t,x,y),t,x,y+h(t,x)) +𝜕 q 𝓁(𝜋(t,x,y),t,x,y+h(t,x))𝜕 y 𝜋(t,x,y) , ( � Jq)�(𝜋,h)⋅ ( 𝛿𝜋 𝛿h ) =∫J∫ Rn+1 ( 𝜕q𝓁 𝜕y𝓁 ) (𝜋(t,x,y),t,x,y+h(t,x))⊤ ( 𝛿𝜋(t,x,y) 𝛿h(t,x) ) d(x,y)dt =∫J∫ Rn+1 𝜕q𝓁(𝜋(t,x,y),t,x,y+h(t,x))(−𝜕y𝜋(t,x,y)𝛿h(t,x)+𝛿𝜋(t,x,y))d(x,y) dt −∫J∫ℝn [𝓁(𝜋(t,x,0),t,x,h(t,x))]𝛿h(t,x)dx dt =∫J∫ℝn+1 𝜕q𝓁(q(t,x,y),t,x,y)𝛿q(t,x,y)d(x,y)dt − ∫J∫ℝ n [ 𝓁(q(t,x,h(t,x)),t,x,h(t,x)) ] 𝛿h(t,x)dx dt. 750 E.Diehl et al. 1 3 Data availibility Data sharing not applicable to this article as no datasets were generated or analysed during the current study. Declarations Conflict of interest The authors have no conflict of interest to declare that are relevant to the content of this article. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http:// creat iveco mmons. org/ licen ses/ by/4. 0/. References 1. Abels, H., Garcke, H., Grün, G.: Thermodynamically consistent, frame indifferent diffuse interface models for incompressible two-phase flows with different densities. Math. Models Methods Appl. Sci. 22(3), 1150013 (2012) 2. Amann, H.: Linear and quasilinear parabolic problems. Vol. I, volume89 of Monographs in mathematics. Birkhäuser Boston, Inc., Boston, MA (1995). Abstract linear theory. https:// doi. org/ 10. 1007/ 978-3- 0348- 9221-6 3. Ambrosio, L.: Transport equation and Cauchy problem for non-smooth vector fields. In: Calculus of variations and nonlinear partial differential equations, vol. 1927. Lecture Notes in Mathematics, pp. 1–41. Springer, Berlin (2008). https:// doi. org/ 10. 1007/ 978-3- 540- 75914- 0\_1 4. Baňas, L., Klein, M., Prohl, A.: Control of interface evolution in multiphase fluid flows. SIAM J. Control Optim. 52(4), 2284–2318 (2014) 5. Braack, M.,Klein, M.,Prohl, A.,Tews, B.: Optimal control for two-phase flows. In: Trends in PDE constrained optimization, vol. 165. International Series of Numerical Mathematics, pp. 347–363. Birkhäuser/Springer, Cham (2014). https:// doi. org/ 10. 1007/ 978-3- 319- 05083- 6\_ 22 6. Brezis, H., Mironescu, P.: Gagliardo-Nirenberg, composition and products in fractional Sobolev spaces. J. Evol. Equ. 1(4):387–404. Dedicated to the memory of Tosio Kato (2001) 7. Deckelnick, K., Dziuk, G.: Mean curvature flow and related topics. In: Blowey, J.F., Craig, A.W., Shardlow, T. (eds.) Frontiers in numerical analysis (Durham. 2002), Universitext, pp. 63–108. Springer, Berlin (2003) 8. Denisova, I.V.: Problem of the motion of two viscous incompressible fluids separated by a closed free interface. Acta Appl. Math. 37(1-2):31–40, (1994). Mathematical problems for Navier-Stokes equations (Centro, 1993) 9. Denisova, I.V., Solonnikov, V.A.: Classical solvability of the problem of the motion of two viscous incompressible fluids. Algebra I Anal. 7(5), 101–142 (1995) 10. DiPerna, R.J., Lions, P.-L.: Ordinary differential equations, transport theory and Sobolev spaces. Invent. Math. 98(3), 511–547 (1989) 11. Escher, J., Prüss, J., Simonett, G.: Analytic solutions for a Stefan problem with Gibbs-Thomson correction. J. Reine Angew. Math. 563, 1–52 (2003) 12. Fursikov, A.V., Gunzburger, M.D., Hou, L.S.: Boundary value problems and optimal boundary control for the Navier-Stokes system: the two-dimensional case. SIAM J. Control Optim. 36(3), 852– 894 (1998) 13. Garcke, H., Hinze, M., Kahle, C.: A stable and linear time discretization for a thermodynamically consistent model for two-phase incompressible flow. Appl. Numer. Math. 99, 151–171 (2016)