원시데이터 수집 시스템
선정목록으로

Contact line advection using the geometrical Volume-of-Fluid method

간접 관련 필름·전자재료 · (18) VENT(방수통기 부품) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)(7) MEA(막전극접합체)

기본 정보

저자
  1. Fricke, Mathis
  2. Maric, Tomislav
  3. Bothe, Dieter
DOI
10.48550/arxiv.1907.01785
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1907.01785
토픽
Surface Modification and Superhydrophobicity
OpenAlex ID
W6891838969

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
dynamic wetting, contact angle, Volume-of-Fluid, interface advection, multiphase flows
판단 근거
이 논문은 액체가 고체 표면을 적시는 '습윤(wetting)' 현상과 접촉각(contact angle)의 동적 변화를 수치 해석적으로 모델링하는 VOF 기법을 다룹니다. 이는 코오롱인더스트리의 방수통기 멤브레인(18)이나 수소연료전지용 분리막/가습기(5, 6, 7)의 표면 특성 및 액체-기체 계면 제어 연구에 응용될 수 있는 수치 해석적 방법론입니다.
R&D 활용 포인트
멤브레인(ePTFE 등)이나 연료전지용 전해질막의 표면 습윤성(wettability) 및 액체 침투 거동을 예측하는 시뮬레이션 모델링 기술로 활용 가능합니다.
평가 입력
본문 78,010자 중 30,032자 발췌

초록

We consider the interface advection problem by a prescribed velocity field in the special case when the interface intersects the domain boundary, i.e. in the presence of a contact line. This problem emerges from the discretization of continuum models for dynamic wetting. The kinematic evolution equation for the dynamic contact angle (Fricke et al., 2019) expresses the fundamental relationship between the rate of change of the contact angle and the structure of the transporting velocity field. The goal of the present work is to develop an interface advection method that is consistent with the fundamental kinematics and transports the contact angle correctly with respect to a prescribed velocity field. In order to verify the advection method, the kinematic evolution equation is solved numerically and analytically (for special cases). We employ the geometrical Volume-of-Fluid (VOF) method on a structured Cartesian grid to solve the hyperbolic transport equation for the interface in two spatial dimensions. We introduce generalizations of the Youngs and ELVIRA methods to reconstruct the interface close to the domain boundary. Both methods deliver first-order convergent results for the motion of the contact line. However, the Boundary Youngs method shows strong oscillations in the numerical contact angle that do not converge with mesh refinement. In contrast to that, the Boundary ELVIRA method provides linear convergence of the numerical contact angle transport.

본문 78,010자

본문 펼치기
## Contact line advection using the geometrical Volume-of-Fluid method Mathis Fricke <sup>_∗_</sup> <sup>1</sup>, Tomislav Mari´c <sup>_†_</sup> <sup>1</sup>, and Dieter Bothe <sup>_‡_</sup> <sup>1</sup> 1Mathematical Modeling and Analysis Group, TU Darmstadt, Alarich-Weiss-Straße 10, 64287 Darmstadt, Germany January 29, 2020 Abstract We consider the interface advection problem by a prescribed velocity field in the special case when the interface intersects the domain boundary, i.e. in the presence of a contact line. This problem emerges from the discretization of continuum models for dynamic wetting. The _kinematic_ _evolution_ _equation_ for the dynamic contact angle (Fricke et al., 2019) expresses the fundamental relationship between the rate of change of the contact angle and the structure of the transporting velocity field. The goal of the present work is to develop an interface advection method that is consistent with the fundamental kinematics and transports the contact angle correctly with respect to a prescribed velocity field. In order to verify the advection method, the kinematic evolution equation is solved numerically and analytically (for special cases). We employ the geometrical Volume-of-Fluid (VOF) method on a structured Cartesian grid to solve the hyperbolic transport equation for the interface in two spatial dimensions. We introduce generalizations of the Youngs and ELVIRA methods to reconstruct the interface close to the domain boundary. Both methods deliver first-order convergent results for the motion of the contact line. However, the Boundary Youngs method shows strong oscillations in the numerical contact angle that do not converge with mesh refinement. In contrast to that, the Boundary ELVIRA method provides linear convergence of the numerical contact angle transport. This preprint was submitted and accepted for publication in the _Journal_ _of_ _Computational_ _Physics_ . When citing this work, please refer to the journal article: DOI: [10.1016/j.jcp.2019.109221.](https://doi.org/10.1016/j.jcp.2019.109221) Keywords: Volume-of-Fluid, Interface Reconstruction, Dynamic Contact Angle, Kinematics ### 1 Introduction The present article deals with the passive transport of an interface by a prescribed velocity field, a well-known problem in the numerical description of multiphase flows called _interface_ _advection_ (see, e.g., [1,2]). In particular, we consider the special case when the interface intersects the domain boundary and a so-called _contact_ _line_ is formed. This problem arises, for example, as part of the mathematical description of _wetting_ processes, where a liquid displaces another liquid (or a gas) in order to wet the surface of a third solid phase. In the latter case, the velocity field is a solution of the two-phase Navier Stokes equations with appropriate boundary and transmission conditions modeling the physics of wetting. In the present work, we focus on the _kinematics_ of wetting, hence treating the velocity field as _given_, while keeping in mind that it is a solution to some continuum mechanical model. The continuum mechanical modeling of wetting is a separate issue that is not addressed here (see, e.g., [3,4]). The kinematics of wetting is studied analytically in [5,6] where it is shown that the contact line advection problem is a well-posed initial value problem if the velocity field is sufficiently regular and tangential to the domain boundary. Hence the full dynamics of the _∗_ fricke@mma.tu-darmstadt.de _†_ maric@mma.tu-darmstadt.de _‡_ bothe@mma.tu-darmstadt.de 1 interface can be inferred from the (time-dependent) velocity field and the initial interface configuration. Note that this is true even though in the full continuum mechanical model the interface shape is typically strongly coupled to the flow. The reason is that the velocity field contains enough information to reconstruct the evolution of the interface from the initial configuration (see Figure 2 for a sketch of the idea). In particular, the motion of the contact line as well as the evolution of the contact angle, i.e. the angle of intersection between the fluid-fluid interface and the solid boundary (see Figure 1), can be computed from the knowledge of the velocity field and the initial geometry. In fact, the rate of change of the contact angle _θ_ <sup>˙</sup> satisfies the kinematic evolution equation _θ_ ˙ = _∂τ_ <sup>_<u>∂v</u>_</sup> <sup>_· n_</sup> <sup>Σ</sup> (1) derived in [5] (see Figure 1). The goal of the present work is to develop an advection scheme for the geometrical VOF method that allows to transport the contact angle consistently with the fundamental kinematic relation (1), which will serve as a reference to validate the method (see Section 2). On the other hand, mathematical models for dynamic wetting usually _prescribe_ a boundary condition for the contact angle. The contact angle is an important physical parameter characterizing the wettability of the solid surface. Mathematically, it is typically prescribed as a fixed value or as a function of the speed of the contact line (see, e.g., [7]). Note that in view of (1), a boundary condition for the contact angle leads to a consistency condition for the velocity field. In order to avoid the moving contact line paradox [8], tangential slip is usually introduced on the solid boundary, at least close to the contact line. The contact angle boundary condition also plays an important role in the numerical simulation of moving contact lines (see [9] for a recent review). In the present study, we employ the Volume-of-Fluid (VOF) method (see [1,10]) to numerically track the location of the interface. The VOF method has been successfully adapted for the simulation of moving contact lines by several authors (see, e.g., [11–19]). Since the advection of the volume fraction field is mostly discretized explicitly in time, the contact angle boundary condition is usually not satisfied after a transport step. Instead, the contact angle is enforced by an explicit adjustment of the interface orientation at computational cells located at the boundary. Enforcing the contact angle as described above is, however, not consistent with the kinematics of moving contact lines as discussed in [5], [6]. We observed that it can also be a source for numerical instabilities in the vicinity of the contact line (see [17] for a discussion of instabilities close to the contact line). ### τ ### nΣ θ ### Γ ### Ω + Σ Ω ### Γ ### nΓ ### n∂Ω Figure 1: Notation. Figure 2: Kinematic transport of the contact angle. Notation: We consider a moving _C_ <sup>1</sup> <sup>_,_</sup> <sup>2</sup> -hypersurface _{_ Σ( _t_ ) _}t∈I_ with boundary (as <u>defined</u> in the appendix) embedded in two or three-dimensional Euclidean space. Each instantaneous interface Σ( _t_ ) is assumed to be an orientable _C_ <sup>2</sup> -hypersurface with unit normal vector field _n_ Σ( _t, ·_ ) and boundary _∂_ Σ( _t_ ) that is contained in the planar domain boundary denoted by _∂_ Ω. The contact line at time _t_ is denoted by Γ( _t_ ) = _∂_ Σ( _t_ ) _⊂_ _∂_ Ω _._ Given a point _x ∈_ Γ( _t_ ), the contact angle _θ_ _∈_ (0 _, π_ ) is defined by the relation cos _θ_ ( _t, x_ ) = _−⟨n_ Σ( _t, x_ ) _, n∂_ Ω( _x_ ) _⟩_ _,_ (2) where _⟨·, ·⟩_ is the Euclidean scalar product and _n∂_ Ω is the outer unit normal field to _∂_ Ω. In order to describe the motion of the interface, the notion of the _speed_ _of_ _normal_ _displacement_ is required. If _γ_ is a continuously 2 differentiable curve such that _γ_ ( _t_ ) _∈_ Σ( _t_ ) and _γ_ ( _t_ 0) = _x_ 0 _∈_ Σ( _t_ 0) _,_ then the speed of normal displacement at the point _x_ 0 at time _t_ 0 is given as <sup>1</sup> _V_ Σ( _t_ 0 _, x_ 0) = _⟨γ_ <sup>_′_</sup> ( _t_ 0) _, n_ Σ( _t_ 0 _, x_ 0) _⟩_ _._ (3) It is convenient to introduce a contact line normal vector (see Figure 1) via projection as _n_ Γ = _∥PP∂∂_ <u>ΩΩ</u> _<u>nn</u>_ <u>ΣΣ</u> _∥_ <sup>_,_</sup> where _P∂_ Ω = 1 _−_ _n∂_ Ω _⊗_ _n∂_ Ω is the local orthogonal projection onto _∂_ Ω. The above expression is well-defined since we only consider the _partial_ _wetting_ _case_ characterized by 0 _< θ_ _< π_ . To construct a local orthonormal basis in three dimensions, one further defines _t_ Γ = _n_ Γ _× n∂_ Ω _._ Problem formulation: The motion of a material interface is governed by the kinematic condition _V_ Σ = _⟨v, n_ Σ _⟩_ on gr Σ _,_ (4) where _v_ is the transporting velocity field. Here it is assumed that _v_ _∈C_ <sup>1</sup> (Ω) is divergence free and tangential to the domain boundary, i.e. _∇· v_ = 0 in Ω _,_ (5) _v · n∂_ Ω = 0 on _∂_ Ω _._ (6) For simplicity, we further assume that the solid boundary is _planar_ . This assumption is not essential and may be dropped to study the contact angle evolution over curved surfaces. Note also that incompressibility of the flow is not necessary to study the contact angle evolution. However, it is assumed here since the VOF method is most commonly applied to incompressible flows. We emphasize that the assumption of a globally continuously differentiable velocity field is _not_ met in a typical multiphase flow, where the velocity gradient admits a jump which is controlled by the interfacial transmission condition for the stress. However, it has been shown in [5] Lemma 8, that in the case of two spatial dimensions <sup>2</sup> the conditions - _v_ - = 0 on gr Σ _,_ _∇· v_ = 0 in Ω _\_ Σ( _t_ ) _,_ _v · n∂_ Ω = 0 on _∂_ Ω imply continuity of _∇v_ _at_ the contact line (under certain regularity assumptions). For simplicity, we therefore assume a globally continuously differentiable field. In this work, we focus on the Volume-of-Fluid method [1,10] for advecting the interface, whose reconstruction algorithm must be adapted in order to achieve second-order convergence in the near-wall region. However, the contact line advection problem can be used to verify near-wall advection of any other interface advection method. For example, a brief discussion of the contact line advection problem with the Level Set Method [21,22] in two dimensions can be found in [23]. An open research data record containing the full C++-implementation of the Level Set Method used in [23] together with a number of computational examples is available online, see [24]. ### 2 Kinematic evolution equation The kinematic evolution equation (see [5], [6]) allows to compute the rate of change of the contact angle in terms of the transporting velocity field. The evolution of the contact angle is considered along the trajectories (or “characteristics”) of the flow, i.e. along solutions of the ordinary differential equation _x_ ˙ ( _t_ ) = _v_ ( _t, x_ ( _t_ )) _,_ _x_ ( _t_ 0) = _x_ 0 _∈_ Σ( _t_ 0) _._ (7) 1It can be shown that this definition is independent of the choice of the curve _γ_, see e.g. [20]. 2A similar statement holds in three spatial dimensions. For that case, one can show the continuity property _⟨_ - _∇v_ - _α, β⟩_ = 0 at Γ, where - _·_ - denotes the jump over the interface and _α_, _β_ are arbitrary vectors in the plane spanned by _n∂_ Ω and _n_ Γ, see [5]. 3 The conditions (4), (5) and (6) imply that both gr Γ and gr Σ = gr Σ _\_ gr Γ are _invariant_ for the flow generated by (7), i.e. a solution of (7) starting on the contact line (the fluid-fluid interface) will stay on the contact line (the fluid-fluid interface); see [5] for a proof. Therefore, it is possible to study the time evolution of the contact angle along a solution of (7) starting <u>at</u> the contact line. Along such a curve, one can define the _Lagrangian_ _time-derivative_ of a quantity _ψ_ _∈C_ <sup>1</sup> (gr Σ) according to _ψ_ ˙( _t_ 0 _, x_ 0) = <sup>_<u>d</u>_</sup> _dt_ <sup>_ψ_</sup> <sup>(</sup> <sup>_t, x_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> <sup>_|t_</sup> <sup>=</sup> <sup>_t_</sup> <sup>0</sup> <sup>_._</sup> Given a _C_ <sup>1</sup> -velocity field, the Lagrangian time-derivative of the interface normal vector is given by (see [5], [6]) _n_ ˙ Σ( _t, x_ ) = _−_ [1 _−_ _n_ Σ( _t, x_ ) _⊗_ _n_ Σ( _t, x_ )] _∇v_ ( _t, x_ ) <sup>T</sup> _n_ Σ( _t, x_ ) _._ (8) Clearly, the evolution of the contact angle can be inferred from the normal vector evolution via the relation (2). Moreover, it has been shown [5], [6] that, for a planar boundary <sup>3</sup>, the contact angle follows the evolution equation _θ_ ˙( _t, x_ ) = _⟨∂τ_ _v_ ( _t, x_ ) _, n_ Σ( _t, x_ ) _⟩_ _,_ (9) where the tangential direction _τ_ is defined as (see Figure 1) _τ_ ( _t, x_ ) = _−_ cos[ _θ_ ( _t, x_ )] _n_ Γ( _t, x_ ) _−_ sin[ _θ_ ( _t, x_ )] _n∂_ Ω( _t, x_ ) _._ The goal of the present work is to verify the numerical solution delivered by the VOF method against an analytical (if available) or numerical solution of (9). 2.1 An analytical solution for linear velocity fields in 2D We first consider the case of general linear divergence free velocity fields in 2D. In this case, the velocity gradient _∇v_ is constant in space and time and the ODE system (7) and (8) is _explicitly_ solvable. Note that this also provides a local approximation for general differentiable velocity fields. We choose a Cartesian coordinate system ( _x_ 1 _, x_ 2) such that the solid wall is represented by _x_ 2 = 0. We consider a velocity field of the form _v_ ( _x_ 1 _, x_ 2) = ( _v_ 0 + _c_ 1 _x_ 1 + _c_ 2 _x_ 2 _, −c_ 1 _x_ 2) _._ (10) The coefficients _c_ 1 and _c_ 2 in this formulation have the dimension of _s_ <sup>_−_</sup> <sup>1</sup> . Therefore, it is more convenient to choose a length scale _L_ and a time scale _T_ and write _<u>v</u>_ <u>(</u> _<u>x</u>_ <u>1</u> _<u>, x</u>_ <u>2)</u> (11) _L/T_ = (ˆ _v_ 0 + ˆ _c_ 1 _x_ ˆ1 + ˆ _c_ 2 _x_ ˆ2 _, −c_ ˆ1 _x_ ˆ2) =: _v_ ˆ(ˆ _x_ 1 _,_ ˆ _x_ 2) with the non-dimensional quantities _x_ ˆ _i_ = _x/L_, _c_ ˆ _i_ = _ciT_ and _v_ ˆ0 = ( _Tv_ 0) _/L_ . In the following, we will use the formulation (11) while dropping the hats. For a field of this form, the (constant) gradient is given by _._ _∇v_ = - _c_ 1 _c_ 2 0 _−c_ 1 Motion of the contact line: The motion of the contact line is determined by the ordinary differential equation _x_ ˙ 1( _t_ ) = _v_ 1( _x_ 1( _t_ ) _,_ 0) = _v_ 0 + _c_ 1 _x_ 1( _t_ ) _,_ _x_ 1(0) = _x_ <sup>0</sup> 1 <sup>_._</sup> The unique solution of the above initial value problem is _x_ 1( _t_ ) = _x_ <sup>0</sup> 1 <sup>_ec_</sup> <sup>1</sup> <sup>_t_</sup> <sup>+</sup> <sup>_<u>v</u>_</sup> <sup><u>0</u></sup> _c_ 1 and _x_ 1( _t_ ) = _x_ <sup>0</sup> 1 <sup>+</sup> <sup>_v_</sup> <sup>0</sup> <sup>_t_</sup> <sup>for</sup> <sup>_c_</sup> <sup>1</sup> <sup>= 0.</sup> 3Note that (8) also holds if _∂_ Ωis not planar. _e_ <sup>_c_</sup> <sup>1</sup> <sup>_t_</sup> _−_ 1 4 - for _c_ 1 _̸_ = 0 (12) Contact angle evolution: Note that the constancy of _∇v_ decouples the system (7) and (8). Hence, the evolution of the normal vector can be solved independently of the evolution of the contact point. To find the solution, we make use of the fact that in two dimensions the normal vector _n_ Σ is, up to a reflection, uniquely determined by the contact angle _θ_ . Given a contact angle _θ_, the two possibilities are and _n_ <sup>_r_</sup> Σ <sup>=</sup> �sin _θ_ _._ cos _θ_ _n_ <sup>_l_</sup> Σ <sup>=</sup> - _−_ sin _θ_ cos _θ_ In the case of a droplet (and for _θ_ _< π_ ), this corresponds to the two distinct contact points (left and right). The corresponding expressions for _τ_ are and _τ_ <sup>_r_</sup> = - _−_ cos _θ_ _._ sin _θ_ _τ_ <sup>_l_</sup> = �cos _θ_ sin _θ_ This allows to infer the evolution of _θ_ for the left and the right contact point directly from (9) without the need to solve the system (8). Inserting the expressions for _∇v_, _n_ Σ <sup>_l,r_</sup> <sup>and</sup> <sup>_τ l,r_</sup> <sup>to</sup> <sup>(9)</sup> <sup>yields</sup> <sup>the</sup> <sup>nonlinear</sup> <sup>ordinary</sup> <sup>differential</sup> <sup>equation4</sup> _θ_ (0) = _θ_ 0 (13) _θ_ ˙( _t_ ) = _±c_ 2 sin <sup>2</sup> _θ −_ 2 _c_ 1 sin _θ_ cos _θ,_ with the “+” for the evolution of the right contact point and the “ _−_ ” for the evolution of the left contact point. The unique solution of the above initial value problem is given by the formula (see Appendix for a derivation) _θ_ ( _t_ ) = <sup>_<u>π</u>_</sup> 2 <sup>+ arctan</sup> _−_ cot _θ_ 0 _e_ <sup>2</sup> <sup>_c_</sup> <sup>1</sup> <sup>_t_</sup> _± c_ 2 _<u>e</u>_ <sup>2</sup> <sup>_c_</sup> <sup>1</sup> <sup>_t_</sup> _<u>−</u>_ <u>1</u> 2 _c_ 1 _._ (14) Remark: Obviously, the solution is independent of the parameter _v_ 0. This is to be expected since the two differential equations (7) and (8) decouple and the parameter _v_ 0 can be eliminated by a change of the frame of reference. Moreover, the evolution of the left and the right contact point is identical if _θ_ 0 <sup>_r_</sup> <sup>=</sup> <sup>_θ_</sup> 0 <sup>_l_</sup> <sup>and</sup> <sup>_c_</sup> <sup>2</sup> <sup>= 0.</sup> of reference. Moreover, the evolution of the left and the right contact point is identical if _θ_ 0 <sup>_r_</sup> <sup>=</sup> <sup>_θ_</sup> 0 <sup>_l_</sup> <sup>and</sup> <sup>_c_</sup> <sup>2</sup> <sup>= 0.</sup> Finally, we note that (14) has a well-defined limit for _c_ 1 _→_ 0 since _<u>e</u>_ <sup>2</sup> <sup>_c_</sup> <sup>1</sup> <sup>_t_</sup> _<u>−</u>_ <u>1</u> 2 _c_ 1 lim _c_ 1 _→_ 0 - _−_ cot _θ_ 0 _e_ <sup>2</sup> <sup>_c_</sup> <sup>1</sup> <sup>_t_</sup> _± c_ 2 = _−_ cot _θ_ 0 _± c_ 2 _t._ ### 3 Numerical Method The numerical studies in the present work are carried out with the Volume of Fluid in-house code _Free_ _Surface_ _3D_ (FS3D) originally developed by Martin Rieber [25]. Since then, FS3D has been further developed at the University of Stuttgart (see, e.g., [26] and more references given there) and at the Technical University of Darmstadt (see, e.g., [15] and references therein). 3.1 Geometrical Volume-of-Fluid Method The Volume of Fluid method makes use of the phase indicator function for one of the phases Ω <sup>_±_</sup> ( _t_ ), which are separated by the interface Σ( _t_ ), i.e. _χ_ ( _t, x_ ) = 1 if _x ∈_ Ω <sup>_−_</sup> ( _t_ ) (15) 0 if _x_ _∈/_ Ω <sup>_−_</sup> ( _t_ ) <sup>_,_</sup> to describe the interface. Formally, the kinematic condition (4) translates to the transport equation _∂tχ_ + _v · ∇χ_ = 0 for the indicator function, which is its conservative forms reads as _∂tχ_ + _∇·_ ( _vχ_ ) = _χ_ ( _∇· v_ ) _._ (16) 4Note that we now use the Lagrangian formulation and write _θ_ ( _t_ ) for the contact angle at _x_ ( _t_ ) _∈_ Γ( _t_ ) where _x_ ( _t_ ) is a trajectory of the flow, i.e. a solution of (7). 5 Note that the right-hand side vanishes for an incompressible flow. However, it is kept in the discretization to enhance volume conservation properties [1]. The latter approach is called “divergence correction”. Integrating (16) over a control volume in two spatial dimensions leads to <u>1</u> _χ v · n dA_ + _|Vij|_ _dtd_ <sup>_αij_</sup> <sup>(</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_−_</sup> <sup><u>1</u></sup> _|Vij|_ _∂Vij_ _Vij_ _χ_ ( _∇· v_ ) _dV,_ (17) where the volume fraction _αij_ associated with the control volume _Vij_ at time _t_ is introduced as <u>1</u> _αij_ ( _t_ ) = _|Vij|_ _Vij_ _χ dV._ (18) A temporal integration of (17) leads to the exact transport equation of the volume fraction field given as - _t_ +∆ _t_ _t_ <u>1</u> - _t_ +∆ _t_ _χ v · n dA dτ_ + _t_ _|Vij|_ _Vij_ <u>1</u> _αij_ ( _t_ + ∆ _t_ ) = _αij_ ( _t_ ) _−_ _|Vij|_ _∂Vij_ _χ_ ( _∇· v_ ) _dV_ _dτ._ (19) The conservative form of (19) allows for the exact conservation of the phase volume also in the discrete case. Algebraic Volume-of-Fluid methods approximate the solution of (19) using a Finite Volume discretization that relies on an interpolation of _χ_ at _∂Vij_ . The sharp jump in _χ_ between phases ”+” and ” _−_ ” then causes oscillations in the numerical solution, that are counteracted by adding artificial diffusion which, in turn, leads to artificial smearing of the interface [27]. _Geometric_ Volume-of-Fluid methods are more accurate than their algebraic counterparts, as they approximate the numerical flux, which can be decomposed in a sum over faces _Af_ of the control volume according to - _t_ +∆ _t_ _t_ _∂Vij_ _Af_ - _t_ +∆ _t_ _t_ _χ v · n dA dτ_ = _f_ _χ v · n dA dτ,_ by reconstructing a sharp geometrical approximation of the indicator function _χ_ ( _t, ·_ ) and subsequently approximating the integral using geometrical methods. Within the FS3D code, equation (19) is solved on a structured Eulerian grid using an operator splitting method as described below (see also [1,25,26]). Implementation in FS3D: FS3D relies on structured Cartesian meshes and therefore decomposes the boundary of each cell into 4 planar faces (i.e. edges) in two dimensions with normal vectors that are collinear with coordinate axes. The grid points used for the velocity components (face/edge centroids) are shifted with respect to the grid points used for the volume fractions (volume/area centroids) as shown in Figure 3. Figure 3: Staggered grid for velocity components. The idea of the operator splitting approach [1,25] is to decompose the full transport problem into a series of one-dimensional transport steps along the coordinate axis. Formally, this is achieved by decomposing the velocity as _v_ = ( _v_ 1 _,_ 0) + (0 _, v_ 2) =: _v_ ˜1 + ˜ _v_ 2. With this notation, equation (19) reads as <u>1</u> _χ_ ˜ _v_ 1 _· n dA dτ_ + _|Vij|_ _Vij_ - _t_ +∆ _t_ _t_ (20) _αij_ ( _t_ + ∆ _t_ ) = <u>1</u> _αij_ ( _t_ ) _−_ _|Vij|_ - _t_ +∆ _t_ _t_ _∂Vij_ _χ_ ( _∇·_ ˜ _v_ 1) _dV_ _dτ_ _∂Vij_ _Vij_ <u>1</u> _χ_ ˜ _v_ 2 _· n dA dτ_ + _|Vij|_ 6 _−_ <sup><u>1</u></sup> _|Vij|_ - _t_ +∆ _t_ _t_ - _t_ +∆ _t_ _t_ _χ_ ( _∇·_ ˜ _v_ 2) _dV_ _dτ._ Note that the projected velocity fields _v_ ˜ _i_ are no longer divergence free and it is, therefore, important to consider the divergence correction terms in the discretization of (20). The discrete set of equation reads as (1 _−_ _βq_ 1 <sup>_i,j_</sup> _i,j_ <sup>_n_</sup> <sup>(1 + (1</sup> <sup>_−_</sup> <sup>_β_</sup> <sup>)</sup> <sup>_q_</sup> 1 <sup>_i,j_</sup> <sup>_∗_</sup> _i,j_ <sup>(1 + (1</sup> <sup>_−_</sup> <sup>_β_</sup> <sup>)</sup> <sup>_q_</sup> 2 <sup>_i,j_</sup> (21) 1 <sup>_i,j_</sup> <sup>)</sup> <sup>_α_</sup> _i,j_ <sup>_∗_</sup> <sup>=</sup> <sup>_αn_</sup> 1 <sup>_i,j_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_δVi_</sup> <sup>+1</sup> <sup>_/_</sup> <sup>2</sup> <sup>_,j_</sup> <sup>_<u>−</u>_</sup> <sup>_δVi−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <sup>_,j_</sup> _,_ _<u>|Vij|</u>_ _,_ 2 <sup>_i,j_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_δVi,j_</sup> <sup>+1</sup> <sup>_/_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup>_δVi,j−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _|Vij|_ (1 _−_ _βq_ 2 <sup>_i,j_</sup> 2 <sup>_i,j_</sup> <sup>)</sup> <sup>_α_</sup> _i,j_ <sup>_n_</sup> <sup>+1</sup> = _α_ <sup>_∗_</sup> where _δVi±_ 1 _/_ 2 _,j_ denotes the volume flux over the edge ( _i ±_ 1 _/_ 2 _, j_ ) in a _x_ -sweep, _δVi,j±_ 1 _/_ 2 denotes the volume flux over the edge ( _i, j ±_ 1 _/_ 2) in a _y_ -sweep and 1 <sup>_i,j_</sup> := ∆ _t_ <sup>_<u>v</u>_</sup> <sup><u>1(</u></sup> <sup>_<u>i, j</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>v</u>_</sup> <sup><u>1(</u></sup> <sup>_<u>i −</u>_</sup> <sup><u>1</u></sup> <sup>_<u>, j</u>_</sup> <sup><u>)</u></sup> 2 <sup>_i,j_</sup> := ∆ _t_ <sup>_<u>v</u>_</sup> <sup><u>2(</u></sup> <sup>_<u>i, j</u>_</sup> <sup><u>+ 1)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>v</u>_</sup> <sup><u>2(</u></sup> <sup>_<u>i, j</u>_</sup> <sup><u>)</u></sup> _q_ 1 <sup>_i,j_</sup> ∆ _x_ 1 ∆ _x_ 2 _,_ _q_ 2 <sup>_i,j_</sup> _._ The choices _β_ = 0 and _β_ = 1 correspond to an explicit or implicit discretization of the divergence correction, respectively. For the present study, we choose _β_ = 0 _._ 5. The order of the direction of the sweeps is exchanged after each time step to avoid numerical asymmetries [28]. After each directional split transport step, a heuristic volume redistribution algorithm similar to [29] is applied to enforce boundedness of the method, i.e. 0 _≤_ _αi,j_ <sup>_n_</sup> <sup>_≤_</sup> <sup>1.</sup> Approximation of the volume flux: The volume fraction field _αij_ is used to reconstruct a planar interface in each cell which is cut by the interface Σ( _t_ ), in effect approximating _χ_ with the Piecewise Linear Interface Calculation (PLIC). The reconstructed PLIC indicator _χ_ ˜ is then used to approximate the flux integral - _t_ +∆ _t_ _t_ _Af_ _χ_ ˜ _vd · n dA dτ,_ _d_ = 1 _,_ 2 _,_ where _Af_ is a face (edge) of the cell _ij_ . The geometrical interpretation of the above integral is a volume of the phase Ω <sup>_−_</sup> (indicated with _χ_ ) that passes through the face _Af_ . The calculation of this volume is performed by sweeping the face (edge) _Af_ of the cell backwards along the trajectory given by _v_ ˜ _d_, and then clipping this swept volume with _χ_ ˜. Note that the operator splitting simplifies the flux calculation because it simplifies the swept volume as a rectangular cuboid, whose intersection with _χ_ ˜ is much simpler to calculate than for the swept volume that is traced along the Lagrangian trajectories given by the full velocity _v_ . The simplification comes at the price of performing an additional PLIC interface intersection per splitting step. Flux at boundary faces: No special care is necessary to compute the flux over cell faces at an impermeable domain boundary since we assume a vanishing normal velocity leading to zero flux there. Accurate handling of the contact line motion by the geometrical VOF method, whose verification is outlined in section 2, requires accurate interface reconstruction methods near the boundary of the solution domain. Proposed adaptations of well-known reconstruction algorithms (see Section 3.2) are described in detail in Section 3.3. 3.2 Interface Reconstruction A large number of methods have been developed for the geometrical reconstruction of the interface from the volume fraction field. An overview of reconstruction algorithms can be found in [30,31]. In the present work, we consider two reconstruction algorithms, namely the classical method by Youngs [32] and the ELVIRA method due to Pilliod and Puckett [30]. We propose extensions of these two methods to reconstruct an interface close to the boundary in Section 3.3. To keep the formulas simple, assume that the mesh is equidistant in each direction with mesh sizes denoted as ∆ _x_ 1 and ∆ _x_ 2. A natural measure for the interface reconstruction error is the _L_ <sup>1</sup> -error defined as _E_ 1 := Ω _|χ_ ( _x_ ) _−_ _χ_ ˆ( _x_ ) _| dx,_ (22) where _χ_ ˆ is the characteristic function of the reconstructed domain. 7 Youngs Reconstruction Method: The idea of the Youngs method is to approximate the interface normal vector by the discrete gradient of the volume fraction field, i.e. Σ <sup>_Y_</sup> <sup>=</sup> <sup>_−_</sup> _|∇_ <sup>_<u>∇h</u>_</sup> _h_ <sup>_<u>α</u>_</sup> _α_ _n_ Σ _≈_ _n_ Σ <sup>_Y_</sup> (23) <sup>_<u>∇hα</u>_</sup> _|∇hα|_ <sup>_._</sup> Then a plane with orientation _n_ <sup>_Y_</sup> Σ <sup>is</sup> <sup>positioned</sup> <sup>such</sup> <sup>that</sup> <sup>the</sup> <sup>volume</sup> <sup>fraction</sup> <sup>in</sup> <sup>the</sup> <sup>local</sup> <sup>cell</sup> <sup>is</sup> <sup>matched</sup> (see [33] for details of the positioning algorithm). The gradient in (23) is approximated by weighted central finite differences on a 3 _×_ 3-block of cells. For an equidistant mesh, the gradient at cell ( _i, j_ ) is discretized with central finite differences as _<u>α</u>_ <u>(</u> _<u>i</u>_ <u>+ 1</u> _<u>, j</u>_ <u>)</u> _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j</u>_ <u>)</u> 2 <sup><u>1</u></sup> 2∆ _x_ 1 _<u>α</u>_ <u>(</u> _<u>i, j</u>_ <u>+ 1)</u> _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i, j −</u>_ <u>1)</u> 2 <sup><u>1</u></sup> 2∆ _x_ 2 <sup><u>1</u></sup> _<u>α</u>_ <u>(</u> _<u>i</u>_ <u>+ 1</u> _<u>, j</u>_ <u>+ 1)</u> _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j</u>_ <u>+ 1)</u> 4 2∆ _x_ 1 <sup><u>1</u></sup> _<u>α</u>_ <u>(</u> _<u>i</u>_ <u>+ 1</u> _<u>, j</u>_ <u>+ 1)</u> _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i</u>_ <u>+ 1</u> _<u>, j −</u>_ <u>1)</u> 4 2∆ _x_ 2 <sup><u>1</u></sup> _<u>α</u>_ <u>(</u> _<u>i</u>_ <u>+ 1</u> _<u>, j −</u>_ <u>1)</u> _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j −</u>_ <u>1)</u> 4 2∆ _x_ 1 <sup><u>1</u></sup> _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j</u>_ <u>+ 1)</u> _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j −</u>_ <u>1)</u> 4 2∆ _x_ 2 _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j</u>_ <u>+ 1)</u> + <sup><u>1</u></sup> 2∆ _x_ 1 4 _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i</u>_ <u>+ 1</u> _<u>, j −</u>_ <u>1)</u> + <sup><u>1</u></sup> 2∆ _x_ 2 4 _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j −</u>_ <u>1)</u> _,_ 2∆ _x_ 1 _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j −</u>_ <u>1)</u> _._ 2∆ _x_ 2 ( _∇hα_ )1 = 2 <sup><u>1</u></sup> ( _∇hα_ )2 = 2 <sup><u>1</u></sup> <u>)</u> _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i −</u>_ <u>1</u> _<u>, j</u>_ <u>)</u> + <sup><u>1</u></sup> 2∆ _x_ 1 4 _<u>−</u>_ _<u>α</u>_ <u>(</u> _<u>i, j −</u>_ <u>1)</u> + <sup><u>1</u></sup> 2∆ _x_ 2 4 (24) The Youngs Method is known to be one of the fastest methods for interface reconstruction from volume fractions fields. But it is only _first-order_ accurate with respect to the _L_ <sup>1</sup> -norm since it fails to reconstruct all planar interface exactly, see [30]. This may be explained as a consequence of the lack of regularity of the volume fraction field _α_ ( _i, j_ ), which can be understood as the _evaluation_ at the cell centers of the continuous function <u>1</u> _F_ ( _x_ ) = _|V_ 0 _|_ _V_ 0 _χ_ ( _x_ + _x_ <sup>_′_</sup> ) _dx_ <sup>_′_</sup> _,_ obtained from averaging the phase indicator function over a control volume. It is well-known [33] that the latter function is only of class _C_ <sup>1</sup> . One can, therefore, _not_ expect convergence of the finite differences scheme (24). This underlines the need for more advanced methods. (E)LVIRA Method: The idea of the _Least Squares VOF Interface Reconstruction Algorithm_ (LVIRA) method proposed by Puckett [34] is to find a planar interface reconstruction that _minimizes_ the quadratic deviations of the volume fractions in a 3 _×_ 3-block under the constraint that this interface exactly reproduces the volume fraction in the central cell. Hence, one minimizes the functional [˜ _αi_ + _k,j_ + _l_ ( _n_ ) _−_ _αi,j_ ] <sup>2</sup> _,_ (25) _F_ = _k,l_ = _−_ 1 1 where _α_ ˜ _i_ + _k,j_ + _l_ ( _n_ ) is the volume fraction in cell ( _i_ + _k, j_ + _l_ ) which is induced by a plane with orientation _n_ satisfying _α_ ˜ _ij_ ( _n_ ) = _αij_ . Due to the nonlinear constraint, the minimization problem cannot be reformulated as a linear system of equations. Since the minimization of (25) is computationally expensive compared to a direct method like the Youngs reconstruction, Pilliod and Puckett introduced the _Efficient_ _Least_ _Squares_ _VOF_ _Interface_ _Reconstruction_ _Algorithm_ (ELVIRA) [30]. The computational costs are reduced by minimizing (25) only over a _finite_ set of candidate orientations obtained in the following way: Suppose the interface can be described in the slope-intercept form _x_ 2 = _m_ 1 _x_ 1 + _b._ (26) Then the interface normal vector is either ~~�~~ 1 + _m_ <sup>2</sup> 1 <sup>_._</sup> _n_ Σ = ( _−m_ 1 _,_ 1) _/_ ~~�~~ 1 + _m_ <sup>2</sup> 1 or _n_ Σ = ( _m_ 1 _, −_ 1) _/_ The slope is approximated by central-, forward- and backward-finite-differences of column sums. The candidates 8 for the slope _mx_ in the cell ( _i, j_ ) are 1 _l_ = _−_ 1 ( _αi,j_ + _l −_ _αi−_ 1 _,j_ + _l_ ) _,_ 1 _±m_ <sup>_b_</sup> 1 with _m_ <sup>_b_</sup> 1 <sup>_b_</sup> <sup>_b_</sup> 1 <sup>=</sup> <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> ∆ _x_ 1 (27) _l_ = _−_ 1 1 ( _αi_ +1 _,j_ + _l −_ _αi−_ 1 _,j_ + _l_ ) _,_ 1 _±m_ <sup>_c_</sup> 1 with _m_ <sup>_c_</sup> 1 <sup>_c_</sup> <sup>_c_</sup> 1 <sup>=</sup> <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> 2∆ _x_ 1 1 _l_ = _−_ 1 ( _αi_ +1 _,j_ + _l −_ _αi,j_ + _l_ ) _._ 1 _±m_ <sup>_f_</sup> 1 with _m_ <sup>_f_</sup> 1 <sup>_f_</sup> <sup>_f_</sup> 1 <sup>=</sup> <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> ∆ _x_ 1 We observe that the slope should be approximated with + _m_ <sup>_b_</sup> 1 <sup>,</sup> <sup>+</sup> <sup>_mc_</sup> 1 <sup>or</sup> <sup>+</sup> <sup>_mf_</sup> 1 <sup>if</sup> <sup>the</sup> <sup>second</sup> <sup>component</sup> <sup>of</sup> <sup>_n_</sup> <sup>Σ</sup> <sup>is</sup> positive and vice versa with _−m_ <sup>_b_</sup> 1 <sup>,</sup> <sup>_−mc_</sup> 1 <sup>or</sup> <sup>_−m_</sup> 1 <sup>_f_</sup> <sup>if</sup> <sup>the</sup> <sup>second</sup> <sup>component</sup> <sup>of</sup> <sup>_n_</sup> <sup>Σ</sup> <sup>is</sup> <sup>negative.</sup> <sup>This</sup> <sup>results</sup> <sup>in</sup> <sup>6</sup> We observe that the slope should be approximated with + _m_ <sup>_b_</sup> 1 positive and vice versa with _−m_ <sup>_b_</sup> 1 <sup>,</sup> <sup>_−mc_</sup> 1 <sup>or</sup> <sup>_−m_</sup> 1 <sup>_f_</sup> <sup>if</sup> <sup>the</sup> <sup>second</sup> <sup>component</sup> <sup>of</sup> <sup>_n_</sup> <sup>Σ</sup> <sup>is</sup> <sup>negative.</sup> <sup>This</sup> <sup>results</sup> <sup>in</sup> <sup>6</sup> candidates for the normal vector obtained from column sums in the _x_ 2-direction. Obviously, it is not always possible to represent the interface as a graph over _x_ 1. Therefore, one also has to consider the case _x_ 1 = _m_ 2 _x_ 2 + _b._ (28) This gives rise to analogous approximations for _m_ <sup>_b_</sup> 2 <sup>,</sup> <sup>_mc_</sup> 2 <sup>and</sup> <sup>_m_</sup> 2 <sup>_f_</sup> <sup>.</sup> <sup>This</sup> <sup>results</sup> <sup>in</sup> <sup>12</sup> <sup>candidates</sup> <sup>for</sup> <sup>the</sup> <sup>interface</sup> normal in two dimensions. It can be shown to be sufficient to reconstruct any straight line exactly which makes the method formally second-order accurate with respect to the _L_ <sup>1</sup> -error, see [30]. 3.3 Interface Reconstruction close to the Boundary We propose an adaptation of well-known methods for interface reconstruction in Volume-of-Fluid methods, aiming for accurate reconstruction of the interface close to the domain boundary. The FORTRAN implementations of the developed interface reconstruction methods are available online in an open research data repository, see [35]. For simplicity of notation, we consider in the following the domain boundary at _x_ 2 = 0, i.e. we consider an interface cell with index ( _i, j_ = 1). 3.3.1 Boundary Youngs Method We consider a 3 _×_ 3-block of cells and aim at reconstructing the interface in the lower middle cell. We propose to discretize the gradient of the volume fraction field in two space dimensions in the following way (see Figure 4): (a) Tangential to the domain boundary central finite differences are used. (b) In normal direction to the domain boundary, weighted _forward_ finite differences are employed. From Taylor’s formula, one can show that for a _C_ <sup>3</sup> -function _f_, the first derivative _f_ <sup>_′_</sup> ( _x_ ) can be approximated with second-order accuracy according to _f_ <sup>_′_</sup> ( _x_ ) = <sup>_<u>−f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>+ 2∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>) + 4</u></sup> 2∆ <sup>_<u>f</u>_</sup> <sup><u>(</u></sup> _x_ <sup>_<u>x</u>_</sup> <sup><u>+ ∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <sup>_<u>f</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>)</u></sup> + _O_ (∆ _x_ <sup>2</sup> ) _._ This formula is applied to approximate the derivative of the volume fraction normal to the boundary. Note, however, that the volume fraction _α_ is only _C_ <sup>1</sup> (see Section 3.2). One can, therefore, _not_ expect a convergence of the orientation with that method. But we still consider it here since it is a straightforward extension of the widely used Youngs method to the boundary case. For an equidistant grid in two space dimensions, the Boundary Youngs gradient in a cell with index ( _i,_ 1) 9 is discretized as 0 _._ 144 0 _._ 000 0 _._ 000 0 _._ 784 0 _._ 002 0 _._ 000 1 _._ 000 0 _._ 500 0 _._ 000 8 _−_ <sup>3</sup> 8 4 <sup>3</sup> _−_ <sup>3</sup> 8 _,_ ( _∇hα_ )1 = <sup>_<u>α</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i</u>_</sup> <sup><u>+ 1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>1)</u></sup> 2∆ <sup>_<u>−</u>_</sup> _x_ <sup>_<u>α</u>_</sup> 1 <sup><u>(</u></sup> <sup>_<u>i −</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>1)</u></sup> ( _∇hα_ )2 = <sup>_<u>−α</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i,</u>_</sup> <sup><u>3) + 4</u></sup> 4 ∆ <sup>_<u>α</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i,</u>_</sup> _x_ <sup><u>2)</u></sup> 2 <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <sup>_<u>α</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i,</u>_</sup> <sup><u>1)</u></sup> + <sup>_<u>−α</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i</u>_</sup> <sup><u>+ 1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>3) + 4</u></sup> <sup>_<u>α</u>_</sup> 8 ∆ <sup><u>(</u></sup> <sup>_<u>i</u>_</sup> <sup><u>+ 1</u></sup> _x_ 2 <sup>_<u>,</u>_</sup> <sup><u>2)</u></sup> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <sup>_<u>α</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i</u>_</sup> <sup><u>+ 1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>1)</u></sup> (29) _._ + <sup>_<u>−α</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i −</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>3) + 4</u></sup> <sup>_<u>α</u>_</sup> 8 ∆ <sup><u>(</u></sup> <sup>_<u>i −</u>_</sup> _x_ <sup><u>1</u></sup> 2 <sup>_<u>,</u>_</sup> <sup><u>2)</u></sup> <sup>_<u>−</u>_</sup> <sup><u>3</u></sup> <sup>_<u>α</u>_</sup> <sup><u>(</u></sup> <sup>_<u>i −</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>1)</u></sup> 8 _−_ <sup>1</sup> 8 4 <sup>1</sup> _−_ <sup>1</sup> 4 8 <sup>1</sup> _−_ <sup>1</sup> 8 + <sup>4</sup> 8 <sup>4</sup> 8 + <sup>4</sup> 4 <sup>4</sup> 4 + <sup>4</sup> 8 8 4 8 <sup>3</sup> _−_ <sup>3</sup> Figure 4: _Boundary_ Youngs Reconstruction Method for an equidistant mesh. 3.3.2 Boundary ELVIRA Method In order to allow for mesh convergent results for the contact angle evolution, one needs a reconstruction method which is second-order accurate at the boundary. Therefore, we propose the following adaptation of the ELVIRA method due to Pilliod and Puckett [30]: Minimize the functional 2 _l_ =0 _Fb_ = 2 _k_ = _−_ 2 [˜ _αi_ + _k,_ 1+ _l_ ( _n_ ) _−_ _αi,_ 1] <sup>2</sup> _,_ (30) where _α_ ˜ _i_ + _k,_ 1+ _l_ ( _n_ ) is the volume fraction in cell ( _i_ + _k,_ 1 + _l_ ) which is induced by a plane with orientation _n_ satisfying _α_ ˜ _i,_ 1( _n_ ) = _αi,_ 1. Here the minimization is performed over a _larger_ stencil of 5 _×_ 3 cells. This turns out to be necessary to reconstruct every straight line at the boundary exactly. Following the idea of the _Efficient_ _Least_ _Squares_ _VOF_ _Interface_ _Reconstruction_ _Algorithm_ [30], the functional (30) is minimized over a finite set of candidate orientations obtained from finite differences of column sums (see Figure 5, where the column sums in horizontal direction are visualized in red). 0 _._ 955 0 _._ 144 0 _._ 000 0 _._ 000 0 _._ 000 1 _._ 000 0 _._ 784 0 _._ 002 0 _._ 000 0 _._ 000 1 _._ 000 1 _._ 000 0 _._ 500 0 _._ 000 0 _._ 000 Figure 5: Boundary ELVIRA method on a 5 _×_ 3-stencil in 2D. 10 The following candidate slopes are computed in the cell ( _i,_ 1) in normal direction to the boundary _m_ <sup>_c_</sup> 1 <sup>=</sup> <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> 2∆ _x_ 1 2 _l_ =0 ( _αi_ +1 _,_ 1+ _l −_ _αi−_ 1 _,_ 1+ _l_ ) _,_ _m_ <sup>_b_</sup> 1 <sup>=</sup> <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> ∆ _x_ 1 2 _l_ =0 2 ( _αi,_ 1+ _l −_ _αi−_ 1 _,_ 1+ _l_ ) _,_ _m_ <sup>_b_</sup> 1 <sup>_∗_</sup> <sup>=</sup> <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> ∆ _x_ 1 ( _αi−_ 1 _,_ 1+ _l −_ _αi−_ 2 _,_ 1+ _l_ ) _,_ _m_ <sup>_f_</sup> 1 <sup>=</sup> <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> ∆ _x_ 1 _l_ =0 2 ( _αi_ +1 _,_ 1+ _l −_ _αi,_ 1+ _l_ ) _,_ <sup>_f_</sup> 1 <sup>_∗_</sup> = <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> _l_ =0 2 _m_ <sup>_f_</sup> 1 <sup>_∗_</sup> ∆ _x_ 1 _l_ =0 ( _αi_ +2 _,_ 1+ _l −_ _αi_ +1 _,_ 1+ _l_ ) _._ The following candidate slope is computed from sums tangentially to the boundary (31) (32) _m_ <sup>_f_</sup> 2 <sup>=</sup> <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>1</u></sup> ∆ _x_ 2 2 _l_ = _−_ 2 ( _αi_ + _l,_ 2 _−_ _αi_ + _l,_ 1) _,_ <sup>_f_</sup> 2 <sup>_∗_</sup> = <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>1</u></sup> 2 _m_ <sup>_f_</sup> 2 <sup>_∗_</sup> 2∆ _x_ 2 _l_ = _−_ 2 ( _αi_ + _l,_ 3 _−_ _αi_ + _l,_ 1) _,_ <sup>_f_</sup> 2 <sup>_∗∗_</sup> = <sup><u>∆</u></sup> <sup>_<u>x</u>_</sup> <sup><u>1</u></sup> 2 _m_ <sup>_f_</sup> 2 <sup>_∗∗_</sup> ∆ _x_ 2 _l_ = _−_ 2 ( _αi_ + _l,_ 3 _−_ _αi_ + _l,_ 2) _._ This yields 16 candidates for the interface normal. We can demonstrate by numerical experiments that this is sufficient to reconstruct any straight line at the boundary up to machine precision, see [35]. 3.3.3 Numerical errors It is well-known from the literature that the standard Youngs method (24) fails to reconstruct arbitrary straight lines, while the error is typically of the order of a few degrees. As a numerical test, a straight line is moved with a fixed inclination angle on an equidistant grid with ∆ _x_ 1 = ∆ _x_ 2. This motion produces volume fractions ranging from 0 to 1 for the considered computational cell away from the boundary. The reconstructed orientation with the standard Youngs and ELVIRA methods are shown in Figure 6(a). While the ELVIRA method always delivers the correct angle, the Youngs method shows an error of about 1 <sup>_◦_</sup> _−_ 2 <sup>_◦_</sup> in the considered example. The situation is much different for the same translation test for a _boundary_ cell, see Figure 6(b). While the Boundary ELVIRA method is still able to deliver the correct orientation, the Boundary Youngs method shows a large error of up to _±_ 20 <sup>_◦_</sup> that is also highly dependent on the position of the interface. Therefore, one can only expect a very rough estimate of the contact angle from the Boundary Youngs method which cannot converge with mesh refinement. ### 4 Results To verify the advective transport of the contact angle, a spherical cap sitting at the boundary is initialized and transported using different velocity fields. To study the convergence in space and time, the time step ∆ _t_ is linked to the grid spacing ∆ _x_ by fixing the Courant number CFL = <sup>∆</sup> <sup>_t ∥v∥L∞_</sup> <sup>(Ω)</sup> _._ ∆ _x_ The influence of the choice of the Courant number is discussed below (see Figures 17 and 20). The following computational examples are carried out with (unless stated otherwise) CFL = 0 _._ 2 _._ 11 62.5 62 61.5 61 60.5 60 59.5 Youngs ELVIRA Boundary Youngs Boundary ELVIRA 0 0.2 0.4 0.6 0.8 1 Volume Fraction 80 75 70 65 60 55 50 45 40 35 0 0.2 0.4 0.6 0.8 1 Volume Fraction (b) Translation test at the boundary. (a) Translation test away from the boundary. Figure 6: Translation of a straight line with a fixed orientation angle of _θ_ = 60 <sup>_◦_</sup> . Fixing the Courant number defines a temporal grid _T_ (equidistant if _v_ does not depend on time). We report the error for both the contact line position and the contact angle in the maximum norm over all time steps, i.e. _Eθ_ <sup>_∞_</sup> _θ_ <sup>_∞_</sup> <sup>([0</sup> <sup>_, T_</sup> <sup>]) :=</sup> _ti∈T ∩_ max[0 _,T_ ] <sup>_| θ_</sup> <sup>num(</sup> <sup>_ti_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_θ_</sup> <sup>ref</sup> <sup>(</sup> <sup>_ti_</sup> <sup>)</sup> <sup>_|_</sup> and _E_ cl <sup>_∞_</sup> cl <sup>_∞_</sup> <sup>([0</sup> <sup>_, T_</sup> <sup>]) :=</sup> _ti∈T ∩_ max[0 _,T_ ] <sup>_|_</sup> <sup>(xcl</sup> <sup>_,_</sup> <sup>num(</sup> <sup>_ti_</sup> <sup>)</sup> <sup>_−_</sup> <sup>xcl</sup> <sup>_,_</sup> <sup>ref</sup> <sup>(</sup> <sup>_ti_</sup> <sup>))</sup> <sup>_/R_</sup> <sup>0</sup> <sup>_|,_</sup> as a function of ∆ _x/R_ 0. Note that the error in the contact line position is normalized by the initial radius _R_ 0. The reference values xcl _,_ ref ( _t_ ) and _θ_ ref ( _t_ ) come either from an exact or from a numerical solution of the ordinary differential equations (7) and (9). The numerical values for the contact line position xcl _,_ num and the contact angle _θ_ num are evaluated directly from the reconstructed PLIC element intersecting the domain boundary (see Figure 7). To this end, the point of intersection of the local interface with the domain boundary is computed. If this point lies within the cell, the cell is recognized as a contact line cell and the contact angle and the contact line position are computed. Note that, due to the finite reconstruction tolerance of the VOF method (in this case 10 <sup>_−_</sup> <sup>6</sup> ), irregular cases where no contact point is found may occur. An example is sketched in Figure 7(b), where the point of intersection lies slightly outside the current cell but the volume fraction of the neighbor cell is below the reconstruction tolerance so that it is not recognized as an interface cell. These irregular cases are excluded from the following error analysis. _α <_ 10 <sup>_−_</sup> <sup>6</sup> _θnum_ x _cl_ (a) Regular case. (b) Irregular case, no contact point detected. Figure 7: Contact angle and contact line position from PLIC reconstruction. Computational setup: For the subsequent examples, we choose the following common setup. The computational domain Ω= [0 _,_ 1] _×_ [0 _,_ 0 _._ 25] is covered by an equidistant Cartesian grid of _N_ _× N/_ 4 cells, where _N_ varies from 128 to 2048. A spherical cap with dimensionless radius _R_ 0 = 0 _._ 2 is initialized at the “solid boundary” _∂_ Ω _s_ = _{_ ( _x_ 1 _,_ 0) : 0 _≤_ _x_ 1 _≤_ 1 _},_ where the flow is assumed to be tangential. The center of the sphere is placed at (0 _._ 4 _, −_ 0 _._ 1) yielding an initial contact angle of _θ_ 0 = arccos - <u>0</u> _<u>.</u>_ <u>1</u> 0 _._ 2 - = <sup>_<u>π</u>_</sup> 3 <sup>_._</sup> - = <sup>_<u>π</u>_</sup> 3 12 Since we are only interested in the _local_ transport of the interface, we can allow for an artificial inflow boundary to the computational domain away from the contact line. Inflow boundaries are characterized by _v · n∂_ Ω _<_ 0 (see Figure 8). At inflow boundaries we formally apply a homogeneous Neumann boundary condition for the phase indicator function, i.e. _<u>∂χ</u>_ _∂n∂_ Ω = 0 on _∂_ Ω _in_ ( _t_ ) = _{x ∈_ _∂_ Ω: _v_ ( _t, x_ ) _· n∂_ Ω( _x_ ) _<_ 0 _}._ (33) This condition is straightforward to implement using a simple constant continuation of the volume fraction field into a layer of “ghost cells” (see, e.g., [36]). Here we only consider the case where the interface does not meet the artificial boundary such that (33) simply states that no additional volume is transported into the computational domain. In particular, the boundary condition does not affect the dynamics of the interface and (9) still holds. n _∂_ Ω v _∂_ Ω _out_ Ω v n _∂_ Ω v _∂_ n _<u>∂χ∂</u>_ Ω <sup>= 0</sup> <sup>_∂_</sup> <sup>Ω</sup> <sup>_in_</sup> _∂_ Ω _s_ n _∂_ Ω _χ_ = 1 _χ_ = 0 Figure 8: Computational setup. Three examples for the transporting velocity field are studied with the Youngs and ELVIRA methods, where these methods are combined with their newly developed boundary versions to treat the contact line advection. 4.1 Vortex-in-a-box test 1st order 2nd order 10 <sup>-3</sup> 10 <sup>-4</sup> 10 <sup>-5</sup> 10 <sup>-6</sup> Boundary ELVIRA Boundary Youngs 0.01 Δx/R0 Figure 9: Convergence with respect to the discrete _L_ <sup>1</sup> -norm for the field (34) comparing initial and final shapes. We start with a classical test for interface advection methods given by ( _−_ sin( _πx_ 1) cos( _πx_ 2) _,_ cos( _πx_ 1) sin( _πx_ 2)) _._ (34) _v_ ( _x_ 1 _, x_ 2) = _v_ 0 cos - _<u>πt</u>_ _τ_ This particular field called “vortex-in-a-box” has been routinely used to test numerical methods for interface advection; see [1], [2]. In the classical test this velocity field is used to strongly deform a sphere into a spiral. Due to the periodicity in time, it follows that the initial shape at _t_ = 0 and the final shape at _t_ = _τ_ would coincide 13 if the problem is solved exactly. This allows to study aspects of the convergence behavior of the advection method even though the solution to the advection problem with the velocity field (34) is not known. The discrete _L_ <sup>1</sup> -error _E_ 1 = - _|αij_ ( _τ_ ) _−_ _αij_ (0) _|_ ∆ _x_ 1∆ _x_ 2 (35) _ij_ is usually used to quantify the rate-of-convergence. Note, however, that this kind of test does not say anything about the intermediate _dynamics_ of the numerical solution <sup>5</sup> . Here we revisit this classical test in the presence of a moving contact line. The results for _v_ 0 = 0 _._ 1 and _τ_ = 0 _._ 2 are reported in Figure 9. The simulations are carried out with a fixed Courant number of CFL = 0 _._ 2, where the numerical time step is chosen such that _t_ = _τ_ is reached after an integer number of time steps. As expected from the case without a contact line, the Boundary Youngs method shows a first-order convergence while the Boundary ELVIRA method is nearly second-order convergent. Thanks to the kinematic evolution equation, it is also possible to study the _dynamics_ of the advection in terms of the contact line position and the contact angle. The ordinary differential equations (7) and (9) are solved numerically to obtain reference solutions xcl _,_ ref ( _t_ ) and _θ_ ref ( _t_ ). Contact Line Motion: The numerical evolution of the left (in this case the advancing) contact point reconstructed from the PLIC interface is investigated for the Boundary Youngs and Boundary ELVIRA method. It is found that both the Boundary Youngs and Boundary ELVIRA method deliver at least first-order convergent results for the motion of the contact line, see Figures 10 and 11. Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Reference 0.005 0.0045 0.004 0.0035 0.003 0.0025 0.002 0.0015 0.001 0.0005 0 Boundary Youngs 1st order fit 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 0.232 0.231 0.23 0.229 0.228 0.227 0.226 0.225 0.224 0.223 0.222 0 0.1 0.2 0.3 0.4 0.5 time Figure 10: Numerical motion of the contact line for the field (34) using the Boundary Youngs reconstruction. Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Reference 0.0045 0.004 0.0035 0.003 0.0025 0.002 0.0015 0.001 0.0005 0 Boundary ELVIRA 1st order fit 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 0.231 0.23 0.229 0.228 0.227 0.226 0.225 0.224 0.223 0.222 0 0.1 0.2 0.3 0.4 0.5 time Figure 11: Numerical motion of the contact line for the field (34) using the Boundary ELVIRA reconstruction. 5Formally, a numerical method which keeps the volume fractions fixed passes this test with zero error. 14 Contact Angle Evolution: The results for the contact angle over time are shown in Figures 12 and 13. While the numerical solution convergences to the reference solution for the Boundary ELVIRA method, the Boundary Youngs method does, as expected, _not_ deliver mesh convergent results. In fact, one observes a strong oscillation of the reconstructed contact angle with a jump discontinuity when the contact line passes from one cell to the other; see Figure 14, where the reconstructed contact angle is plotted along with the discrete cell index. This behavior might be due to the spatial structure of the reconstruction error as reported in Figure 6. Clearly, the frequency of these jumps increases with mesh refinement leading to the strongly oscillatory behavior. The error in the maximum norm may even increase with mesh refinement, see Figure 12. Therefore, the Boundary Youngs method does _not_ allow for a meaningful evaluation of the contact angle based on the local interface orientation even though it is first-order convergent with respect to the contact line motion and the discrete _L_ <sup>1</sup> -error regarding the initial and final shape comparison. Following Figures 13 and 14, the evolution of the numerical contact angle for the Boundary ELVIRA method is reasonably smooth even on coarse grids. Some small oscillations are visible which, however, disappear with mesh refinement. In fact, the method shows a _first-order_ convergence with respect to _Eθ_ <sup>_∞_</sup> <sup>([0</sup> <sup>_,_</sup> <sup>0</sup> <sup>_._</sup> <sup>5]).</sup> <sup>The</sup> <sup>maximum</sup> error on the finest mesh with ∆ _x/R_ 0 = 5 _·_ 10 <sup>_−_</sup> <sup>3</sup> is about 0 _._ 5 degrees. Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Reference 9 8 7 6 5 4 3 2 1 0 Boundary Youngs 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 70 68 66 64 62 60 58 56 54 0 0.1 0.2 0.3 0.4 0.5 time Figure 12: Numerical _θ_ evolution for the field (34) using the Boundary Youngs reconstruction. Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Reference 4.5 4 3.5 3 2.5 2 1.5 1 0.5 0 Boundary ELVIRA 1st order fit 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 61 60 59 58 57 56 55 0 0.1 0.2 0.3 0.4 0.5 time Figure 13: Numerical _θ_ evolution for the field (34) using the Boundary ELVIRA method. 4.2 Linear Velocity Field We now consider linear velocity fields of the form (11). In this case, the explicit solution (14) is available for verification. We choose the example _v_ ( _x_ 1 _, x_ 2) = ( _−_ 0 _._ 2 + 0 _._ 1 _x_ 1 _−_ 2 _x_ 2 _,_ _−_ 0 _._ 1 _x_ 2) _._ (36) 15 Boundary Youngs Boundary ELVIRA Index of Contact Line Cell Reference 70 65 60 55 50 45 40 35 30 25 0 0.1 0.2 0.3 0.4 0.5 time Figure 14: Jump in _θ_ num for the field (34) (here for ∆ _x/R_ 0 = 0 _._ 039). The time evolution is investigated up to dimensionless time _T_ = 0 _._ 4. According to (14), the exact solution for the left contact point is given by <sup>0</sup> _θ_ ref ( _t_ ) = <sup>_<u>π</u>_</sup> 1 <sup>_e_</sup> <sup>0</sup> <sup>_._</sup> <sup>1</sup> <sup>_t_</sup> <sup>_−_</sup> <sup>2(</sup> <sup>_e_</sup> <sup>0</sup> <sup>_._</sup> <sup>1</sup> <sup>_t −_</sup> <sup>1)</sup> <sup>_,_</sup> 2 _,_ 3 <sup>_e_</sup> <sup>0</sup> <sup>_._</sup> <sup>2</sup> <sup>_t_</sup> <sup>+ 10(</sup> <sup>_e_</sup> <sup>0</sup> <sup>_._</sup> <sup>2</sup> <sup>_t −_</sup> <sup>1)</sup> _x_ 1( _t_ ) = _x_ <sup>0</sup> 1 <sup>_<u>π</u>_</sup> 2 <sup>+ arctan</sup> _−_ _~~√~~_ <sup><u>1</u></sup> where _x_ <sup>0</sup> 1 <sup>= 0</sup> <sup>_._</sup> <sup>4</sup> <sup>_−_</sup> _√_ 0 _._ 2 <sup>2</sup> _−_ 0 _._ 1 <sup>2</sup> _≈_ 0 _._ 227 is the initial coordinate of the left contact point. Contact Line Motion: Like in the previous example, both methods show first-order convergence with respect to the maximum norm regarding the motion of the contact line, see Figure 15. 0.018 0.016 0.014 0.012 0.01 0.008 0.006 0.004 0.002 0 Boundary ELVIRA 1st order fit 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 (a) Boundary ELVIRA method. 0.018 0.016 0.014 0.012 0.01 0.008 0.006 0.004 0.002 0 Boundary Youngs 1st order fit 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 (b) Boundary Youngs method. Figure 15: Contact line evolution for the field (36). Contact Angle Evolution: The numerical contact angle for the Boundary Youngs method is again subject to strong oscillations ( _±_ 10 <sup>_◦_</sup> in this case) and does not convergence with mesh refinement as visible in Figure 16(a). In contrast to that, the evolution of the contact angle for the Boundary ELVIRA method is first-order convergent and smooth with jumps visible only on a coarse grid, see Figure 16(b). Influence of the Courant number: The influence of the Courant number for the convergence of the Boundary ELVIRA method (with respect to the contact angle) and the Boundary Youngs method (with respect to the contact line position) is shown in Figure 17. Apparently, there is hardly any influence in the considered example. Linear convergence is achieved for all reported Courant numbers from 0 _._ 1 to 0 _._ 9. Both numerical methods show excellent volume conservation. The relative volume error is at most of the order 10 <sup>_−_</sup> <sup>10</sup> . Thanks to the volume redistribution algorithm, the volume fraction fields are exactly bounded up to machine precision. 16 Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Δx/R0 = 0.0025 Reference Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Δx/R0 = 0.0025 Reference 105 100 95 90 85 80 75 70 65 60 55 7 6 5 4 3 2 1 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 time (b) Boundary ELVIRA method. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 time (a) Boundary Youngs method. 105 100 95 90 85 80 75 70 65 60 55 Figure 16: Numerical contact angle evolution for the field (36). CFL=0.9 CFL=0.7 CFL=0.5 CFL=0.2 CFL=0.1 CFL=0.1 CFL=0.2 CFL=0.5 CFL=0.7 CFL=0.9 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 0 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 (a) Boundary ELVIRA (for the contact angle). 0.018 0.016 0.014 0.012 0.01 0.008 0.006 0.004 0.002 0 (b) Boundary Youngs (for the contact line position). Figure 17: Convergence behavior for the field (36) and different values of CFL. 4.3 Time-dependent Linear Velocity Field As a third example, we consider the spatially linear, time-dependent velocity field of the form ( _v_ 0 + _c_ 1 _x_ 1 + _c_ 2 _x_ 2 _, −c_ 1 _x_ 2) _._ (37) _v_ ( _t, x_ 1 _, x_ 2) = cos - _<u>πt</u>_ _τ_ As mentioned before, the time-dependent coefficient cos(( _πt_ ) _/τ_ ) is a classical choice to test advection methods by comparing the phase volumes at _t_ = 0 and _t_ = _τ_ . Here we consider the full dynamics of the advection by solving the kinematic evolution equation for the field (37) explicitly. Using the ansatz (40), it is easy to show that the exact solution for the latter velocity field is given by (for _c_ 1 _̸_ = 0) _,_ (38) _x_ 1( _t_ ) = _x_ 0 _e_ <sup>_c_</sup> <sup>1</sup> <sup>_s_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> + <sup>_<u>v</u>_</sup> <sup><u>0</u></sup> _c_ 1 _,_ _θ_ ref ( _t_ ) = <sup>_<u>π</u>_</sup> 2 2 <sup>_<u>c</u>_</sup> _c_ <sup><u>2</u></sup> 1 ( _e_ <sup>2</sup> <sup>_c_</sup> <sup>1</sup> <sup>_s_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> _−_ 1) - _e_ <sup>_c_</sup> <sup>1</sup> <sup>_s_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> _−_ 1 <sup>_<u>π</u>_</sup> 2 <sup>+ arctan</sup> _−_ cot _θ_ 0 _e_ <sup>2</sup> <sup>_c_</sup> <sup>1</sup> <sup>_s_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> _±_ 2 <sup>_<u>c</u>_</sup> _c_ <sup><u>2</u></sup> 1 where _s_ ( _t_ ) is defined as _s_ ( _t_ ) = <sup>_<u>τ</u>_</sup> <sup><u>sin(</u></sup> <sup>_<u>πt/τ</u>_</sup> <sup><u>)</u></sup> _._ _π_ In particular, the evolution is periodic in _t_ with period 2 _τ_ . Note that the solution (14) is recovered in the limit _τ_ _→∞_ since _<u>τ</u>_ <u>sin(</u> _<u>πt/τ</u>_ <u>)</u> _<u>τ</u>_ <u>(</u> _<u>πt/τ</u>_ <u>)</u> lim _τ_ _→∞_ _<u>τ</u>_ <u>sin(</u> _<u>πt/τ</u>_ <u>)</u> = lim _π_ _τ_ _→∞_ _τ_ _→∞_ _<u>τ</u>_ <u>(</u> _<u>πt/τ</u>_ <u>)</u> = _t._ _π_ As a concrete example, we choose again _v_ 0 = _−_ 0 _._ 2, _c_ 1 = 0 _._ 1 and _c_ 2 = _−_ 2 together with _τ_ = 0 _._ 2. 17 Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Δx/R0 = 0.0025 Reference Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Δx/R0 = 0.0025 Reference 0.24 0.235 0.23 0.225 0.22 0.215 0.21 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 time (a) Boundary Youngs Method. 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 time (b) Boundary ELVIRA Method. 0.24 0.235 0.23 0.225 0.22 0.215 0.21 Figure 18: Contact line motion for the field (37). Contact Line Motion: The contact line motion (see Figure 18) is first-order convergent for both methods. Contact Angle Evolution: Like in the previous examples, the numerical contact angle shows strong oscillations for the Boundary Youngs method, see Figure 19(a). The evolution of the numerical contact angle for the Boundary ELVIRA method is reported in Figure 19(b). While the numerical contact angle shows some deviations from the smooth reference curve on coarse grids, the period of the exact solution is still captured correctly. Like in the examples discussed before, refinement of the mesh at a fixed Courant number of CFL = 0 _._ 2 leads to smoothening of the results and first-order convergence in the maximum norm. The results show the ability of the Boundary ELVIRA method to accurately capture the dynamics of the contact angle evolution. Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Δx/R0 = 0.0025 Reference Δx/R0 = 0.039 Δx/R0 = 0.020 Δx/R0 = 0.010 Δx/R0 = 0.005 Δx/R0 = 0.0025 Reference 75 70 65 60 55 50 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 time (a) Boundary Youngs Method. 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 time (b) Boundary ELVIRA Method. 66 64 62 60 58 56 54 52 50 Figure 19: Contact angle evolution for the field (37). Influence of the Courant number: The results for the time-dependent linear field (37) turn out to be much more sensitive to the choice of the Courant number, see Figure 20. The Boundary Youngs reconstruction fails completely for CFL greater than 0 _._ 5 due to the appearance of interface cells with _|∇hα| ≈_ 0. The convergence of the contact angle in the maximum norm for the Boundary ELVIRA method breaks down for CFL _≥_ 0 _._ 7 (see Figure 20(a)). Note, however, that a Courant number as large as 0 _._ 7 is rarely achieved in multiphase flow simulations of systems governed by capillary effects (which is typically the case for wetting problems). In these systems, the numerical time step is usually limited by a stability criterion based on the propagation of capillary waves (see, e.g., [2]) and the (advective) CFL number is small. ### 5 Summary and Conclusion The contact line advection problem is studied based on the geometrical Volume-of-Fluid method. Adaptations of the Youngs and ELVIRA methods to reconstruct the interface close to the boundary are introduced (see [35] 18 CFL=0.1 CFL=0.2 CFL=0.5 CFL=0.7 CFL=0.9 CFL=0.1 CFL=0.2 CFL=0.5 CFL=0.7 CFL=0.9 7 6 5 4 3 2 1 0 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 (a) Contact Angle. 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 Δx/R0 (b) Contact Line Position. 0.03 0.025 0.02 0.015 0.01 0.005 0 Figure 20: Convergence behavior for the field (37) with the Boundary ELVIRA method. for the implementations in FORTRAN). This allows to solve the transport equation for the interface without enforcing any boundary condition on the volume fraction field (except for inflow boundary conditions on artificial boundaries). Both the contact line position and the contact angle are evaluated based on the piecewise linear approximation of the interface (PLIC). The Boundary Youngs method allows to track the motion of the contact line with first-order accuracy. However, a meaningful evaluation of the contact angle in terms of the local interface orientation is not possible. Instead, the numerical contact angle shows strong oscillations resulting from a spatial dependence of the reconstruction error which is already present for a planar interface. The Boundary ELVIRA method delivers first-order convergent results for the dynamics of both the contact line motion and the contact angle evolution. The results are verified using an explicit and a numerical solution of the kinematic evolution equation (9). Based on the Boundary ELVIRA method to transport the contact angle, one may develop numerical methods of dynamic wetting, where the contact angle is not prescribed as a geometric boundary condition. Instead, a local force term depending on the interface orientation may be introduced. The latter approach, as discussed e.g. in [19] for an algebraic VOF method, avoids the necessity to manually “adjust” the contact angle after a transport step. The present method allows to evaluate the local interface orientation with high accuracy in geometrical Volume of Fluid methods and may, therefore, serve as a basis for future numerical methods in dynamic wetting. Acknowledgments: We kindly acknowledge the financial support by the German Research Foundation (DFG) within the Collaborative Research Centre 1194 “Interaction of Transport and Wetting Processes”, Projects B01 and Z-INF. Calculations for this research were conducted on the Lichtenberg high performance computer of the TU Darmstadt. ### References [1] W. J. Rider and D. B. Kothe. Reconstructing Volume Tracking. _Journal_ _of_ _Computational_ _Physics_, 141(2):112–152, 1998. `[doi:10.1006/jcph.1998.5906](http://dx.doi.org/10.1006/jcph.1998.5906)` . [2] G. Tryggvason, R. Scardovelli, and S. Zaleski. _Direct_ _numerical_ _simulations_ _of_ _gas-liquid_ _multiphase_ _flows_ . Cambridge University Press, 2011. `[doi:10.1017/CBO9780511975264](http://dx.doi.org/10.1017/CBO9780511975264)` . [3] D. Bonn, J. Eggers, J. Indekeu, J. Meunier, and E. Rolley. Wetting and spreading. _Reviews_ _of_ _Modern_ _Physics_, 81(2):739–805, 2009. `[doi:10.1103/RevModPhys.81.739](http://dx.doi.org/10.1103/RevModPhys.81.739)` . [4] Y. D. Shikhmurzaev. _Capillary_ _flows_ _with_ _forming_ _interfaces_ . Chapman & Hall/CRC, Boca Raton, 2008. `[doi:10.1201/9781584887492](http://dx.doi.org/10.1201/9781584887492)` . 19 [5] M. Fricke, M. K¨ohne, and D. Bothe. A kinematic evolution equation for the dynamic contact angle and some consequences. _Physica_ _D:_ _Nonlinear_ _Phenomena_, 394:26–43, 2019. `[doi:10.1016/j.physd.2019.01.008](http://dx.doi.org/10.1016/j.physd.2019.01.008)` . [6] Mathis Fricke, Matthias K¨ohne, and Dieter Bothe. On the kinematics of contact line motion. _PAMM_, 18(1):e201800451, 2018. `[doi:10.1002/pamm.201800451](http://dx.doi.org/10.1002/pamm.201800451)` . [7] P. G. de Gennes. Wetting: Statics and dynamics. _Reviews_ _of_ _Modern_ _Physics_, 57(3):827–863, 1985. `[doi:10.1103/RevModPhys.57.827](http://dx.doi.org/10.1103/RevModPhys.57.827)` . [8] C. Huh and L. E. Scriven. Hydrodynamic model of steady movement of a solid/liquid/fluid contact line. _Journal_ _of_ _Colloid_ _and_ _Interface_ _Science_, 35(1):85–101, 1971. `[doi:10.1016/0021-9797(71)90188-3](http://dx.doi.org/10.1016/0021-9797%0x2871%0x2990188-3)` . [9] Y. Sui, H. Ding, and P. D. M. Spelt. Numerical simulations of flows with moving contact lines. _Annual_ _Review_ _of_ _Fluid_ _Mechanics_, 46(1):97–119, 2014. `[doi:10.1146/annurev-fluid-010313-141338](http://dx.doi.org/10.1146/annurev-fluid-010313-141338)` . [10] C. W. Hirt and B. D. Nichols. Volume of fluid (VOF) method for the dynamics of free boundaries. _Journal_ _of_ _Computational_ _Physics_, 39(1):201–225, 1981. `[doi:10.1016/0021-9991(81)90145-5](http://dx.doi.org/10.1016/0021-9991%0x2881%0x2990145-5)` . [11] S. Afkhami and M. Bussmann. Height functions for applying contact angles to 3D VOF simulations. _International_ _Journal_ _for_ _Numerical_ _Methods_ _in_ _Fluids_, 61(8):827–847, 2009. `[doi:10.1002/fld.1974](http://dx.doi.org/10.1002/fld.1974)` . [12] S. Afkhami, S. Zaleski, and M. Bussmann. A mesh-dependent model for applying dynamic contact angles to VOF simulations. _Journal_ _of_ _Computational_ _Physics_, 228(15):5370–5389, 2009. `[doi:10.1016/j.jcp.](http://dx.doi.org/10.1016/j.jcp.2009.04.027)` `[2009.04.027](http://dx.doi.org/10.1016/j.jcp.2009.04.027)` . [13] S. Afkhami, J. Buongiorno, A. Guion, S. Popinet, Y. Saade, R. Scardovelli, and S. Zaleski. Transition in a numerical model of contact line dynamics and forced dewetting. _Journal_ _of_ _Computational_ _Physics_, 374:1061–1093, dec 2018. `[doi:10.1016/j.jcp.2018.06.078](http://dx.doi.org/10.1016/j.jcp.2018.06.078)` . [14] J.-B. Dupont and D. Legendre. Numerical simulation of static and sliding drop with contact angle hysteresis. _Journal_ _of_ _Computational_ _Physics_, 229(7):2453–2478, 2010. `[doi:10.1016/j.jcp.2009.07.034](http://dx.doi.org/10.1016/j.jcp.2009.07.034)` . [15] A. Fath and D. Bothe. Direct numerical simulations of thermocapillary migration of a droplet attached to a solid wall. _International Journal of Multiphase Flow_, 77:209–221, 2015. `[doi:10.1016/j.ijmultiphaseflow.](http://dx.doi.org/10.1016/j.ijmultiphaseflow.2015.08.018)` `[2015.08.018](http://dx.doi.org/10.1016/j.ijmultiphaseflow.2015.08.018)` . [16] C. Kunkelmann and P. Stephan. CFD Simulation of Boiling Flows Using the Volume-of-Fluid Method within OpenFOAM. _Numerical_ _Heat_ _Transfer,_ _Part_ _A:_ _Applications_, 56(8):631–646, 2009. `[doi:10.1080/](http://dx.doi.org/10.1080/10407780903423908)` `[10407780903423908](http://dx.doi.org/10.1080/10407780903423908)` . [17] A. Q. Raeini, M. J. Blunt, and B. Bijeljic. Modelling two-phase flow in porous media at the pore scale using the volume-of-fluid method. _Journal_ _of_ _Computational_ _Physics_, 231(17):5653–5668, 2012. `[doi:10.1016/j.jcp.2012.04.011](http://dx.doi.org/10.1016/j.jcp.2012.04.011)` . [18] M. Renardy, Y. Renardy, and J. Li. Numerical simulation of moving contact line problems using a volume of-fluid method. _Journal_ _of_ _Computational_ _Physics_, 171(1):243–263, 2001. `[doi:10.1006/jcph.2001.6785](http://dx.doi.org/10.1006/jcph.2001.6785)` . [19] S <sup>ˇ</sup> Sikalo, <sup>ˇ</sup> H.-D. Wilhelm, I. V. Roisman, S. Jakirli´c, and C. Tropea. Dynamic contact angle of spreading droplets: Experiments and simulations. _Physics_ _of_ _Fluids_, 17(6):62103, 2005. `[doi:10.1063/1.1928828](http://dx.doi.org/10.1063/1.1928828)` . [20] J. Pr¨uss and G. Simonett. _Moving_ _interfaces_ _and_ _quasilinear_ _parabolic_ _evolution_ _equations_, volume 105 of _Monographs_ _in_ _mathematics_ . Birkh¨auser, Switzerland, 2016. `[doi:10.1007/978-3-319-27698-4](http://dx.doi.org/10.1007/978-3-319-27698-4)` . [21] J. A. Sethian. A fast marching level set method for monotonically advancing fronts. _Proceedings_ _of_ _the_ _National_ _Academy_ _of_ _Sciences_, 93(4):1591–1595, 1996. `[doi:10.1073/pnas.93.4.1591](http://dx.doi.org/10.1073/pnas.93.4.1591)` . [22] M. Sussman, E. Fatemi, P. Smereka, and S. Osher. An improved Level Set method for incompressible two-phase flows. _Computers_ _&_ _Fluids_, 27(97):663–680, 1998. `[doi:10.1016/S0045-7930(97)00053-4](http://dx.doi.org/10.1016/S0045-7930%0x2897%0x2900053-4)` . [23] Mathis Fricke, Tomislav Mari´c, and Dieter Bothe. Contact line advection using the level set method. _PAMM_, 19(1):e201900476, 2019. `[doi:10.1002/pamm.201900476](http://dx.doi.org/10.1002/pamm.201900476)` . 20 [24] M. Fricke, T. Mari´c, and D. Bothe. Contact Line Advection using the Level Set Method: Data and C++-Implementations, 2019. `[doi:10.25534/tudatalib-58](http://dx.doi.org/10.25534/tudatalib-58)` . [25] M. Rieber. _Numerische_ _Modellierung_ _der_ _Dynamik_ _freier_ _Grenzfl¨achen_ _in_ _Zweiphasenstr¨omungen_, volume 459 of _Fortschritt-Berichte_ _VDI:_ _Reihe_ _7,_ _Str¨omungstechnik_ . VDI-Verlag, D¨usseldorf, 2004. [26] K. Eisenschmidt, M. Ertl, H. Gomaa, C. Kieffer-Roth, C. Meister, P. Rauschenberger, M. Reitzle, K. Schlot tke, and B. Weigand. Direct numerical simulations for multiphase flows: An overview of the multiphase code FS3D. _Applied_ _Mathematics_ _and_ _Computation_, 272(2):508–517, 2016. `[doi:10.1016/j.amc.2015.05.095](http://dx.doi.org/10.1016/j.amc.2015.05.095)` . [27] S. S. Deshpande, L. Anumolu, and M. F. Trujillo. Evaluating the performance of the two-phase flow solver interFoam. _Computational_ _Science_ _&_ _Discovery_, 5(014016):1–36, 2012. `[doi:10.1088/1749-4699/5/1/](http://dx.doi.org/10.1088/1749-4699/5/1/014016)` `[014016](http://dx.doi.org/10.1088/1749-4699/5/1/014016)` . [28] G. Strang. On the Construction and Comparison of Difference Schemes. _SIAM_ _Journal_ _on_ _Numerical_ _Analysis_, 5(3):506–517, sep 1968. `[doi:10.1137/0705041](http://dx.doi.org/10.1137/0705041)` . [29] D. J. E. Harvie and D. F. Fletcher. A New Volume of Fluid Advection Algorithm: The Stream Scheme. _Journal_ _of_ _Computational_ _Physics_, 162(1):1–32, 2000. `[doi:10.1006/jcph.2000.6510](http://dx.doi.org/10.1006/jcph.2000.6510)` . [30] J. E. Pilliod and E. G. Puckett. Second-order accurate volume-of-fluid algorithms for tracking material interfaces. _Journal_ _of_ _Computational_ _Physics_, 199(2):465–502, 2004. `[doi:10.1016/j.jcp.2003.12.023](http://dx.doi.org/10.1016/j.jcp.2003.12.023)` . [31] E. Aulisa, S. Manservisi, R. Scardovelli, and S. Zaleski. Interface reconstruction with least-squares fit and split advection in three-dimensional Cartesian geometry. _Journal_ _of_ _Computational_ _Physics_, 225(2):2301–2319, 2007. `[doi:10.1016/j.jcp.2007.03.015](http://dx.doi.org/10.1016/j.jcp.2007.03.015)` . [32] D. L. Youngs. An Interface Tracking Method for a 3D Eulerian Hydrodynamics Code. Technical Report AWRE/44/92/35, 1984. [33] R. Scardovelli and S. Zaleski. Analytical Relations Connecting Linear Interfaces and Volume Fractions in Rectangular Grids. _Journal_ _of_ _Computational_ _Physics_, 164(1):228–237, 2000. `[doi:10.1006/jcph.2000.](http://dx.doi.org/10.1006/jcph.2000.6567)` `[6567](http://dx.doi.org/10.1006/jcph.2000.6567)` . [34] E. G. Puckett. A volume-of-fluid interface tracking algorithm with applications to computing shock wave refraction. In H. Dwyer, editor, _Proceedings_ _of_ _the_ _Fourth_ _International_ _Symposium_ _on_ _Computational_ _Fluid_ _Dynamics_, pages 933–938. Davis, CA, 1991. [35] M. Fricke, T. Mari´c, and D. Bothe. Contact Line Advection using the geometrical Volume-of-Fluid Method: Data and FORTRAN-Implementations, 2020. `[doi:10.25534/tudatalib-147](http://dx.doi.org/10.25534/tudatalib-147)` . [36] R. J. LeVeque. _Finite_ _Volume_ _Methods_ _for_ _Hyperbolic_ _Problems_ . Cambridge University Press, Cambridge, 2002. `[doi:10.1017/CBO9780511791253](http://dx.doi.org/10.1017/CBO9780511791253)` . [37] M. Kimura. Geometry of hypersurfaces and moving hypersurfaces in R <sup>_m_</sup> - for the study of moving boundary problems. In M. Benes and E. Feireisl, editors, _Jindˇrich_ _Neˇcas_ _Center_ _for_ _Mathematical_ _Modeling,_ _Lecture_ _notes_ _Volume_ _IV,_ _Topics_ _in_ _Mathematical_ _Modeling_, pages 39–93. matfyzpress, Prague, 2008. [38] Y. Giga. _Surface_ _evolution_ _equations:_ _A_ _level_ _set_ _approach_, volume 99 of _Monographs_ _in_ _mathematics_ . Birkh¨auser, Basel, 2006. `[doi:10.1007/3-7643-7391-1](http://dx.doi.org/10.1007/3-7643-7391-1)` . 21 ### A Appendix The following definition of a _C_ <sup>1</sup> <sup>_,_</sup> <sup>2</sup> -family of moving hypersurfaces can also be found in [37], [20] and in a similar form in [38]. Definition 1. Let _I_ = ( _a, b_ ) be an open interval. A family _{_ Σ( _t_ ) _}t∈I_ with Σ( _t_ ) _⊂_ R <sup>3</sup> is called a _C_ <sup>1</sup> <sup>_,_</sup> <sup>2</sup> _-family_ _of_ _moving_ _hypersurfaces_ if the following holds. (i) Each Σ( _t_ ) is an orientable _C_ <sup>2</sup> -hypersurface in R <sup>3</sup> with unit normal field denoted as _n_ Σ( _t, ·_ ). (ii) The graph of Σ, given as _M_ := gr Σ = _t∈I_ _{t} ×_ Σ( _t_ ) _⊂_ R _×_ R <sup>3</sup> _,_ (39) is a _C_ <sup>1</sup> -hypersurface in R _×_ R <sup>3</sup> . (iii) The unit normal field is continuously differentiable on _M_, i.e. _n_ Σ _∈C_ <sup>1</sup> ( _M_ ) _._ A family _{_ Σ( _t_ ) _}t∈I_ is called a _C_ <sup>1</sup> <sup>_,_</sup> <sup>2</sup> _-family_ _of_ _moving_ _hypersurfaces_ _with_ _boundary_ _∂_ Σ( _t_ ) if the following holds. (i) Each Σ( _t_ ) is an orientable _C_ <sup>2</sup> -hypersurface in R <sup>3</sup> with interior Σ( _t_ ) and non-empty boundary _∂_ Σ( _t_ ), where the unit normal field is denoted by _n_ Σ( _t, ·_ ). (ii) The graph of Σ, i.e. gr Σ = _t∈I_ _{t} ×_ Σ( _t_ ) _⊂_ R _×_ R <sup>3</sup> _,_ is a _C_ <sup>1</sup> -hypersurface with boundary gr( _∂_ Σ) in R _×_ R <sup>3</sup> . (iii) The unit normal field is continuously differentiable on gr Σ, i.e. _n_ Σ _∈C_ <sup>1</sup> (gr Σ) _._ Being the boundary of a submanifold with boundary, the set gr( _∂_ Σ) is itself a submanifold (without boundary). Remark 1 (Construction of an analytical solution) . Equation (13) may be solved with the following Ansatz: We look for solutions of the form _θ_ ( _t_ ) = <sup>_<u>π</u>_</sup> 2 <sup>+ arctan(</sup> <sup>_f_</sup> <sup>(</sup> <sup>_t_</sup> <sup>))</sup> <sup>_._</sup> (40) It is an easy exercise to show that this yields the following ordinary differential equation for _f_ : _f_ ˙ = _±c_ 2 + 2 _c_ 1 _f._ (41) The initial condition for _θ_ translates to _f_ (0) = _−_ cot _θ_ 0 _._ (42) For _c_ 1 _̸_ = 0, the initial-value problem (41)-(42) has the unique solution _f_ ( _t_ ) = _−_ cot _θ_ 0 _e_ <sup>2</sup> <sup>_c_</sup> <sup>1</sup> <sup>_t_</sup> _± c_ 2 Hence, we obtain the desired solution (14). 22 _̸_ _<u>e</u>_ <sup>2</sup> <sup>_c_</sup> <sup>1</sup> <sup>_t_</sup> _<u>−</u>_ <u>1</u> _._ 2 _c_ 1

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.